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

Disassembly:
push 0xffffffffffffffff
push 0x593dbe
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0xb0], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
mov dword [esp + 0xcc], 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x74], xmm0
push 8
movq qword [esp + 0x88], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0x80], eax
and eax, 0xffffff07
or eax, 7
mov dword [esp + 0x80], eax
and eax, 0xfffffeff
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call fcn.0056590a
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0xcc], 1
test esi, esi
je 0x4fb365
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004f9290
mov dword [esi], eax
mov byte [esp + 0xcc], 1
jmp 0x4fb36b
xor esi, esi
mov dword [esp + 0x50], esi
mov byte [esp + 0xcc], 0
mov dword [esp + 0x74], esi
mov byte [esp + 0xcc], 6
lea eax, [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.004fecd0
mov ecx, eax
call fcn.004fff90
mov ecx, dword [eax]
test ecx, ecx
jne 0x4fb3a2
xor esi, esi
jmp 0x4fb3a4
mov esi, dword [ecx]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + edx*4]
mov al, byte [esp + 0x7c]
mov edx, dword [esp + 0x6c]
movsx ecx, byte [esi + 8]
mov byte [esi + 8], al
mov eax, edx
xor eax, ecx
and eax, 0xff
xor edx, eax
mov dword [esp + 0x7c], edx
mov ecx, dword [esi]
mov eax, dword [esp + 0x50]
mov dword [esi], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 8]
xor eax, ecx
and eax, 0x100
mov edx, ecx
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [esi + 8], eax
mov eax, dword [esp + 0x6c]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.004fecd0
mov ecx, eax
call fcn.004fff90
mov esi, dword [eax]
test esi, esi
je 0x4fb44b
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 4]
sub eax, dword [edi + 0x40]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.004fab30
test al, al
je 0x4fb878
lea esp, [esp]
mov ecx, dword [esp + 0x38]
mov al, 1
cmp ecx, 0xc
jne 0x4fb4c5
jmp 0x4fb4a0
test al, al
je 0x4fb878
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.004fab30
mov ecx, dword [esp + 0x38]
cmp ecx, 0xc
je 0x4fb4a0
test al, al
je 0x4fb878
cmp ecx, 2
jne 0x4fb4d8
cmp dword [esp + 0xb4], 0
je 0x4fb987
cmp dword [esp + 0xb8], 0x10
lea eax, [esp + 0xa4]
mov dword [esp + 0xb4], 0
cmovae eax, dword [esp + 0xa4]
mov byte [eax], 0
cmp ecx, 5
jne 0x4fb530
lea eax, [esp + 0xa4]
mov ecx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004fc870
test al, al
jne 0x4fb748
push 2
mov ecx, edi
call fcn.004fcff0
mov byte [esp + 0x73], al
jmp 0x4fb908
cmp ecx, 6
jne 0x4fb878
cmp byte [edi + 0x6f], 0
je 0x4fb878
xorps xmm0, xmm0
movdqu xmmword [esp + 0x8c], xmm0
movq qword [esp + 0x9c], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0x94], eax
and eax, 0xffffff00
mov dword [esp + 0x94], eax
and eax, 0xfffffeff
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xcc], 0xc
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.004fc080
test al, al
je 0x4fba5f
lea ecx, [esp + 0x8c]
call fcn.004f6420
mov edx, eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
cmp byte [edx], 0
jne 0x4fb601
xor ecx, ecx
jmp 0x4fb60f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fb606
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00404560
mov byte [esp + 0xcc], 0xd
cmp dword [esp + 0xb8], 0x10
jb 0x4fb63b
push dword [esp + 0xa4]
call fcn.00564de3
add esp, 4
lea eax, [esp + 0x54]
mov dword [esp + 0xb8], 0xf
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
call fcn.00403dc0
mov byte [esp + 0xcc], 0xc
cmp dword [esp + 0x68], 0x10
jb 0x4fb685
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0xcc], 6
movsx eax, byte [esp + 0x94]
cmp eax, 4
je 0x4fb6f9
add eax, 0xfffffffa
cmp eax, 1
ja 0x4fb715
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x24], esi
test esi, esi
je 0x4fb715
mov byte [esp + 0xcc], 0xf
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [esp + 0x74]
push eax
call fcn.004f8e60
mov byte [esp + 0xcc], 6
push dword [esi]
call fcn.00564de3
add esp, 4
push esi
call fcn.00564de3
jmp 0x4fb712
test dword [esp + 0x94], 0x100
je 0x4fb715
push dword [esp + 0x8c]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4fb73c
push 0x4f5a90
push dword [eax - 4]
lea esi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push esi
call fcn.0056503c
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x8c], xmm0
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004fab30
test al, al
je 0x4fb9ff
cmp dword [esp + 0x44], 0xb
jne 0x4fb9ff
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004fecd0
mov ecx, eax
call fcn.004fff90
mov esi, dword [eax]
test esi, esi
je 0x4fb788
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
cmp dword [esp + 0xb8], 0x10
lea esi, [esp + 0xa4]
cmovae esi, dword [esp + 0xa4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*4]
lea edx, [esp + 0xa4]
cmovae edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb4]
add eax, esi
push eax
push edx
call fcn.004f74a0
mov edi, dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
call fcn.004fd850
mov ecx, edi
call fcn.004fa520
dec dword [edi + 0x10]
jne 0x4fb7ff
mov dword [edi + 0xc], 0
mov ecx, edi
test al, al
je 0x4fb9ef
lea eax, [esp + 0x2c]
push eax
call fcn.004fab30
test al, al
je 0x4fb991
mov eax, dword [esp + 0x2c]
cmp eax, 2
je 0x4fb832
cmp eax, 0xa
je 0x4fb832
cmp eax, 0xc
jne 0x4fb991
mov cl, 1
cmp eax, 0xc
jne 0x4fb85b
lea esp, [esp]
test cl, cl
je 0x4fb85b
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.004fab30
mov cl, al
mov eax, dword [esp + 0x2c]
cmp eax, 0xc
je 0x4fb840
cmp eax, 2
je 0x4fb987
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.004fab30
test al, al
jne 0x4fb490
push 0x5be288
lea ecx, [esp + 0x58]
call fcn.004039b0
mov byte [esp + 0xcc], 0x14
lea eax, [esp + 0x38]
push 0
push eax
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004fcee0
mov esi, dword [edi + 0x24]
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004fab30
test al, al
jne 0x4fb8bd
push esi
lea ecx, [edi + 0x14]
call fcn.004fd2e0
mov eax, dword [esp + 0x44]
cmp eax, 2
je 0x4fb8ca
test eax, eax
jne 0x4fb8a4
push esi
lea ecx, [edi + 0x14]
call fcn.004fd2e0
mov byte [esp + 0x73], 0
mov byte [esp + 0xcc], 6
cmp dword [esp + 0x68], 0x10
jb 0x4fb8f3
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0xcc], 0
lea ecx, [esp + 0x74]
call fcn.004f6200
mov dword [esp + 0xcc], 0xffffffff
cmp dword [esp + 0xb8], 0x10
jb 0x4fb93d
push dword [esp + 0xa4]
call fcn.00564de3
add esp, 4
mov al, byte [esp + 0x73]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00564de8
add esp, 0xc4
ret 4
mov byte [esp + 0x73], 1
jmp 0x4fb908
push 0x5be25c
lea ecx, [esp + 0x58]
call fcn.004039b0
mov byte [esp + 0xcc], 0x13
lea eax, [esp + 0x2c]
push 0
push eax
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004fcee0
mov esi, dword [edi + 0x24]
lea ecx, [ecx]
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004fab30
test al, al
jne 0x4fb9d9
push esi
lea ecx, [edi + 0x14]
call fcn.004fd2e0
mov eax, dword [esp + 0x44]
cmp eax, 2
je 0x4fb8ca
test eax, eax
jne 0x4fb9c0
jmp 0x4fb8ca
push 2
call fcn.004fcff0
mov byte [esp + 0x73], al
jmp 0x4fb908
push 0x5be2b0
lea ecx, [esp + 0x58]
call fcn.004039b0
mov byte [esp + 0xcc], 0x12
lea eax, [esp + 0x44]
push 0
push eax
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004fcee0
mov esi, dword [edi + 0x24]
jmp 0x4fba30
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004fab30
test al, al
jne 0x4fba49
push esi
lea ecx, [edi + 0x14]
call fcn.004fd2e0
mov eax, dword [esp + 0x44]
cmp eax, 2
je 0x4fb8ca
test eax, eax
jne 0x4fba30
jmp 0x4fb8ca
push 2
mov ecx, edi
call fcn.004fcff0
mov byte [esp + 0x73], al
mov byte [esp + 0xcc], 6
lea ecx, [esp + 0x8c]
call fcn.004f6200
jmp 0x4fb908