Function at 0x40bba0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2fc
push ebx
push ebp
push esi
push edi
push 0x42
lea eax, [esp + 0x98]
mov dword [esp + 0x88], ecx
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.0040d360
add esp, 0xc
mov edx, 0x1f
push 0x3cb2
push 0x9e0c6e52
lea ecx, [edx - 0x13]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x94]
push ecx
push 0
lea ecx, [esp + 0x18]
push ecx
call eax
test eax, eax
jne 0x40c253
mov esi, dword [esp + 0x10]
lea ecx, [eax + 0xc]
push 0xc2a1
push 0xb0857352
mov edx, 0x81
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x84]
push 0
push 0
push 0
push 0
push ecx
push 1
push esi
call eax
test eax, eax
jne 0x40c253
mov esi, dword [esp + 0x10]
lea edx, [eax + 0x58]
push 0xf79e
push 0x1da47452
lea ecx, [eax + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x7c]
push ecx
push 0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
push ecx
push esi
call eax
cmp eax, 0xea
jne 0x40c230
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40c230
xor ecx, ecx
mov edx, 0x29c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b1a0
mov esi, dword [esp + 0x14]
mov edi, eax
add esp, 4
mov dword [esp + 0x78], edi
mov ecx, 0xc
test edi, edi
je 0x40c239
mov eax, dword [esp + 0x18]
lea edx, [ecx + 0x4c]
push 0xf79e
push 0x1da47452
mov dword [esp + 0x28], eax
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x7c]
push ecx
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
push ecx
push esi
call eax
test eax, eax
jne 0x40c260
cmp dword [esp + 0x18], eax
je 0x40c260
mov eax, dword fs:[0x18]
mov ebx, 0x7f
mov eax, dword [eax + 0x20]
mov byte [esp + 0x59], 0x70
mov byte [esp + 0x5a], 0x45
mov byte [esp + 0x5b], 0x69
mov byte [esp + 0x5c], 0x45
mov byte [esp + 0x5d], 1
mov byte [esp + 0x5e], 0x45
mov byte [esp + 0x5f], 0x4c
mov byte [esp + 0x60], 0x45
mov byte [esp + 0x61], 0x73
mov byte [esp + 0x62], 0x45
mov byte [esp + 0x63], 0x1b
mov byte [esp + 0x64], 0x45
mov byte [esp + 0x65], 0x70
mov byte [esp + 0x66], 0x45
mov byte [esp + 0x67], 0x1b
mov byte [esp + 0x68], 0x45
mov byte [esp + 0x69], 0x20
mov byte [esp + 0x6a], 0x45
mov byte [esp + 0x6b], 0x70
mov byte [esp + 0x6c], 0x45
mov byte [esp + 0x6d], 0x69
mov byte [esp + 0x6e], 0x45
mov byte [esp + 0x6f], 0x70
mov byte [esp + 0x70], 0x45
mov byte [esp + 0x71], 0x45
mov byte [esp + 0x72], 0x45
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x59]
mov byte [esp + 0x73], 0
cmp byte [esp + 0x73], 0
jne 0x40bdd4
xor esi, esi
nop dword [eax]
mov al, byte [esp + esi + 0x59]
mov ecx, 0x45
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x27
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + esi + 0x59], dl
inc esi
cmp esi, 0x1a
jb 0x40bdb0
push 0x22c
lea eax, [esp + 0xe0]
push 0
push eax
call fcn.0040d360
add esp, 0xc
mov edx, 0x6a
push 0xe537
push 0x2eb67443
lea ecx, [edx - 0x69]
call fcn.00402800
add esp, 8
push 0
push 2
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x40be19
xor ecx, ecx
jmp 0x40bedf
mov edx, 0x70
mov dword [esp + 0xdc], 0x22c
push 0x862b
push 0xb7e05750
lea ecx, [edx - 0x6f]
call fcn.00402800
add esp, 8
lea edx, [esp + 0xdc]
push edx
push esi
call eax
mov ecx, 1
test eax, eax
jne 0x40be70
push 0xace1
push 0x4fe26543
lea edx, [ecx + 0x6d]
call fcn.00402800
add esp, 8
push esi
call eax
xor ecx, ecx
jmp 0x40bedf
push 0x8f84
push 0x9c3e576c
mov edx, 0x77
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x5d]
push ecx
call eax
mov ecx, 1
test eax, eax
je 0x40bebe
push 0xee8e
push 0xd4cc5750
lea edx, [ecx + 0x12]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0xdc]
push ecx
jmp 0x40be46
push 0xace1
push 0x4fe26543
mov edx, 0x6e
call fcn.00402800
add esp, 8
push esi
call eax
mov ecx, dword [esp + 0xe4]
xor eax, eax
mov dword [esp + 0x14], ecx
xor ebp, ebp
mov dword [esp + 0x74], ebp
cmp dword [esp + 0x20], eax
jbe 0x40c1c0
mov edx, dword [esp + 0x1c]
mov ebx, edi
mov dword [esp + 0x80], ebx
mov ebx, dword [ebx]
cmp ebx, edx
je 0x40c224
cmp ebx, ecx
je 0x40c224
cmp eax, ebx
je 0x40c19d
mov dword [esp + 0x24], ebx
mov esi, 0x1e
xor edi, edi
test edi, edi
je 0x40bf34
push edi
call fcn.0040b1c0
add esp, 4
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b1a0
mov edi, eax
add esp, 4
test edi, edi
je 0x40c191
xor eax, eax
mov dword [esp + 0x88], ebx
push 0x2b2
push 0x5ee86e5a
mov word [esp + 0x94], ax
lea edx, [eax + 0x23]
mov word [esp + 0x96], si
lea ecx, [eax + 5]
mov dword [esp + 0x98], edi
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x88]
push 0
push 0xc
push ecx
push 0x58
call eax
test eax, eax
je 0x40bfcd
cmp eax, 0xc0000004
jne 0x40bfbf
cmp esi, 0x104
jae 0x40c191
add esi, esi
jmp 0x40bf27
push edi
call fcn.0040b1c0
add esp, 4
jmp 0x40c191
mov byte [esp + 0x2b], 0x72
mov byte [esp + 0x2c], 0x5c
mov byte [esp + 0x2d], 0x44
mov byte [esp + 0x2e], 0x5c
mov byte [esp + 0x2f], 0x1a
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x29
mov byte [esp + 0x32], 0x5c
mov byte [esp + 0x33], 0xb
mov byte [esp + 0x34], 0x5c
mov byte [esp + 0x35], 0x2c
mov byte [esp + 0x36], 0x5c
mov byte [esp + 0x37], 0x44
mov byte [esp + 0x38], 0x5c
mov byte [esp + 0x39], 0x38
mov byte [esp + 0x3a], 0x5c
mov byte [esp + 0x3b], 0x72
mov byte [esp + 0x3c], 0x5c
mov byte [esp + 0x3d], 0x5c
mov byte [esp + 0x3e], 0x5c
mov al, byte [esp + 0x2b]
mov byte [esp + 0x3f], 0
cmp byte [esp + 0x3f], 0
jne 0x40c078
xor esi, esi
lea ebp, [esi + 0x7f]
nop word [eax + eax]
mov al, byte [esp + esi + 0x2b]
mov ecx, 0x5c
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x2a
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + esi + 0x2b], dl
inc esi
cmp esi, 0x14
jb 0x40c050
mov ebp, dword [esp + 0x74]
mov edx, 0x54
push 0xc1e2
push 0xc9b45753
lea ecx, [edx - 0x4a]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x2b]
push ecx
push edi
call eax
mov byte [esp + 0x40], 0x45
test eax, eax
mov byte [esp + 0x41], 0x13
mov byte [esp + 0x42], 0x78
setne bl
mov byte [esp + 0x43], 0x13
mov byte [esp + 0x44], 0x33
mov byte [esp + 0x45], 0x13
mov byte [esp + 0x46], 9
mov byte [esp + 0x47], 0x13
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], 0x13
mov byte [esp + 0x4a], 0x45
mov byte [esp + 0x4b], 0x13
mov byte [esp + 0x4c], 0x56
mov byte [esp + 0x4d], 0x13
mov byte [esp + 0x4e], 0x27
mov byte [esp + 0x4f], 0x13
mov byte [esp + 0x50], 0x55
mov byte [esp + 0x51], 0x13
mov byte [esp + 0x52], 0x1b
mov byte [esp + 0x53], 0x13
mov byte [esp + 0x54], 0x55
mov byte [esp + 0x55], 0x13
mov byte [esp + 0x56], 0x13
mov byte [esp + 0x57], 0x13
mov al, byte [esp + 0x40]
mov byte [esp + 0x58], 0
cmp byte [esp + 0x58], 0
jne 0x40c158
xor esi, esi
lea ebp, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x40]
movzx ecx, al
sub ecx, 0x13
mov eax, ecx
shl eax, 4
sub eax, ecx
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + esi + 0x40], dl
inc esi
cmp esi, 0x18
jb 0x40c130
mov ebp, dword [esp + 0x74]
mov edx, 0x54
push 0xc1e2
push 0xc9b45753
lea ecx, [edx - 0x4a]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x40]
push ecx
push edi
call eax
push edi
mov esi, eax
call fcn.0040b1c0
add esp, 4
test esi, esi
jne 0x40c1c0
test bl, bl
jne 0x40c224
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x80]
inc ebp
add ebx, 0x29c
mov dword [esp + 0x74], ebp
mov dword [esp + 0x80], ebx
cmp ebp, dword [esp + 0x20]
jb 0x40bf02
mov esi, dword [esp + 0x10]
mov edx, 0x3a
push 0x4e81
push 0xe79e6e52
lea ecx, [edx - 0x2e]
call fcn.00402800
add esp, 8
push 0
push 1
push esi
call eax
push dword [esp + 0x78]
mov edi, eax
call fcn.0040b1c0
mov esi, dword [esp + 0x14]
add esp, 4
mov edx, 0x72
push 0xbf44
push 0xf84c6e52
lea ecx, [edx - 0x66]
call fcn.00402800
add esp, 8
push esi
call eax
test edi, edi
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2fc
ret
push dword [esp + 0x78]
call fcn.0040b1c0
add esp, 4
mov esi, dword [esp + 0x10]
mov ecx, 0xc
push 0xbf44
push 0xf84c6e52
mov edx, 0x72
call fcn.00402800
add esp, 8
push esi
call eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2fc
ret
push edi
jmp 0x40c228