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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov esi, dword [esp + 4]
mov dword [esp + 0x5c], 0x40d5f0
mov dword [esp + 0x60], 0x43c134
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x40dd90
lea eax, [esp + 0x44]
push eax
call fcn.0040e570
add esp, 4
test esi, esi
jne 0x40dcfa
push 0
call fcn.0040cba0
add esp, 4
call fcn.0040d470
push dword [esp + 4]
call fcn.0040cba0
add esp, 4
mov eax, dword [esp + 4]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.0040c8d0
add esp, 4
mov byte [esp + 3], al
movzx eax, byte [esp + 3]
cmp al, 1
jne 0x40dd52
mov ecx, dword [esp + 4]
add ecx, 0xffffffd0
mov eax, dword [esp + 4]
mov esi, dword [eax - 0x24]
mov eax, dword [esp + 4]
mov eax, dword [eax - 0x28]
mov edx, dword [esp + 4]
mov edx, dword [edx - 0x18]
mov ebx, edx
sar ebx, 0x1f
mov edi, dword [esp + 4]
mov edi, dword [edi - 0x10]
jmp 0x40dd66
call fcn.0040d530
mov esi, eax
xor edi, edi
call fcn.0040d460
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], 1
push eax
call fcn.0040d510
add esp, 4
nop
mov eax, dword [esp + 0x48]
cmp eax, 0xd
jae case.default.0x40dd9f
jmp dword [eax*4 + 0x4330d8]
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.0040cba0
add esp, 4
movzx eax, byte [esp + 3]
cmp al, 1
jne 0x40e097
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
movzx edx, byte [eax]
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x28]
call fcn.0040e0b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
cmp al, 0xff
je 0x40e07c
mov edx, dword [esp + 0x30]
inc edx
xor eax, eax
xor ecx, ecx
nop dword [eax]
lea esi, [edx + 1]
mov dword [esp + 0x34], esi
movzx ebx, byte [edx]
mov edx, ebx
and edx, 0x7f
shl edx, cl
or edx, eax
mov dword [esp + 0x38], edx
add ecx, 7
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
test bl, bl
js 0x40de10
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 3
call fcn.00412b40
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x40e085
mov eax, dword [esp + 8]
add eax, 0x30
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 4
push eax
call fcn.0040c8d0
add esp, 4
mov byte [esp + 0xd], al
movzx edx, byte [esp + 0xd]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 8]
cmp dl, 1
jne 0x40df85
cmp ecx, eax
je 0x40df85
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 5
push eax
call fcn.0040c8c0
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, 0x432b2b01
xor eax, dword [esp + 0x78]
mov ecx, 0x434c4e47
xor ecx, dword [esp + 0x7c]
or ecx, eax
jne 0x40df37
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
jmp 0x40df3e
jmp 0x40defc
jmp 0x40defc
jmp 0x40defc
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x48], 0xd
call fcn.0040cc80
jmp 0x40e053
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x14]
call fcn.0040d3b0
jmp 0x40df04
mov eax, dword [esp + 8]
add eax, 0x50
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx edi, byte [esp + 2]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x48], 6
push dword [esp + 0x10]
push eax
push esi
push edi
push ebx
call fcn.0040e1b0
add esp, 0x14
mov byte [esp + 0xe], al
cmp byte [esp + 0xe], 0
je 0x40e010
mov eax, dword [0x433174]
add eax, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx esi, byte [esp + 2]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], 0xa
lea ebx, [esp + 0x14]
push eax
push ebx
push 0x433004
push esi
push edi
call fcn.0040e1b0
add esp, 0x14
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
jne 0x40e08e
mov dword [esp + 0x48], 0xb
call fcn.0040cc80
push 4
call fcn.0040c8f0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], 0xc
push fcn.0040d3b0
push 0x433004
push eax
call fcn.0040ca50
add esp, 0xc
jmp case.default.0x40dd9f
mov eax, dword [esp + 8]
neg dword [eax + 0x14]
mov eax, dword [esp + 0x40]
inc dword [eax + 4]
mov dword [esp + 0x48], 7
call fcn.0040cc80
mov dword [esp + 0x48], 8
call fcn.0040cc80
push dword [esp + 0x1c]
call fcn.0040cba0
add esp, 4
mov dword [esp + 0x48], 9
call fcn.0040ce70
ud2
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.0040e870
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.0040af30
push dword [esp + 0x18]
call fcn.0040d540
push dword [esp + 0x18]
call fcn.0040d540
lea ecx, [esp + 0x14]
call fcn.0040d3b0
mov dword [esp + 0x48], 0xffffffff
call fcn.0040cc80
push dword [esp + 0x18]
call fcn.0040d540
nop dword [eax]