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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532210
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58ab78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebx + 0x50], ecx
jbe 0x40df80
jmp 0x40dd70
mov esi, dword [ebx + 0x4c]
mov eax, dword [ebx + 0xc]
mov esi, dword [esi + ecx*4]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x10], eax
mov edi, dword [esi + 0x74]
test edi, edi
je 0x40ddb3
mov eax, dword [esi + 0x70]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40ddac
mov ecx, dword [eax]
test ecx, ecx
je 0x40dda3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0047d4a0
add esp, 4
test edi, edi
jne 0x40dd86
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [esi + 0x74], 0
mov dword [ebp - 0x18], edi
cmp dword [eax], edi
jbe 0x40de6d
mov dword [ebp - 0x24], edi
lea ebx, [ebx]
push 4
mov dword [ebp - 4], 0
call fcn.0047d464
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40ddf0
mov dword [eax], 0
jmp 0x40ddf7
mov dword [ebp - 0x1c], 0
mov ecx, dword [esi + 0x78]
cmp dword [esi + 0x74], ecx
jne 0x40de45
mov ebx, ecx
mov edx, 4
shr ebx, 2
inc ebx
add ebx, ecx
xor ecx, ecx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d491
mov ecx, dword [esi + 0x74]
mov edi, eax
shl ecx, 2
push ecx
push dword [esi + 0x70]
push edi
call fcn.004a0000
push dword [esi + 0x70]
call fcn.0047d4a0
mov dword [esi + 0x70], edi
add esp, 0x14
mov edi, dword [ebp - 0x18]
mov dword [esi + 0x78], ebx
mov ecx, dword [esi + 0x74]
inc edi
mov eax, dword [esi + 0x70]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x10]
inc dword [esi + 0x74]
cmp edi, dword [eax]
jb 0x40ddd0
mov ebx, dword [ebp - 0x14]
mov edi, dword [esi + 0x80]
test edi, edi
je 0x40dea1
mov eax, dword [esi + 0x7c]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40de9d
mov ecx, dword [eax]
test ecx, ecx
je 0x40de94
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0047d4a0
add esp, 4
test edi, edi
jne 0x40de77
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [esi + 0x80], 0
mov dword [ebp - 0x18], edi
cmp dword [eax + 4], edi
jbe 0x40df70
mov dword [ebp - 0x24], edi
nop
push 4
mov dword [ebp - 4], 1
call fcn.0047d464
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40dee0
mov dword [eax], 0
jmp 0x40dee7
mov dword [ebp - 0x1c], 0
mov ecx, dword [esi + 0x84]
cmp dword [esi + 0x80], ecx
jne 0x40df41
mov ebx, ecx
mov edx, 4
shr ebx, 2
inc ebx
add ebx, ecx
xor ecx, ecx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d491
mov ecx, dword [esi + 0x80]
mov edi, eax
shl ecx, 2
push ecx
push dword [esi + 0x7c]
push edi
call fcn.004a0000
push dword [esi + 0x7c]
call fcn.0047d4a0
mov dword [esi + 0x7c], edi
add esp, 0x14
mov edi, dword [ebp - 0x18]
mov dword [esi + 0x84], ebx
mov ecx, dword [esi + 0x80]
inc edi
mov eax, dword [esi + 0x7c]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x10]
inc dword [esi + 0x80]
cmp edi, dword [eax + 4]
jb 0x40dec0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebx + 0x50]
jb 0x40dd70
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x1c], ecx
jbe 0x40e0c5
mov edi, edi
mov eax, dword [ebx + 0x18]
xor esi, esi
mov edx, dword [ebx + 0x10]
lea edi, [eax + ecx*8]
mov ecx, dword [edi]
mov dword [ebp - 0x18], ecx
cmp esi, edx
jae 0x40e0f3
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + esi*8]
cmp ecx, eax
jb 0x40dfb7
sub ecx, eax
inc esi
jmp 0x40df9d
mov edi, dword [edi + 4]
xor ecx, ecx
lea esp, [esp]
cmp ecx, edx
jae 0x40e0f3
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*8 + 4]
cmp edi, eax
jb 0x40dfd8
sub edi, eax
inc ecx
jmp 0x40dfc0
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edi*4]
mov eax, dword [ecx + esi*4]
mov ecx, dword [ebp - 0x18]
push edx
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x3c]
push ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
call fcn.004210a0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 0
mov eax, dword [ebx + 0x4c]
mov byte [ebp - 4], 3
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x40e033
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x5459d8
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x4c]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x40e054
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x5459d8
push ecx
call dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x40e093
test ecx, ecx
je 0x40e093
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x18]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push 0x80000
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x40e0a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40e0b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x1c]
jb 0x40df90
xor edi, edi
cmp dword [ebx + 0x28], edi
jbe 0x40e141
lea esp, [esp]
mov eax, dword [ebx + 0x24]
xor ecx, ecx
mov esi, dword [ebx + 0x10]
mov edx, dword [eax + edi*4]
jmp 0x40e0e0
cmp ecx, esi
jae 0x40e0f3
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*8]
cmp edx, eax
jb 0x40e108
sub edx, eax
inc ecx
jmp 0x40e0e0
push 0x570b04
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
call fcn.004a06b8
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x70]
mov esi, dword [ecx + edi*4]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x40e12a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x40e139
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
inc edi
mov dword [eax], esi
cmp edi, dword [ebx + 0x28]
jb 0x40e0d0
xor edi, edi
cmp dword [ebx + 0x34], edi
jbe 0x40e1a0
mov eax, dword [ebx + 0x30]
xor ecx, ecx
mov esi, dword [ebx + 0x10]
mov edx, dword [eax + edi*4]
cmp ecx, esi
jae 0x40e1b6
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*8 + 4]
cmp edx, eax
jb 0x40e167
sub edx, eax
inc ecx
jmp 0x40e153
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov esi, dword [ecx + edi*4]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x40e189
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x40e198
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
inc edi
mov dword [eax], esi
cmp edi, dword [ebx + 0x34]
jb 0x40e148
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x570b04
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 1
push eax
call fcn.004a06b8
int3