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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 8]
test al, al
je 0x4cf749
mov edi, dword [ebp + 8]
test edi, edi
je 0x4cf749
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
add edx, eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x20]
add eax, ecx
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0xac], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0xac], edx
call dword [eax + 0x14]
mov eax, dword [eax]
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [eax]
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [eax + 4]
xor ebx, ebx
and dword [esp + 0x18], ebx
mov dword [esp + 0x7c], eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x4c], ebx
test eax, eax
jle 0x4cf743
xor eax, eax
cmp dword [esp + 0x50], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jle 0x4cf715
push dword [esp + 0x18]
mov eax, dword [edi]
push dword [esp + 0x24]
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [eax + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x6c], ecx
call dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
add ecx, eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x70]
add eax, ebx
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ecx
call dword [0x62c30c]
test eax, eax
je 0x4cf6fb
mov eax, dword [esp + 0x28]
sub eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x30]
add eax, dword [ebp + 0xc]
sub edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [ebp + 0x18]
add edx, eax
add ecx, dword [ebp + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
sub dword [esp + 0x2c], ebx
sub dword [esp + 0x34], ebx
add eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x28], eax
sub dword [esp + 0x30], eax
xor ebx, ebx
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebx
jle 0x4cf6f7
xor eax, eax
cmp dword [esp + 0x64], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
jle 0x4cf6c9
push dword [esp + 0x14]
mov eax, dword [esi]
push dword [esp + 0x28]
mov ecx, esi
call dword [eax + 0x28]
lea ecx, [eax + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x60], ecx
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
add ecx, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x78]
add eax, ebx
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ecx
call dword [0x62c30c]
test eax, eax
je 0x4cf6af
mov eax, dword [esp + 0x10]
sub dword [esp + 0x3c], eax
mov edx, dword [esp + 0x44]
sub dword [esp + 0x40], ebx
sub dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x84]
sub edx, eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x44], edx
sub edx, dword [esp + 0x3c]
add eax, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
add eax, dword [esp + 0x28]
push edx
push dword [esp + 0x58]
add ecx, ebx
add ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x64]
mov ebx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x68]
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x80]
call dword [ebx + 0xd8]
mov ebx, dword [esp + 0x38]
test al, al
jne 0x4cf6af
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x74]
add dword [esp + 0x10], eax
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x64]
jl 0x4cf5c0
push dword [esp + 0x14]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0xc8]
push ecx
mov ecx, esi
call dword [eax + 0x18]
add ebx, dword [eax + 4]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x38], ebx
jl 0x4cf5ac
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x6c]
add dword [esp + 0x1c], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x50]
jl 0x4cf4d1
push dword [esp + 0x18]
mov eax, dword [edi]
push 0
lea ecx, [esp + 0xd0]
push ecx
mov ecx, edi
call dword [eax + 0x18]
add ebx, dword [eax + 4]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebx
jl 0x4cf4bd
mov al, byte [esp + 0xf]
jmp 0x4cf74b
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c