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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
cmp dword [ecx + 0x20], 0
je 0x40dc4e
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x9c]
push 0xa
push 4
push ecx
push eax
call fcn.0040dc60
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a2a0
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x98], eax
lea eax, [ebp + 0x400]
push eax
call fcn.0040c410
add esp, 4
mov edi, eax
mov dword [esp + 0x10], 0xcdc5b2cc
mov byte [esp + 0x14], 0x28
mov dword [esp + 0x15], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40d876
nop
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.0040e190
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40d850
lea eax, [esp + 0x10]
mov ecx, esi
push 0x455e30
push eax
push edi
call fcn.0040d1d0
mov dword [esp + 0x10], 0x19b6acac
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x40d8d6
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.0040e210
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x40d8b0
mov ecx, esi
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040d1d0
mov ebx, dword [str.LPnhqo__kvszcofluoab]
mov dword [esp + 0x10], 0x690e0408
mov word [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x40d936
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.0040e2a0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x40d910
mov ecx, esi
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040d1d0
mov dword [esp + 0x10], 0x2d302839
mov dword [esp + 0x14], 0x302d3421
mov dword [esp + 0x18], 0x26272c31
mov byte [esp + 0x1c], 0x88
mov dword [esp + 0x1d], 0
mov byte [esp + 0x21], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x11
ja 0x40d9a6
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e3b0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x12
jb 0x40d980
mov dword [esp + 0xc], 0x23b6c2c1
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x40d9e6
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
push dword [esp]
push eax
call fcn.0040e330
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x40d9c0
lea eax, [esp + 0xc]
mov ecx, esi
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.0040d1d0
mov dword [esp + 0x10], 0xeee6e8ee
mov byte [esp + 0x14], 0x6c
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40da46
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e420
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40da20
mov ecx, esi
push ebp
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d410
mov ebx, dword [esi + 0x60]
mov dword [esp + 0x10], 0xe97beba1
mov dword [esp + 0x14], 0xed7aef7a
mov dword [esp + 0x18], 0xd140d347
mov dword [esp + 0x1c], 0xd585d744
mov dword [esp + 0x20], 0xd945db60
mov dword [esp + 0x24], 0xdd75df48
mov dword [esp + 0x28], 0xc1a2c382
mov dword [esp + 0x2c], 0xc55dc753
mov dword [esp + 0x30], 0xc95ecb68
mov dword [esp + 0x34], 0xcd5ecf67
mov dword [esp + 0x38], 0x31a4336b
mov dword [esp + 0x3c], 0x356737a4
mov dword [esp + 0x40], 0x39ab3b9e
mov dword [esp + 0x44], 0x3dad3fae
mov dword [esp + 0x48], 0x2186236f
mov dword [esp + 0x4c], 0x25b22787
mov dword [esp + 0x50], 0x29772b83
mov dword [esp + 0x54], 0x2d882f48
mov dword [esp + 0x58], 0x118913bd
mov dword [esp + 0x5c], 0x15b21782
mov dword [esp + 0x60], 0x198c1bb3
mov dword [esp + 0x64], 0x1d5d1f87
mov dword [esp + 0x68], 0x1a903ba
mov dword [esp + 0x6c], 0x55d0758
mov dword [esp + 0x70], 0x9a10ba0
mov dword [esp + 0x74], 0xda10f53
mov dword [esp + 0x78], 0x71d6739c
mov dword [esp + 0x7c], 0x75d377e1
mov dword [esp + 0x80], 0x79d17bdb
mov dword [esp + 0x84], 0x7de87fee
mov dword [esp + 0x88], 0x613563d7
mov dword [esp + 0x8c], 0x65686713
mov word [esp + 0x90], 0x6b64
mov byte [esp + 0x96], 0
mov dword [esp + 0x92], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x86
ja 0x40dbc8
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.0040e500
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x87
jb 0x40dba0
mov dword [esp], 0x8f2f89fb
mov dword [esp + 4], 0x833b8d3c
mov dword [esp + 8], 0x8180
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xb
ja 0x40dc19
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040e490
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 0x40dbf0
mov eax, esp
push 0x493e0
push ebx
push edi
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00410760
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040c420
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40dc50
mov bl, 1
mov eax, ebx
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret