Function at 0x40b7c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
xor edx, edx
mov dword [esp + 0x38], ecx
push edi
mov dword [esp + 0x18], edx
mov eax, 0x24
mov dword [esp + 0x14], eax
test edx, edx
je 0x40b7eb
push edx
call fcn.0040b1c0
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.0040b1a0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40b948
mov esi, dword [esp + 0x14]
mov edx, 0x23
push 0x2b2
push 0x5ee86e5a
lea ecx, [edx - 0x1e]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push 0x40
call eax
test eax, eax
je 0x40b846
cmp eax, 0xc0000004
jne 0x40b937
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, eax
jmp 0x40b7d6
mov ebp, dword [esp + 0x18]
push 0x9c40
mov esi, dword [ebp]
mov dword [esp + 0x44], esi
call fcn.0040b1a0
add esp, 4
mov dword [esp + 0x24], eax
push 0x9c40
call fcn.0040b1a0
mov edi, dword [esp + 0x28]
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
test edi, edi
je 0x40b937
test ebx, ebx
je 0x40b937
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x24]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], 0
test esi, esi
je 0x40b92e
add ebp, 0xc
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], eax
xor eax, eax
nop word [eax + eax]
mov ecx, dword [edi + eax*4]
mov edx, dword [ebp]
test ecx, ecx
je 0x40b906
cmp ecx, edx
je 0x40b950
inc eax
cmp eax, 0x270f
jl 0x40b8f0
xor eax, eax
nop dword [eax + eax]
lea esi, [eax*4]
cmp dword [esi + edi], 0
je 0x40b95a
inc eax
cmp eax, 0x270f
jl 0x40b910
lea ecx, [esp + 0x58]
call fcn.0040d230
lea ecx, [esp + 0x44]
call fcn.0040d2b0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40b948
push edi
call fcn.0040b1c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp eax, 0xffffffff
je 0x40b906
mov ebx, dword [ebx + eax*4]
jmp 0x40b9a0
mov dword [esi + edi], edx
mov edi, dword [ebp]
cmp eax, 0xffffffff
je 0x40b925
mov edx, 0x1b
push 0x477b
push 0xd6aa734f
lea ecx, [edx - 0x1a]
call fcn.00402800
add esp, 8
push edi
push 0
push 0x41
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40bb69
test ebx, ebx
je 0x40bb69
mov ecx, dword [esp + 0x28]
mov dword [esi + ecx], ebx
mov esi, dword [ebp + 4]
mov edx, 0x2a
push 0x2ed0
push 0xc4ba6544
lea ecx, [edx - 0x29]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x1c]
push 0
push 0
push 0x80000000
push ecx
push 0xffffffffffffffff
push esi
push ebx
call eax
test eax, eax
je 0x40bb69
push 0x104
call fcn.0040b1a0
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
test edi, edi
je 0x40bb69
mov esi, dword [esp + 0x1c]
mov edx, 0x5e
push 0x339f
push 0xf447744e
lea ecx, [edx - 0x59]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 0x104
push edi
push 2
push esi
call eax
test eax, eax
jne 0x40bb69
mov byte [esp + 0x4d], 0xb
mov byte [esp + 0x4e], 0x4e
mov byte [esp + 0x4f], 0x29
mov byte [esp + 0x50], 0x4e
mov byte [esp + 0x51], 0x62
mov byte [esp + 0x52], 0x4e
mov byte [esp + 0x53], 0x5c
mov byte [esp + 0x54], 0x4e
mov byte [esp + 0x55], 0x4e
mov byte [esp + 0x56], 0x4e
mov al, byte [esp + 0x4d]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x40baab
xor esi, esi
lea edi, [esi + 0x7f]
nop word [eax + eax]
mov al, byte [esp + esi + 0x4d]
mov ecx, 0x4e
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 2
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x4d], dl
inc esi
cmp esi, 0xa
jb 0x40ba80
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 4]
mov edx, 0x77
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x4d]
push ecx
push esi
call eax
test eax, eax
jne 0x40bb69
push 0x210
call fcn.0040b1a0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x40bb69
push 0x208
mov dword [eax], 0x1040000
mov dword [eax + 4], 0
call fcn.0040b1a0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x40bb69
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
call fcn.0040b480
test al, al
je 0x40bb69
mov eax, dword [esp + 0x3c]
mov edx, 0x77
mov edi, dword [esp + 0x20]
push 0x8f84
push 0x9c3e576c
mov esi, dword [eax]
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
push esi
push edi
call eax
test eax, eax
jne 0x40bb69
push 0x6890
push 0x75fc7354
lea edx, [eax + 0x40]
lea ecx, [eax + 1]
call fcn.00402800
add esp, 8
push 0
push ebx
call eax
lea ecx, [esp + 0x58]
call fcn.0040d230
mov ecx, dword [esp + 0x34]
add ebp, 0x1c
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x40]
jae 0x40b92e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x40b8c0