Function at 0x405970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
mov eax, dword fs:[0x18]
mov edx, 0x4f
push ebx
mov dword [esp + 8], 0
push ebp
mov eax, dword [eax + 0x30]
lea ecx, [edx - 0x48]
push esi
push edi
push 0xc4ee
mov eax, dword [eax + 0x10]
push 0xf4d5743
mov esi, dword [eax + 0x44]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp ecx, 3
jl 0x405b9d
xor edi, edi
test ecx, ecx
jle 0x405b9d
lea ebp, [edi + 0x7f]
nop dword [eax]
mov byte [esp + 0x1a], 6
mov byte [esp + 0x1b], 0x77
mov byte [esp + 0x1c], 0x33
mov byte [esp + 0x1d], 0x77
mov byte [esp + 0x1e], 0x23
mov byte [esp + 0x1f], 0x77
mov byte [esp + 0x20], 0x63
mov byte [esp + 0x21], 0x77
mov byte [esp + 0x22], 0x19
mov byte [esp + 0x23], 0x77
mov byte [esp + 0x24], 0x33
mov byte [esp + 0x25], 0x77
mov byte [esp + 0x26], 0x23
mov byte [esp + 0x27], 0x77
mov byte [esp + 0x28], 0x7d
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x77
mov byte [esp + 0x2c], 0x18
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x77
mov byte [esp + 0x2f], 0x77
mov al, byte [esp + 0x1a]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x405a77
xor esi, esi
mov al, byte [esp + esi + 0x1a]
mov ecx, 0x77
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 3
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + esi + 0x1a], dl
inc esi
cmp esi, 0x16
jb 0x405a50
mov esi, dword [ebx + edi*4]
mov edx, 0x2f
push 0x46a4
push 0x388b576c
lea ecx, [edx - 0x2e]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x1a]
push ecx
push esi
call eax
test eax, eax
je 0x405c09
mov byte [esp + 0x31], 0x17
mov byte [esp + 0x32], 0x23
mov byte [esp + 0x33], 0x30
mov byte [esp + 0x34], 0x23
mov byte [esp + 0x35], 0x19
mov byte [esp + 0x36], 0x23
mov byte [esp + 0x37], 0x15
mov byte [esp + 0x38], 0x23
mov byte [esp + 0x39], 0x47
mov byte [esp + 0x3a], 0x23
mov byte [esp + 0x3b], 0x6b
mov byte [esp + 0x3c], 0x23
mov byte [esp + 0x3d], 0x1e
mov byte [esp + 0x3e], 0x23
mov byte [esp + 0x3f], 0x7d
mov byte [esp + 0x40], 0x23
mov byte [esp + 0x41], 0x6b
mov byte [esp + 0x42], 0x23
mov byte [esp + 0x43], 0x30
mov byte [esp + 0x44], 0x23
mov byte [esp + 0x45], 0x39
mov byte [esp + 0x46], 0x23
mov byte [esp + 0x47], 0x3e
mov byte [esp + 0x48], 0x23
mov byte [esp + 0x49], 0x23
mov byte [esp + 0x4a], 0x23
mov al, byte [esp + 0x31]
mov byte [esp + 0x4b], 0
cmp byte [esp + 0x4b], 0
jne 0x405b69
xor esi, esi
nop dword [eax + eax]
mov al, byte [esp + esi + 0x31]
movzx ecx, al
sub ecx, 0x23
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + esi + 0x31], dl
inc esi
cmp esi, 0x1a
jb 0x405b40
mov esi, dword [ebx + edi*4]
mov edx, 0x2f
push 0x46a4
push 0x388b576c
lea ecx, [edx - 0x2e]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x31]
push ecx
push esi
call eax
test eax, eax
je 0x405ba7
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4059d0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405bf8
push 0xc8
call fcn.0040b1b0
add esp, 4
test eax, eax
je 0x405bf1
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
mov dword [0x455ee4], eax
mov dword [eax + 0x10], 2
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
mov dword [0x455ee4], eax
mov dword [eax + 0x10], 2
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405c5a
push 0xc8
call fcn.0040b1b0
add esp, 4
test eax, eax
je 0x405c53
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
mov dword [0x455ee4], eax
mov dword [eax + 0x10], 1
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
mov dword [0x455ee4], eax
pop edi
pop esi
pop ebp
mov dword [eax + 0x10], 1
mov al, 1
pop ebx
add esp, 0x3c
ret