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

Disassembly:
mov eax, 0x7ef932e4
call fcn.7ef890d8
sub esp, 0xb0
mov dword [ebp - 0xbc], ecx
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x38], 0
je 0x7ef590c1
cmp dword [ebp + 0xc], 0x10000
jb 0x7ef590c1
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xbc]
push dword [eax + 0x38]
push dword [ebp + 0x10]
call fcn.7ef7cdae
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7ef590c1
mov eax, dword [ebp - 0x10]
jmp 0x7ef59467
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x7c]
and eax, 0x100004
cmp eax, 4
jne 0x7ef59114
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [0x7efa58e8]
jne 0x7ef590f4
cmp dword [ebp + 0xc], 0x10000
jb 0x7ef59114
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x78], eax
push dword [ebp + 0xc]
push dword [ebp - 0x78]
call dword [0x7ef962b8]
mov dword [ebp - 0x10], eax
jmp 0x7ef592a9
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0x18]
mov eax, dword [eax + 0x3c]
mov eax, dword [ecx + eax + 0x78]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x7ef5913d
xor eax, eax
jmp 0x7ef59467
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x18], eax
or dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0x10000
jb 0x7ef5926a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jg 0x7ef5920f
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x7ef5920f
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0xbc]
add eax, dword [ecx + 0x18]
mov dword [ebp - 0x3c], eax
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call fcn.7ef86167
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x7ef591f7
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov dword [ebp - 0x1c], eax
jmp 0x7ef5920d
cmp dword [ebp - 0x38], 0
jle 0x7ef59206
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x30], eax
jmp 0x7ef5920d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x7ef591a1
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x7ef59268
and dword [ebp - 0x44], 0
jmp 0x7ef59222
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax + 0x18]
jae 0x7ef59268
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x7ef59268
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0xbc]
add eax, dword [ecx + 0x18]
mov dword [ebp - 0x48], eax
push dword [ebp + 0xc]
push dword [ebp - 0x48]
call fcn.7ef86167
pop ecx
pop ecx
test eax, eax
jne 0x7ef59266
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov dword [ebp - 0x1c], eax
jmp 0x7ef5921b
jmp 0x7ef59276
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jl 0x7ef59287
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x14]
jb 0x7ef5928e
xor eax, eax
jmp 0x7ef59467
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0xbc]
add eax, dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7ef59464
mov eax, dword [0x7efa2154]
mov eax, dword [eax]
and eax, 0x400000
test eax, eax
je 0x7ef59464
cmp dword [ebp + 0xc], 0x10000
jb 0x7ef59464
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x7ef59464
and dword [ebp - 0x4c], 0
and dword [ebp - 0x50], 0
and dword [ebp - 4], 0
cmp dword [0x7efa5b54], 0
je 0x7ef593b6
and dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
and dword [ebp - 0x60], 0
mov byte [ebp - 4], 2
and dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xbc]
call fcn.7ef885db
add esp, 0x10
push dword [ebp + 0xc]
push dword [ebp - 0x60]
push str._s__s
lea eax, [ebp - 0x50]
push eax
call fcn.7ef863ab
add esp, 0x10
mov eax, dword [0x7efa5b54]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], eax
mov eax, dword [0x7efa5b54]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.7ef5b18d
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x68]
neg eax
sbb eax, eax
inc eax
movzx eax, al
neg eax
sbb eax, eax
inc eax
movzx eax, al
test eax, eax
je 0x7ef59392
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.7ef86114
and byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.7ef86114
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x4c]
push dword [ebp - 0xa8]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.7ef58c64
add esp, 0x14
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x10]
je 0x7ef59410
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
push 0
push dword [ebp - 0x54]
push dword [ebp + 0xc]
push dword [ebp - 0xac]
call fcn.7ef7d420
add esp, 0x10
jmp 0x7ef59452
cmp dword [0x7efa5b60], 0
je 0x7ef59452
cmp dword [ebp - 0x50], 0
je 0x7ef59452
mov eax, dword [0x7efa5b60]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.7ef5b003
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x70], eax
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.7ef86114
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10