Function at 0x40b7d0
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 0x40b7fb
push edx
call fcn.0040b190
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.0040b170
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40b978
mov esi, dword [esp + 0x14]
mov edx, 0x1e
push 0x84bb
push 0x5e7b6e5a
lea ecx, [edx - 0x19]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push 0x40
call eax
test eax, eax
je 0x40b856
cmp eax, 0xc0000004
jne 0x40b967
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, eax
jmp 0x40b7e6
mov ebp, dword [esp + 0x18]
push 0x9c40
mov esi, dword [ebp]
mov dword [esp + 0x44], esi
call fcn.0040b170
add esp, 4
mov dword [esp + 0x24], eax
push 0x9c40
call fcn.0040b170
mov edx, dword [esp + 0x28]
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
test edx, edx
je 0x40b967
test ebx, ebx
je 0x40b967
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 0x40b95e
nop dword [eax]
nop word [eax + eax]
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], eax
lea edi, [ebp + 0xc]
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 dword [eax]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x40b936
cmp ecx, dword [ebp + 0xc]
lea esi, [ebp + 0xc]
je 0x40b929
inc eax
cmp eax, 0x270f
jl 0x40b910
jmp 0x40b938
cmp eax, 0xffffffff
je 0x40b938
mov ebx, dword [ebx + eax*4]
jmp 0x40b9c8
mov esi, edi
mov ecx, dword [esi]
xor eax, eax
nop dword [eax]
lea edi, [eax*4]
cmp dword [edi + edx], 0
je 0x40b980
inc eax
cmp eax, 0x270f
jl 0x40b940
lea ecx, [esp + 0x58]
call fcn.0040d250
lea ecx, [esp + 0x44]
call fcn.0040d2d0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40b978
push edi
call fcn.0040b190
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [edi + edx], ecx
cmp eax, 0xffffffff
je 0x40b955
mov esi, dword [esi]
mov edx, 0x6e
push 0x865b
push 0xc59a734f
lea ecx, [edx - 0x6d]
call fcn.004027e0
add esp, 8
push esi
push 0
push 0x41
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40bb88
test ebx, ebx
je 0x40bb88
mov ecx, dword [esp + 0x28]
mov dword [edi + ecx], ebx
lea edi, [ebp + 0xc]
mov esi, dword [edi + 4]
mov edx, 0xc
push 0x22c2
push 0xc5ad6544
lea ecx, [edx - 0xb]
call fcn.004027e0
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 0x40bb88
push 0x104
call fcn.0040b170
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
test edi, edi
je 0x40bb88
mov esi, dword [esp + 0x1c]
mov edx, 0x23
push 0x3743
push 0xc40f744e
lea ecx, [edx - 0x1e]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 0x104
push edi
push 2
push esi
call eax
test eax, eax
jne 0x40bb88
mov byte [esp + 0x4d], 0x45
mov byte [esp + 0x4e], 0x57
mov byte [esp + 0x4f], 0x3c
mov byte [esp + 0x50], 0x57
mov byte [esp + 0x51], 0x51
mov byte [esp + 0x52], 0x57
mov byte [esp + 0x53], 0x20
mov byte [esp + 0x54], 0x57
mov byte [esp + 0x55], 0x57
mov byte [esp + 0x56], 0x57
mov al, byte [esp + 0x4d]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x40baca
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x4d]
mov ecx, 0x57
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
add eax, eax
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x4d], dl
inc esi
cmp esi, 0xa
jb 0x40baa0
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 4]
mov edx, 0x1b
push 0xe247
push 0x98be576c
lea ecx, [edx - 0x1a]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x4d]
push ecx
push esi
call eax
test eax, eax
jne 0x40bb88
push 0x210
call fcn.0040b170
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x40bb88
push 0x208
mov dword [eax], 0x1040000
mov dword [eax + 4], 0
call fcn.0040b170
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x40bb88
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
call fcn.0040b480
test al, al
je 0x40bb88
mov eax, dword [esp + 0x3c]
mov edx, 0x1b
mov edi, dword [esp + 0x20]
push 0xe247
push 0x98be576c
mov esi, dword [eax]
lea ecx, [edx - 0x1a]
call fcn.004027e0
add esp, 8
push esi
push edi
call eax
test eax, eax
jne 0x40bb88
push 0x6190
push 0xfe7a7354
lea edx, [eax + 0x4d]
lea ecx, [eax + 1]
call fcn.004027e0
add esp, 8
push 0
push ebx
call eax
lea ecx, [esp + 0x58]
call fcn.0040d250
mov ecx, dword [esp + 0x34]
add ebp, 0x1c
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x40]
jae 0x40b95e
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x40b8e0