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

Disassembly:
push 0xffffffffffffffff
push 0x5cb878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x18], ebp
call fcn.004ef9e0
test eax, eax
je 0x4ef9be
mov ebx, dword [esp + 0x30]
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0x9304]
test ecx, ecx
je 0x4ef1ed
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, ebp
call fcn.004f1e10
test eax, eax
jne 0x4ef9d5
jmp 0x4ef9ab
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057628e
mov eax, dword [ebp + 0x38]
add esp, 4
test eax, eax
mov eax, dword [0x63fd4c]
mov ecx, dword [eax + 0x9308]
je 0x4ef326
test ecx, ecx
je 0x4ef25d
mov ecx, dword [eax + 0x9354]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ef9ab
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x40]
push edx
push eax
call fcn.0050f650
add esp, 8
test al, al
je 0x4ef9ab
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
call fcn.004f1e10
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 0x9308]
test eax, eax
je 0x4ef419
cmp dword [ecx + 0x9350], 1
jne 0x4ef2ae
mov eax, dword [ebp + 0x3c]
push edx
push eax
call fcn.0050f650
add esp, 8
test al, al
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
cmp dword [ecx + 0x9350], 2
jne 0x4ef2d5
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebp + 0x3c]
push eax
push ecx
call fcn.0050f650
add esp, 8
test al, al
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
cmp dword [ecx + 0x9350], 3
jne 0x4ef2fc
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebp + 0x3c]
push eax
push ecx
call fcn.0050f650
add esp, 8
test al, al
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
cmp dword [ecx + 0x9350], 4
jne 0x4ef419
mov eax, dword [ebx + 0x78]
mov ebp, dword [ebp + 0x3c]
push eax
push ebp
call fcn.0050f650
add esp, 8
test al, al
je 0x4ef9ab
jmp 0x4ef413
test ecx, ecx
je 0x4ef353
mov ecx, dword [eax + 0x9354]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ef9ab
mov eax, dword [ebp + 0x40]
mov edx, dword [ebp + 0xc]
push eax
push edx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
call fcn.004f1e10
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov edx, dword [ebx + 4]
mov eax, dword [ecx + 0x9308]
test eax, eax
je 0x4ef419
cmp dword [ecx + 0x9350], 1
jne 0x4ef3a4
mov eax, dword [ebp + 0x3c]
push eax
push edx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
cmp dword [ecx + 0x9350], 2
jne 0x4ef3cb
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebx + 0x70]
push eax
push ecx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
cmp dword [ecx + 0x9350], 3
jne 0x4ef3f2
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebx + 0x74]
push eax
push ecx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
cmp dword [ecx + 0x9350], 4
jne 0x4ef419
mov ebp, dword [ebp + 0x3c]
mov eax, dword [ebx + 0x78]
push ebp
push eax
call fcn.005752d0
add esp, 8
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x9318]
test eax, eax
je 0x4ef443
mov ecx, dword [ecx + 0x9344]
mov eax, dword [ebx]
push ecx
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x9314]
test eax, eax
je 0x4ef59e
mov ecx, dword [ecx + 0x9358]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push ecx
push eax
call fcn.005752d0
add esp, 8
test eax, eax
jne 0x4ef598
mov ecx, dword [0x63fd4c]
push 0x63450c
mov eax, dword [ecx + 0x9358]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62da90
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62e058
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62d20c
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62ccb4
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62e23c
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62e230
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov edx, dword [0x63fd4c]
push 0x634504
mov eax, dword [edx + 0x9358]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef598
mov eax, dword [ebx + 0x5c]
push 0x62e058
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62e23c
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov eax, dword [ebx + 0x5c]
push 0x62e230
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x931c]
test eax, eax
je 0x4ef678
mov eax, dword [ecx + 0x935c]
mov edx, dword [eax - 8]
test edx, edx
je 0x4ef9ab
mov edx, dword [0x639698]
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x58]
mov edx, dword [ebx + 4]
mov dword [esp + 0x28], 0
mov esi, dword [eax - 8]
test esi, esi
jne 0x4ef5de
mov eax, edx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ecx + 0xa63c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.004e3a00
test eax, eax
jge 0x4ef62d
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005936db
jmp 0x4ef9ab
mov eax, dword [0x63fd4c]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [eax + 0x935c]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x4ef660
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005936db
jmp 0x4ef9ab
or esi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
call fcn.005936db
mov ecx, dword [0x63fd4c]
jmp 0x4ef67b
or esi, 0xffffffff
mov eax, dword [ecx + 0x9328]
test eax, eax
je 0x4ef73f
mov edx, dword [ecx + 0x934c]
mov eax, dword [edx - 8]
test eax, eax
je 0x4ef9ab
mov eax, dword [0x639698]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x58]
mov edx, dword [ebx + 4]
mov dword [esp + 0x28], 1
mov edi, dword [eax - 8]
test edi, edi
jne 0x4ef6ba
mov eax, edx
push 0
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ecx + 0xa63c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.004e3a00
test eax, eax
jge 0x4ef705
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], esi
call fcn.005936db
jmp 0x4ef9ab
mov eax, dword [0x63fd4c]
mov ecx, dword [esp + 0x14]
push ecx
mov eax, dword [eax + 0x934c]
push eax
call fcn.00573b74
add esp, 8
mov dword [esp + 0x28], esi
test eax, eax
lea ecx, [esp + 0x14]
je 0x4ef734
call fcn.005936db
jmp 0x4ef9ab
call fcn.005936db
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x9310]
test eax, eax
je 0x4ef77f
add ecx, 0x9360
push ecx
lea ecx, [ebx + 8]
call fcn.0056b1f1
test eax, eax
je 0x4ef779
mov edx, dword [0x63fd4c]
lea ecx, [ebx + 0x14]
add edx, 0x9360
push edx
call fcn.0056b1f1
test eax, eax
jne 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x9320]
test eax, eax
je 0x4ef7bd
add ecx, 0x936c
push ecx
lea ecx, [ebx + 8]
call fcn.0056b227
test eax, eax
je 0x4ef7b7
mov eax, dword [0x63fd4c]
lea ecx, [ebx + 0x14]
add eax, 0x936c
push eax
call fcn.0056b227
test eax, eax
jne 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x9324]
test eax, eax
je 0x4ef83d
mov eax, dword [ecx + 0x9340]
test eax, eax
jl 0x4ef9ab
cmp eax, dword [ecx + 0x8ee4]
jge 0x4ef9ab
lea edx, [eax + eax*2]
lea ebp, [ebx + 8]
lea edx, [edx + edx*8]
shl edx, 1
sub edx, eax
mov eax, dword [ecx + 0x8ee0]
mov ecx, ebp
lea esi, [eax + edx*4]
lea edi, [esi + 8]
push edi
call fcn.0056b1f1
test eax, eax
je 0x4ef817
push edi
lea ecx, [ebx + 0x14]
call fcn.0056b1f1
test eax, eax
jne 0x4ef9ab
add esi, 0x14
mov ecx, ebp
push esi
call fcn.0056b227
test eax, eax
je 0x4ef837
push esi
lea ecx, [ebx + 0x14]
call fcn.0056b227
test eax, eax
jne 0x4ef9ab
mov ecx, dword [0x63fd4c]
mov eax, dword [ecx + 0x930c]
test eax, eax
je 0x4ef881
mov ecx, dword [ecx + 0x933c]
test ecx, ecx
jl 0x4ef9ab
cmp ecx, dword [0x664468]
jge 0x4ef9ab
mov ecx, dword [ebx + 0x50]
push 0
push ecx
call fcn.004c91c0
mov ecx, dword [0x63fd4c]
add esp, 8
cmp dword [ecx + 0x933c], eax
jne 0x4ef9ab
mov eax, dword [ecx + 0x9330]
test eax, eax
je 0x4ef8b0
fld qword [ebx + 0x2c]
fcomp qword [0x5daf40]
fnstsw ax
test ah, 0x40
je 0x4ef8a2
mov eax, 1
jmp 0x4ef8a4
xor eax, eax
cmp eax, dword [ecx + 0x9338]
je 0x4ef9ab
mov eax, dword [ecx + 0x932c]
test eax, eax
je 0x4ef997
fld qword [ebx + 0x20]
fcomp qword [0x5daf40]
fnstsw ax
test ah, 0x40
je 0x4ef8d5
mov edi, 1
jmp 0x4ef8d7
xor edi, edi
mov ecx, dword [ecx + 0x9334]
cmp ecx, 2
jge 0x4ef8ef
cmp edi, ecx
je 0x4ef9ab
jmp 0x4ef997
mov edx, dword [ebx + 0x50]
push 0
push edx
call fcn.004c91c0
add esp, 8
test eax, eax
jl 0x4ef9ab
mov ecx, dword [0x639698]
mov dword [esp + 0x30], ecx
mov edx, dword [ebx + 0x5c]
push eax
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esp + 0x3c]
push 0x6344f8
push ecx
mov dword [esp + 0x3c], 2
call fcn.0058aded
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
add esp, 0x14
lea eax, [esp + 0x1c]
lea esi, [edx + 0x44]
mov dword [esp + 0x1c], 1
push eax
push ecx
mov ecx, esi
call fcn.0058ec9a
test eax, eax
je 0x4ef969
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005936db
jmp 0x4ef9ab
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
call fcn.0058e65b
test edi, edi
mov dword [eax], 1
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
jne 0x4ef992
call fcn.005936db
jmp 0x4ef9ab
call fcn.005936db
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.004f1e10
test eax, eax
jne 0x4ef9d5
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.004ef9e0
test eax, eax
jne 0x4ef1c3
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, 1
jmp 0x4ef9c0