Function at 0x4715ed
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 0x47161e
mov eax, dword [edi + 0x1c]
jmp 0x4717f5
cmp dword [edi + 0xc], 0
lea esi, [edi + 0x20]
mov dword [ebp - 0x34], esi
mov dword [esi], 2
je 0x4716e4
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 0x471684
cmp dword [ebp + 0x18], edx
jne 0x471684
cmp esi, ebx
jne 0x471687
mov dword [edi + 0x18], ebx
cmp dword [edi + 8], ebx
jne 0x471693
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x4716dd
cmp dword [edi + 0x18], 0
je 0x4716dd
mov dword [ebp + 0x18], ebx
cmp dword [edi + 8], ebx
jbe 0x4716d8
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 0x4716c3
cmp dword [ebp + 0xc], 0
je 0x4716c6
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x14], ecx
jne 0x4716c6
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 0x4716a7
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edx
jmp 0x4717f5
xor ebx, ebx
inc ebx
cmp dword [edi + 8], ebx
je 0x471715
cmp dword [edi + 4], 0
jne 0x47170f
mov esi, dword [edi]
mov edx, 0x60000
mov ecx, esi
call dword [esi]
mov dword [edi + 4], eax
test eax, eax
jne 0x47170c
push 2
pop eax
jmp 0x4717f5
lea esi, [edi + 0x20]
and dword [ebp - 0x14], 0
jmp 0x47171b
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x471726
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 0x4717ee
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 0x47176b
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 0x47178f
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 0x4717a7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub ecx, dword [edx]
jmp 0x4717be
mov eax, dword [edi + esi*4 + 0x30]
cmp eax, dword [edi + esi*4 + 0x3c]
jne 0x4717d4
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 0x4717fc
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 0x471743
test eax, eax
jne 0x471723
cmp dword [ebp - 0x20], eax
je 0x4717f3
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 0x471830
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 0x471850
and dword [ebp - 0x20], 0
cmp dword [edi + 8], ebx
jne 0x471850
test edx, edx
jne 0x471850
mov dword [edi + 0x20], eax
mov edx, dword [ebp - 4]
test esi, esi
jne 0x471861
mov eax, dword [ebp + 0x14]
add dword [eax], edx
add dword [ebp + 0xc], edx
jmp 0x471865
add dword [edi + esi*4 + 0x2c], edx
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
mov eax, dword [ebp - 0xc]
jne 0x47187a
mov ecx, dword [ebp + 8]
add dword [ecx], eax
add dword [ebp - 8], eax
jmp 0x47188a
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 0x471899
test edx, edx
je 0x4717d4
mov eax, ebx
mov dword [ebp + 0x10], eax
jmp 0x4717d7