Function at 0x40b800
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 0x40b82b
push edx
call fcn.0040b1d0
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.0040b1b0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40b988
mov esi, dword [esp + 0x14]
mov edx, 0x12
push 0x43fb
push 0x357e6e5a
lea ecx, [edx - 0xd]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push 0x40
call eax
test eax, eax
je 0x40b886
cmp eax, 0xc0000004
jne 0x40b977
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, eax
jmp 0x40b816
mov ebp, dword [esp + 0x18]
push 0x9c40
mov esi, dword [ebp]
mov dword [esp + 0x44], esi
call fcn.0040b1b0
add esp, 4
mov dword [esp + 0x24], eax
push 0x9c40
call fcn.0040b1b0
mov edi, dword [esp + 0x28]
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
test edi, edi
je 0x40b977
test ebx, ebx
je 0x40b977
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 0x40b96e
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 0x40b946
cmp ecx, edx
je 0x40b990
inc eax
cmp eax, 0x270f
jl 0x40b930
xor eax, eax
nop dword [eax + eax]
lea esi, [eax*4]
cmp dword [esi + edi], 0
je 0x40b99a
inc eax
cmp eax, 0x270f
jl 0x40b950
lea ecx, [esp + 0x58]
call fcn.0040d270
lea ecx, [esp + 0x44]
call fcn.0040d2f0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40b988
push edi
call fcn.0040b1d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp eax, 0xffffffff
je 0x40b946
mov ebx, dword [ebx + eax*4]
jmp 0x40b9e0
mov dword [esi + edi], edx
mov edi, dword [ebp]
cmp eax, 0xffffffff
je 0x40b965
mov edx, 0x77
push 0x6e56
push 0xa422734f
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
push edi
push 0
push 0x41
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40bbaa
test ebx, ebx
je 0x40bbaa
mov ecx, dword [esp + 0x28]
mov dword [esi + ecx], ebx
mov esi, dword [ebp + 4]
mov edx, 0x83
push 0xac42
push 0x139e6544
mov ecx, 1
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 0x40bbaa
push 0x104
call fcn.0040b1b0
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
test edi, edi
je 0x40bbaa
mov esi, dword [esp + 0x1c]
mov edx, 0x86
push 0x6f2d
push 0xfe0c744e
mov ecx, 5
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 0x40bbaa
mov byte [esp + 0x4d], 0xd
mov byte [esp + 0x4e], 0x2d
mov byte [esp + 0x4f], 0x7c
mov byte [esp + 0x50], 0x2d
mov byte [esp + 0x51], 0x77
mov byte [esp + 0x52], 0x2d
mov byte [esp + 0x53], 0x2e
mov byte [esp + 0x54], 0x2d
mov byte [esp + 0x55], 0x2d
mov byte [esp + 0x56], 0x2d
mov al, byte [esp + 0x4d]
mov byte [esp + 0x57], 0
cmp byte [esp + 0x57], 0
jne 0x40bae8
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x4d]
mov ecx, 0x2d
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1a
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x4d], dl
inc esi
cmp esi, 0xa
jb 0x40bac0
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 4]
mov edx, 0x2f
push 0x46a4
push 0x388b576c
lea ecx, [edx - 0x2e]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x4d]
push ecx
push esi
call eax
test eax, eax
jne 0x40bbaa
push 0x210
call fcn.0040b1b0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x40bbaa
push 0x208
mov dword [eax], 0x1040000
mov dword [eax + 4], 0
call fcn.0040b1b0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x40bbaa
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
call fcn.0040b4c0
test al, al
je 0x40bbaa
mov eax, dword [esp + 0x3c]
mov edx, 0x2f
mov edi, dword [esp + 0x20]
push 0x46a4
push 0x388b576c
mov esi, dword [eax]
lea ecx, [edx - 0x2e]
call fcn.00402800
add esp, 8
push esi
push edi
call eax
test eax, eax
jne 0x40bbaa
push 0x21fb
push 0xe7bd7354
lea edx, [eax + 0x79]
lea ecx, [eax + 1]
call fcn.00402800
add esp, 8
push 0
push ebx
call eax
lea ecx, [esp + 0x58]
call fcn.0040d270
mov ecx, dword [esp + 0x34]
add ebp, 0x1c
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x40]
jae 0x40b96e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x40b900