Function at 0x40b640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
xor edx, edx
mov dword [esp + 0x30], ecx
push edi
mov dword [esp + 0x14], edx
mov eax, 0x24
mov dword [esp + 0x10], eax
test edx, edx
je 0x40b66b
push edx
call fcn.0040b010
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call fcn.0040aff0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x40b7e8
mov esi, dword [esp + 0x10]
mov edx, 0x19
push 0x4b9e
push 0x57666e5a
lea ecx, [edx - 0x14]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
push 0x40
call eax
test eax, eax
je 0x40b6c6
cmp eax, 0xc0000004
jne 0x40b7d7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, eax
jmp 0x40b656
mov ebp, dword [esp + 0x14]
push 0x9c40
mov esi, dword [ebp]
mov dword [esp + 0x3c], esi
call fcn.0040aff0
add esp, 4
mov dword [esp + 0x20], eax
push 0x9c40
call fcn.0040aff0
mov edx, dword [esp + 0x24]
add esp, 4
mov ebx, eax
mov dword [esp + 0x24], ebx
test edx, edx
je 0x40b7d7
test ebx, ebx
je 0x40b7d7
mov dword [esp + 0x28], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
test esi, esi
je 0x40b7ce
nop dword [eax]
nop word [eax + eax]
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], eax
lea edi, [ebp + 0xc]
lea eax, [esp + 0x2c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x5c], eax
xor eax, eax
nop dword [eax]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x40b7a6
cmp ecx, dword [ebp + 0xc]
lea esi, [ebp + 0xc]
je 0x40b799
inc eax
cmp eax, 0x270f
jl 0x40b780
jmp 0x40b7a8
cmp eax, 0xffffffff
je 0x40b7a8
mov ebx, dword [ebx + eax*4]
jmp 0x40b838
mov esi, edi
mov ecx, dword [esi]
xor eax, eax
nop dword [eax]
lea edi, [eax*4]
cmp dword [edi + edx], 0
je 0x40b7f0
inc eax
cmp eax, 0x270f
jl 0x40b7b0
lea ecx, [esp + 0x50]
call fcn.0040d0b0
lea ecx, [esp + 0x3c]
call fcn.0040d130
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40b7e8
push edi
call fcn.0040b010
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov dword [edi + edx], ecx
cmp eax, 0xffffffff
je 0x40b7c5
mov esi, dword [esi]
mov edx, 0x3d
push 0x62fa
push 0xe723734f
lea ecx, [edx - 0x3c]
call fcn.004027e0
add esp, 8
push esi
push 0
push 0x41
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40b9ee
test ebx, ebx
je 0x40b9ee
mov ecx, dword [esp + 0x24]
mov dword [edi + ecx], ebx
lea edi, [ebp + 0xc]
mov esi, dword [edi + 4]
mov edx, 0x18
push 0xbc88
push 0xd7ae6544
lea ecx, [edx - 0x17]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x18]
push 0
push 0
push 0x80000000
push ecx
push 0xffffffffffffffff
push esi
push ebx
call eax
test eax, eax
je 0x40b9ee
push 0x104
call fcn.0040aff0
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
test edi, edi
je 0x40b9ee
mov esi, dword [esp + 0x18]
mov edx, 0xb
push 0x7fed
push 0xbd27744e
lea ecx, [edx - 6]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 0x104
push edi
push 2
push esi
call eax
test eax, eax
jne 0x40b9ee
mov byte [esp + 0x45], 0x47
mov byte [esp + 0x46], 0x23
mov byte [esp + 0x47], 0x59
mov byte [esp + 0x48], 0x23
mov byte [esp + 0x49], 0x2f
mov byte [esp + 0x4a], 0x23
mov byte [esp + 0x4b], 0x12
mov byte [esp + 0x4c], 0x23
mov byte [esp + 0x4d], 0x23
mov byte [esp + 0x4e], 0x23
mov al, byte [esp + 0x45]
mov byte [esp + 0x4f], 0
cmp byte [esp + 0x4f], 0
jne 0x40b930
xor ecx, ecx
lea esi, [ecx + 0x7f]
nop dword [eax]
mov al, byte [esp + ecx + 0x45]
movzx eax, al
sub eax, 0x23
lea eax, [eax + eax*8]
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + ecx + 0x45], dl
inc ecx
cmp ecx, 0xa
jb 0x40b910
mov esi, dword [edi + 4]
mov edx, 0x5b
push 0x4aa0
push 0xa3a576c
lea ecx, [edx - 0x5a]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x45]
push ecx
push esi
call eax
test eax, eax
jne 0x40b9ee
push 0x210
call fcn.0040aff0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x40b9ee
push 0x208
mov dword [eax], 0x1040000
mov dword [eax + 4], 0
call fcn.0040aff0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40b9ee
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
call fcn.0040b300
test al, al
je 0x40b9ee
mov eax, dword [esp + 0x34]
mov edx, 0x5b
mov edi, dword [esp + 0x1c]
push 0x4aa0
push 0xa3a576c
mov esi, dword [eax]
lea ecx, [edx - 0x5a]
call fcn.004027e0
add esp, 8
push esi
push edi
call eax
test eax, eax
jne 0x40b9ee
push 0x4499
push 0xffb57354
lea edx, [eax + 5]
lea ecx, [eax + 1]
call fcn.004027e0
add esp, 8
push 0
push ebx
call eax
lea ecx, [esp + 0x50]
call fcn.0040d0b0
mov ecx, dword [esp + 0x30]
add ebp, 0x1c
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x38]
jae 0x40b7ce
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x40b750