Function at 0x40dbd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc0
mov eax, dword [0x43d504]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xcc]
push esi
mov esi, dword [esp + 0xd8]
cmp dword [esi + 0x14], 0x24
push edi
mov edi, dword [esp + 0xd8]
mov dword [esp + 0xc], eax
jae 0x40dc21
xor ebx, ebx
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
jmp 0x40e049
mov eax, dword [esp + 0xe0]
push eax
call fcn.0040c660
mov ecx, 0x10
add esp, 4
cmp dword [esi + 0x18], ecx
jb 0x40dc40
mov esi, dword [esi + 4]
jmp 0x40dc43
add esi, 4
cmp dword [edi + 0x18], ecx
jb 0x40dc4d
mov edx, dword [edi + 4]
jmp 0x40dc50
lea edx, [edi + 4]
cmp dword [ebx + 0x18], ecx
jb 0x40dc5a
mov ecx, dword [ebx + 4]
jmp 0x40dc5d
lea ecx, [ebx + 4]
push ebp
mov ebp, dword [esp + 0xe8]
push ebp
push esi
push edx
push ecx
lea ecx, [esp + 0x5c]
push ecx
call eax
add esp, 0x14
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00401550
mov esi, 0x10
cmp dword [esp + 0x64], esi
jb 0x40dcaa
mov edx, dword [esp + 0x50]
push edx
call fcn.004192c0
add esp, 4
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x40dcb8
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xbc]
push ecx
push edx
push eax
lea eax, [esp + 0xac]
push eax
call fcn.004032ce
lea ecx, [esp + 0xb0]
push ecx
call fcn.0040230e
push ebx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.004013ba
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401550
cmp dword [esp + 0x64], esi
jb 0x40dd16
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004192c0
add esp, 4
mov eax, dword [esp + 0xe4]
mov edi, eax
and edi, 0x80000001
jns 0x40dd2c
dec edi
or edi, 0xfffffffe
inc edi
cmp eax, 0xa
jge 0x40ddae
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jbe 0x40dd8c
jmp 0x40dd50
mov edx, esi
and edx, 1
cmp edx, edi
jne 0x40dd85
cmp esi, eax
jbe 0x40dd62
call fcn.00419676
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x40dd71
lea eax, [esp + 0x34]
movzx eax, byte [eax + esi]
push eax
push 1
lea ecx, [esp + 0x54]
call fcn.00404889
mov eax, dword [esp + 0x44]
add esi, 1
cmp esi, eax
jb 0x40dd50
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040491f
cmp dword [esp + 0x64], 0x10
jb 0x40ddae
mov edx, dword [esp + 0x50]
push edx
call fcn.004192c0
add esp, 4
mov edi, ebp
and edi, 0x80000001
jns 0x40ddbd
dec edi
or edi, 0xfffffffe
inc edi
cmp ebp, 0xa
jge 0x40de8d
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jbe 0x40de1c
mov ecx, esi
and ecx, 1
cmp ecx, edi
jne 0x40de15
cmp esi, eax
jbe 0x40ddf2
call fcn.00419676
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x40de01
lea eax, [esp + 0x34]
movzx edx, byte [eax + esi]
push edx
push 1
lea ecx, [esp + 0x54]
call fcn.00404889
mov eax, dword [esp + 0x44]
add esi, 1
cmp esi, eax
jb 0x40dde0
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
cmp eax, 0x10
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], eax
jb 0x40de86
push ecx
call fcn.004192c0
add esp, 4
mov ebp, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push eax
lea ecx, [esp + 0x6c]
push 0x435c78
mov esi, 7
push ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.004023b3
push ebp
lea edx, [esp + 0x94]
push 0x435c78
push edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
call fcn.004023b3
add esp, 0x18
lea eax, [esp + 0x30]
push eax
push ebx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004013ba
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040b9d0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401550
mov ebp, 0x10
cmp dword [esp + 0x64], ebp
jb 0x40df33
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004192c0
add esp, 4
cmp dword [esp + 0x2c], ebp
mov edi, 0xf
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x40df57
mov edx, dword [esp + 0x18]
push edx
call fcn.004192c0
add esp, 4
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004013ba
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.004059c0
cmp dword [esp + 0x2c], ebp
jb 0x40df8d
mov edx, dword [esp + 0x18]
push edx
call fcn.004192c0
add esp, 4
mov ebp, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00401550
mov edi, 8
cmp dword [esp + 0x9c], edi
jb 0x40dfc7
mov ecx, dword [esp + 0x88]
push ecx
call fcn.004192c0
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x40dff3
mov edx, dword [esp + 0x6c]
push edx
call fcn.004192c0
add esp, 4
cmp dword [esp + 0xb8], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x40e01c
mov eax, dword [esp + 0xa4]
push eax
call fcn.004192c0
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jb 0x40e046
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004192c0
add esp, 4
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00419b1f
add esp, 0xc0
ret 0x18