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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
cmp dword [ecx + 0x20], 0
je 0x40e070
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x98]
push 0xa
push 4
push ecx
push eax
call fcn.0040e080
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a5e0
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x94], eax
lea eax, [ebp + 0x400]
push eax
call fcn.0040c7b0
add esp, 4
mov edi, eax
mov dword [esp + 0x10], 0xafabbea8
mov byte [esp + 0x14], 0x2c
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40dca6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e5e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40dc80
lea eax, [esp + 0x10]
mov ecx, esi
push 0x453bb4
push eax
push edi
call fcn.0040d5a0
mov dword [esp], 0x59fee4f4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja 0x40dcf9
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax]
push dword [esp + 0x10]
push eax
call fcn.0040e650
add esp, 8
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x40dcd0
mov eax, esp
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040d5a0
mov ebx, dword [str.sZdG9n__]
mov dword [esp + 0x10], 0x59bea4b8
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40dd56
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e6d0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40dd30
mov ecx, esi
push ebx
lea ebx, [esp + 0x14]
push ebx
push edi
call fcn.0040d5a0
mov dword [esp + 0x10], 0x2d302839
mov dword [esp + 0x14], 0x302d3421
mov dword [esp + 0x18], 0x26272c31
mov byte [esp + 0x1c], 0x88
mov word [esp + 0x1d], 0
mov byte [esp + 0x1f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xf
ja 0x40ddc6
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e7e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x10
jb 0x40dda0
mov dword [esp], 0x31cadadf
mov byte [esp + 4], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x40de19
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040e750
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 5
jb 0x40ddf0
mov ecx, esi
push ebx
lea eax, [esp + 4]
push eax
push edi
call fcn.0040d5a0
mov dword [esp + 0x10], 0xa6aea8a6
mov byte [esp + 0x14], 0x44
mov dword [esp + 0x15], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40de76
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e850
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40de50
mov ecx, esi
push ebp
push dword [esp + 0x98]
push ebx
push edi
call fcn.0040d7e0
mov ebx, dword [esi + 0x60]
mov dword [esp + 0x10], 0xc36dc103
mov dword [esp + 0x14], 0xc752c56a
mov dword [esp + 0x18], 0xcb64c96d
mov dword [esp + 0x1c], 0xcf23cd58
mov dword [esp + 0x20], 0xb32bb104
mov dword [esp + 0x24], 0xb713b524
mov dword [esp + 0x28], 0xbb5ab962
mov dword [esp + 0x2c], 0xbf2bbd11
mov dword [esp + 0x30], 0xa336a10c
mov dword [esp + 0x34], 0xa736a50d
mov dword [esp + 0x38], 0xab38a909
mov dword [esp + 0x3c], 0xaf41ad38
mov dword [esp + 0x40], 0x933d9136
mov dword [esp + 0x44], 0x973b9506
mov dword [esp + 0x48], 0x9b3e9975
mov dword [esp + 0x4c], 0x9f0a9d3d
mov dword [esp + 0x50], 0x83598121
mov dword [esp + 0x54], 0x87248564
mov dword [esp + 0x58], 0x8b1f8927
mov dword [esp + 0x5c], 0x8f2a8d22
mov dword [esp + 0x60], 0x73e071d1
mov dword [esp + 0x64], 0x77ab75ed
mov dword [esp + 0x68], 0x7bdf79da
mov dword [esp + 0x6c], 0x7fab7da4
mov dword [esp + 0x70], 0x63c761c4
mov dword [esp + 0x74], 0x67cf65b1
mov dword [esp + 0x78], 0x6bce69f8
mov dword [esp + 0x7c], 0x6fcd6dc3
mov dword [esp + 0x80], 0x53f751f9
mov dword [esp + 0x84], 0x57c455c6
mov dword [esp + 0x88], 0x5b8b59fd
mov dword [esp + 0x8c], 0x5f545d51
mov dword [esp + 0x90], 0x4140
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x83
ja 0x40dfe8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e950
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x84
jb 0x40dfc0
mov dword [esp], 0x51ad4f7d
mov dword [esp + 4], 0x55b953a0
mov dword [esp + 8], 0x5754
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xb
ja 0x40e039
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040e8d0
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0xc
jb 0x40e010
push 0x493e0
push ebx
push edi
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410690
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040c7c0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e072
mov bl, 1
mov eax, ebx
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret