Function at 0x4c7bd1
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 0x4c7de0
push esi
push edi
mov eax, dword [ebp + 0x68]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
je 0x4c7dcd
push dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
call fcn.004c88bf
mov edi, eax
cmp edi, ebx
je 0x4c7dcd
push dword [edi + 0x10]
lea ecx, [esi + 0x14]
call fcn.0056010c
push dword [edi + 0xc]
lea ecx, [esi + 8]
call fcn.0056010c
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4c7c4e
push 0x5e20c4
push eax
call fcn.00508f85
pop ecx
test eax, eax
pop ecx
jne 0x4c7c4e
cmp dword [edi + 0x30], 0xffffffff
jne 0x4c7c4e
or dword [esi + 4], 0x10
mov eax, 0x1000000
test dword [edi + 0x44], eax
je 0x4c7c5b
or dword [esi + 4], eax
cmp dword [edi + 0x14], 0xa
jne 0x4c7c65
or byte [esi + 5], 1
test byte [edi + 0x44], 1
je 0x4c7c6f
or dword [esi + 4], 1
push dword [edi + 0x1c]
lea ecx, [esi + 0x6c]
call fcn.0056010c
cmp dword [esi + 0x74], ebx
je 0x4c7c84
cmp dword [esi + 0x78], ebx
jne 0x4c7cfc
mov eax, dword [edi]
cmp eax, ebx
je 0x4c7ce7
push 0x65a614
push eax
call fcn.00508f85
pop ecx
test eax, eax
pop ecx
je 0x4c7cad
push 0x65a60c
push dword [edi]
call fcn.00508f85
pop ecx
test eax, eax
pop ecx
jne 0x4c7ce7
mov eax, dword [esi + 0x70]
mov ecx, 0x10e0
cmp eax, ecx
jne 0x4c7cc2
mov dword [esi + 0x74], 0x1e00
jmp 0x4c7ce4
mov ecx, 0xa8c
cmp eax, ecx
jne 0x4c7cd4
mov dword [esi + 0x74], 0x1400
jmp 0x4c7ce4
mov ecx, 0x870
cmp eax, ecx
jne 0x4c7ce7
mov dword [esi + 0x74], 0xf00
mov dword [esi + 0x78], ecx
cmp dword [esi + 0x70], ebx
jne 0x4c7d07
push dword [esi + 0x78]
push dword [esi + 0x74]
call fcn.00423aa2
pop ecx
mov dword [esi + 0x70], eax
pop ecx
cmp dword [esi + 0x70], ebx
jne 0x4c7d07
mov eax, dword [edi + 0x20]
mov dword [esi + 0x70], eax
cmp dword [esi + 0x74], ebx
jne 0x4c7d12
mov eax, dword [edi + 0x24]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x78], ebx
jne 0x4c7d1d
mov eax, dword [edi + 0x28]
mov dword [esi + 0x78], eax
fld qword [esi + 0x80]
fcomp qword [0x596050]
lea ecx, [esi + 0x80]
fnstsw ax
sahf
jne 0x4c7d39
fld dword [edi + 0x2c]
fstp qword [ecx]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x4c7d69
push 0x5e2098
push eax
call fcn.00508f85
pop ecx
test eax, eax
pop ecx
jne 0x4c7d69
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 0x4c7d88
mov eax, dword [esi + 0x9c]
cmp eax, ebx
jle 0x4c7d88
push eax
call fcn.00423aca
pop ecx
mov dword [esi + 0x90], eax
push dword [edi + 0x34]
lea ecx, [esi + 0x8c]
call fcn.0056010c
cmp dword [esi + 0x90], ebx
jne 0x4c7da7
mov eax, dword [edi + 0x38]
mov dword [esi + 0x90], eax
cmp dword [esi + 0x94], ebx
lea eax, [esi + 0x94]
jne 0x4c7dba
mov ecx, dword [edi + 0x3c]
mov dword [eax], ecx
cmp dword [esi + 0x98], ebx
lea eax, [esi + 0x98]
jne 0x4c7dcd
mov ecx, dword [edi + 0x40]
mov dword [eax], ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x6c]
jl 0x4c7bee
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 4