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

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
cmp dword [ebp + 0x6c], ebx
jle 0x4cfc7a
push esi
push edi
mov eax, dword [ebp + 0x68]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
je 0x4cfc67
push dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.004d0759
mov edi, eax
cmp edi, ebx
je 0x4cfc67
push dword [edi + 0x10]
lea ecx, [esi + 0x14]
call fcn.005553aa
push dword [edi + 0xc]
lea ecx, [esi + 8]
call fcn.005553aa
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4cfae8
push 0x5c00d0
push eax
call fcn.004fa015
pop ecx
test eax, eax
pop ecx
jne 0x4cfae8
cmp dword [edi + 0x30], 0xffffffff
jne 0x4cfae8
or dword [esi + 4], 0x10
mov eax, 0x1000000
test dword [edi + 0x44], eax
je 0x4cfaf5
or dword [esi + 4], eax
cmp dword [edi + 0x14], 0xa
jne 0x4cfaff
or byte [esi + 5], 1
test byte [edi + 0x44], 1
je 0x4cfb09
or dword [esi + 4], 1
push dword [edi + 0x1c]
lea ecx, [esi + 0x6c]
call fcn.005553aa
cmp dword [esi + 0x74], ebx
je 0x4cfb1e
cmp dword [esi + 0x78], ebx
jne 0x4cfb96
mov eax, dword [edi]
cmp eax, ebx
je 0x4cfb81
push 0x646ab8
push eax
call fcn.004fa015
pop ecx
test eax, eax
pop ecx
je 0x4cfb47
push 0x646ab0
push dword [edi]
call fcn.004fa015
pop ecx
test eax, eax
pop ecx
jne 0x4cfb81
mov eax, dword [esi + 0x70]
mov ecx, 0x10e0
cmp eax, ecx
jne 0x4cfb5c
mov dword [esi + 0x74], 0x1e00
jmp 0x4cfb7e
mov ecx, 0xa8c
cmp eax, ecx
jne 0x4cfb6e
mov dword [esi + 0x74], 0x1400
jmp 0x4cfb7e
mov ecx, 0x870
cmp eax, ecx
jne 0x4cfb81
mov dword [esi + 0x74], 0xf00
mov dword [esi + 0x78], ecx
cmp dword [esi + 0x70], ebx
jne 0x4cfba1
push dword [esi + 0x78]
push dword [esi + 0x74]
call fcn.00430a1d
pop ecx
mov dword [esi + 0x70], eax
pop ecx
cmp dword [esi + 0x70], ebx
jne 0x4cfba1
mov eax, dword [edi + 0x20]
mov dword [esi + 0x70], eax
cmp dword [esi + 0x74], ebx
jne 0x4cfbac
mov eax, dword [edi + 0x24]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], ebx
jne 0x4cfbb7
mov eax, dword [edi + 0x28]
mov dword [esi + 0x78], eax
fld qword [esi + 0x80]
fcomp qword [0x5878e8]
lea ecx, [esi + 0x80]
fnstsw ax
sahf
jne 0x4cfbd3
fld dword [edi + 0x2c]
fstp qword [ecx]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4cfc03
push 0x5cef64
push eax
call fcn.004fa015
pop ecx
test eax, eax
pop ecx
jne 0x4cfc03
mov eax, dword [edi + 0x24]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x70], eax
mov dword [esi + 0x1c], ebx
cmp dword [esi + 0x90], ebx
jne 0x4cfc22
mov eax, dword [esi + 0x9c]
cmp eax, ebx
jle 0x4cfc22
push eax
call fcn.00430a45
pop ecx
mov dword [esi + 0x90], eax
push dword [edi + 0x34]
lea ecx, [esi + 0x8c]
call fcn.005553aa
cmp dword [esi + 0x90], ebx
jne 0x4cfc41
mov eax, dword [edi + 0x38]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x94], ebx
lea eax, [esi + 0x94]
jne 0x4cfc54
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
cmp dword [esi + 0x98], ebx
lea eax, [esi + 0x98]
jne 0x4cfc67
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x6c]
jl 0x4cfa88
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 4