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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x5a05c4]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp word [ecx + 0x14], 0
je 0x4ef40d
lea eax, [esi + 0x68]
lea ecx, [esi + 0x74]
xor ebx, ebx
mov edx, 4
xor edi, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x24]
test byte [eax + edi*4], 8
je 0x4ef2f9
mov eax, dword [esi + 0x18]
lea ecx, [eax + ebx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + ebx + 4]
cmp ecx, edx
je 0x4ef26d
cmp ecx, 9
jne 0x4ef2c4
mov ecx, dword [eax + ebx + 0x38]
xor ecx, 0x10
jmp 0x4ef274
mov ecx, dword [eax + ebx + 0x38]
xor ecx, 0x18
or ecx, dword [eax + ebx + 0x3c]
jne 0x4ef2f9
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [esi + 0x70]
jae 0x4ef2e9
cmp dword [eax + ebx + 0x1c], 0
jne 0x4ef3f5
mov edx, dword [eax + ebx + 0x18]
mov dword [ecx], edx
cmp dword [eax + ebx + 0x24], 0
jne 0x4ef3fd
mov edx, dword [eax + ebx + 0x20]
mov dword [ecx + 4], edx
cmp dword [eax + ebx + 0x3c], 0
jne 0x4ef405
mov eax, dword [eax + ebx + 0x38]
mov dword [ecx + 8], eax
add ecx, 0xc
mov edx, 4
mov dword [esi + 0x6c], ecx
jmp 0x4ef2f9
cmp ecx, 1
jne 0x4ef2f9
mov eax, dword [eax + ebx + 8]
and eax, 4
je 0x4ef2f9
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
cmp ecx, eax
je 0x4ef30e
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
add ecx, 4
mov dword [esi + 0x78], ecx
jmp 0x4ef2f9
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.004ef736
mov edx, 4
movzx eax, word [esi + 0x14]
inc edi
add ebx, 0x40
cmp edi, eax
jb 0x4ef241
jmp 0x4ef40d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
sub ecx, edx
mov dword [ebp - 0x34], ecx
sar ecx, 2
mov eax, ecx
lea eax, [ecx + 1]
mov dword [ebp - 0x24], ecx
cmp eax, 0x40000000
jae 0x4ef443
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
sub ecx, edx
mov edx, ecx
sar ecx, 1
sar edx, 2
cmp ecx, eax
cmovb ecx, eax
cmp edx, 0x1fffffff
mov edx, 0x3fffffff
cmovae ecx, edx
test ecx, ecx
je 0x4ef381
cmp ecx, 0x40000000
jae 0x4ef44b
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
lea eax, [eax*4]
push eax
call fcn.00527256
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x4ef388
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov edx, 4
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ecx + eax*4 + 4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ecx - 4], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
test ecx, ecx
jle 0x4ef3c8
push ecx
push eax
push dword [ebp - 0x20]
call fcn.0052acc0
mov eax, dword [ebp - 0x30]
mov edx, 4
add esp, 0xc
mov ecx, dword [ebp - 0x20]
test eax, eax
mov dword [esi + 0x74], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x78], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x7c], ecx
je 0x4ef2f9
push eax
call fcn.005272d6
mov edx, 4
add esp, 4
jmp 0x4ef2f9
int3
int3
int3
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x6c]
push dword [esi + 0x68]
call fcn.004edcb8
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x78]
push dword [esi + 0x74]
call fcn.004ef880
add esp, 0xc
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
call fcn.00428e9c
call fcn.0053b598