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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 8], edx
xor esi, esi
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x24], ecx
mov eax, dword [edx]
mov dword [edx], esi
mov dword [ebx], esi
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x18], esi
je 0x470e0a
mov eax, dword [edi + 0x1c]
jmp 0x470fe1
cmp dword [edi + 0xc], 0
lea esi, [edi + 0x20]
mov dword [ebp - 0x34], esi
mov dword [esi], 2
je 0x470ed0
push esi
push dword [ebp + 0x1c]
mov dword [ebp + 0x14], ecx
xor edx, edx
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0xc], eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [edi + 0x78]
call dword [edi + 0x88]
mov esi, dword [esi]
mov edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x1c], edx
mov dword [ebx], eax
xor ebx, ebx
mov eax, dword [edi + 0x14]
inc ebx
add eax, ecx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x1c], esi
mov dword [edi + 0x14], eax
test edx, edx
jne 0x470e70
cmp dword [ebp + 0x18], edx
jne 0x470e70
cmp esi, ebx
jne 0x470e73
mov dword [edi + 0x18], ebx
cmp dword [edi + 8], ebx
jne 0x470e7f
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x470ec9
cmp dword [edi + 0x18], 0
je 0x470ec9
mov dword [ebp + 0x18], ebx
cmp dword [edi + 8], ebx
jbe 0x470ec4
lea esi, [edi + 0x90]
mov edx, dword [edi + 0xc]
mov ecx, dword [esi]
push eax
call dword [esi + 0x14]
cmp dword [ebp + 0x1c], ebx
je 0x470eaf
cmp dword [ebp + 0xc], 0
je 0x470eb2
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x14], ecx
jne 0x470eb2
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x18]
add esi, 0x18
inc ecx
mov dword [ebp + 0x18], ecx
cmp ecx, dword [edi + 8]
jb 0x470e93
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edx
jmp 0x470fe1
xor ebx, ebx
inc ebx
cmp dword [edi + 8], ebx
je 0x470f01
cmp dword [edi + 4], 0
jne 0x470efb
mov esi, dword [edi]
mov edx, 0x60000
mov ecx, esi
call dword [esi]
mov dword [edi + 4], eax
test eax, eax
jne 0x470ef8
push 2
pop eax
jmp 0x470fe1
lea esi, [edi + 0x20]
and dword [ebp - 0x14], 0
jmp 0x470f07
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x470f12
lea esi, [edi + 0x20]
and dword [ebp + 0x10], 0
xor ecx, ecx
mov dword [esi], 2
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0x1c], ecx
cmp dword [edi + 8], ecx
jbe 0x470fda
lea eax, [esi + 5]
mov dword [ebp - 0x28], ecx
imul eax, eax, 0x18
add eax, edi
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x470f57
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edx]
jmp 0x470f7b
lea edx, [esi - 1]
shl edx, 0x11
add edx, dword [edi + 4]
add edx, dword [edi + esi*4 + 0x2c]
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + esi*4 + 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + esi*4 + 0x38]
sub edx, dword [edi + esi*4 + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
jne 0x470f93
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub ecx, dword [edx]
jmp 0x470faa
mov eax, dword [edi + esi*4 + 0x30]
cmp eax, dword [edi + esi*4 + 0x3c]
jne 0x470fc0
mov eax, esi
mov ecx, 0x20000
shl eax, 0x11
add eax, dword [edi + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + esi*4 + 0x68]
test ecx, ecx
je 0x470fe8
mov eax, dword [ebp - 0x28]
test eax, eax
cmovne ecx, eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 8]
jb 0x470f2f
test eax, eax
jne 0x470f0f
cmp dword [ebp - 0x20], eax
je 0x470fdf
mov eax, dword [ebp - 0x34]
mov dword [eax], ebx
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
lea ecx, [ebp - 0x30]
mov edx, eax
mov eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 4]
push dword [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [eax]
call dword [eax + 0x10]
mov edx, eax
test edx, edx
je 0x47101c
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
mov dword [edi + esi*4 + 0x68], edx
cmove ecx, edx
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
push 0
pop ecx
sete cl
mov dword [ebp - 0x2c], ecx
je 0x47103c
and dword [ebp - 0x20], 0
cmp dword [edi + 8], ebx
jne 0x47103c
test edx, edx
jne 0x47103c
mov dword [edi + 0x20], eax
mov edx, dword [ebp - 4]
test esi, esi
jne 0x47104d
mov eax, dword [ebp + 0x14]
add dword [eax], edx
add dword [ebp + 0xc], edx
jmp 0x471051
add dword [edi + esi*4 + 0x2c], edx
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
mov eax, dword [ebp - 0xc]
jne 0x471066
mov ecx, dword [ebp + 8]
add dword [ecx], eax
add dword [ebp - 8], eax
jmp 0x471076
mov ecx, dword [ebp - 0x2c]
and dword [edi + esi*4 + 0x30], 0
mov dword [edi + esi*4 + 0x3c], eax
mov dword [edi + esi*4 + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
test eax, eax
jne 0x471085
test edx, edx
je 0x470fc0
mov eax, ebx
mov dword [ebp + 0x10], eax
jmp 0x470fc3