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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ef84f
sub esp, 0x38
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x3c]
mov ebx, dword [edx + 0x2ac]
add ebx, 0xfffffffc
cmp eax, ebx
jbe 0x5ef2c7
mov ecx, dword [0x8c9058]
xor ebx, ebx
jmp 0x5ef2fe
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov ebp, dword [edx + 0x290]
cmp ecx, eax
jb 0x5ef849
sub ecx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp ecx, 3
jbe 0x5ef83f
mov ebx, dword [ebx + ebp]
xor ecx, ecx
test ecx, ecx
jne 0x5ef812
mov ecx, ebx
and ebx, 0xffff
cmp ebx, 0x454e
je 0x5ef7fa
cmp ebx, 0x454c
je 0x5ef7e2
cmp ebx, 0x584c
je 0x5ef7ca
cmp ebx, 0x5a56
je 0x5ef7b2
cmp ecx, 0x4550
jne 0x5ef79a
mov dword [esp + 0x24], eax
mov dword [edx + 0x60], 0x4550
lea eax, [0x691c20]
mov dword [esp], eax
lea ecx, [edx + 0x64]
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x691c20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
lea edx, [0x65a7a0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
lea ebx, [edx + 4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005e6980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5ef78e
lea eax, [0x69e9e0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x69e4a0]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ebx, [edx + ecx]
lea ecx, [edx + ecx + 4]
mov edx, dword [esp + 0x3c]
mov ebp, dword [edx + 0x2ac]
add ebp, 0xfffffffe
cmp ecx, ebp
jbe 0x5ef425
mov ebx, dword [0x8c9058]
mov ebp, dword [0x8c905c]
xor esi, esi
jmp 0x5ef461
mov ebp, dword [edx + 0x28c]
mov esi, dword [edx + 0x288]
mov edi, dword [edx + 0x290]
cmp ebp, ecx
jb 0x5ef836
sub edi, ebx
sub ebp, ebx
lea ebx, [edi - 4]
neg ebx
sar ebx, 0x1f
and ebx, ecx
add ebp, 0xfffffffc
cmp ebp, 1
jbe 0x5ef82a
movzx esi, word [esi + ebx]
xor ebx, ebx
xor ebp, ebp
test ebx, ebx
jne 0x5ef782
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
cmp si, 0x10b
je 0x5ef55e
cmp si, 0x20b
jne 0x5ef546
lea eax, [0x69e4a0]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x69e4a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
lea edx, [0x65a9e0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005e6980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5ef53a
mov eax, dword [esp + 0x3c]
mov byte [eax + 0x295], 1
lea ecx, [0x69e4a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x69e4a0]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x5ef52d
mov dword [edx + 0x7c], eax
jmp 0x5ef615
lea edi, [edx + 0x7c]
call fcn.00463ab0
jmp 0x5ef615
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
add esp, 0x38
ret
mov eax, dword [0x8c8ff0]
mov ecx, dword [0x8c8ff4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
lea eax, [0x69e9e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x69e9e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c1310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
lea edx, [0x65a9a0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005e6980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5ef776
mov eax, dword [esp + 0x3c]
mov byte [eax + 0x294], 1
lea ecx, [0x69e9e0]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x69e9e0]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x5ef60d
mov dword [edx + 0x7c], eax
jmp 0x5ef615
lea edi, [edx + 0x7c]
call fcn.00463ab0
movzx ecx, byte [edx + 0x295]
test cl, cl
je 0x5ef631
mov ebx, dword [esp + 0x30]
mov ebp, dword [ebx + 0x18]
test ebp, 0xffff
jne 0x5ef653
jmp 0x5ef635
mov ebx, dword [esp + 0x30]
movzx ebp, byte [edx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5ef684
mov esi, dword [esp + 0x34]
mov eax, edx
mov edx, dword [esi + 0x1c]
test edx, 0xffff
je 0x5ef66b
mov eax, dword [0x8c8fe8]
mov ecx, dword [0x8c8fec]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5ef680
add edx, dword [esi + 0x38]
cmp edx, 0x80000000
jae 0x5ef6b5
test cl, cl
jmp 0x5ef688
test cl, cl
jmp 0x5ef688
test cl, cl
mov eax, edx
je 0x5ef75b
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov ebx, dword [ebx + 0x38]
add ecx, ebx
adc edx, 0
cmp edx, 0xffff0800
sete cl
seta dl
and ecx, 1
or edx, ecx
test dl, dl
je 0x5ef75b
mov ecx, dword [eax + 0x274]
inc ecx
mov edx, dword [eax + 0x270]
mov ebx, dword [eax + 0x278]
cmp ebx, ecx
jae 0x5ef725
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x66c280]
mov dword [esp + 0x10], eax
call fcn.0044acd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x8ef4b0]
test edx, edx
jne 0x5ef716
mov dword [ebx + 0x270], eax
jmp 0x5ef721
lea edi, [ebx + 0x270]
call fcn.00463ab0
mov edx, eax
mov eax, ebx
mov dword [eax + 0x274], ecx
mov ebx, dword [0x8c30f8]
lea ebp, [edx + ecx*8 - 4]
mov esi, dword [0x8c30fc]
mov dword [ebp], esi
lea edi, [edx + ecx*8 - 8]
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x5ef750
mov dword [edi], ebx
jmp 0x5ef75b
mov ecx, eax
mov eax, ebx
call fcn.00463ab0
mov eax, ecx
mov byte [eax + 0x299], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
add esp, 0x38
ret
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
add esp, 0x38
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
add esp, 0x38
ret
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
add esp, 0x38
ret
mov eax, dword [0x8c8ff8]
mov ecx, dword [0x8c8ffc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
mov eax, dword [0x8c9010]
mov ecx, dword [0x8c9014]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
mov eax, dword [0x8c9018]
mov ecx, dword [0x8c901c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
mov eax, dword [0x8c9000]
mov ecx, dword [0x8c9004]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
mov eax, dword [0x8c9008]
mov ecx, dword [0x8c900c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
mov eax, dword [0x8c9038]
mov ecx, dword [0x8c903c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
add esp, 0x38
ret
mov eax, 1
mov ecx, ebp
call fcn.00463b30
mov eax, ecx
mov ecx, ebp
call fcn.00463ba0
mov eax, 3
call fcn.00463b30
call fcn.00463ba0
nop
call fcn.004626a0
jmp fcn.005ef290