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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x68e500]
xor eax, esp
mov dword [esp + 0x78], eax
cmp byte [esp + 0x94], 0
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov eax, dword [ebx]
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], eax
jne 0x4f2130
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0xc], 0
jne 0x4f2130
mov eax, dword [edi]
xorps xmm0, xmm0
push 1
push dword [esp + 0xa4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push esi
push ebp
push ecx
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
call fcn.004f20a0
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x4f21cb
mov eax, dword [esi + 0x10]
mov edx, 1
add eax, dword [ebp + 0x10]
mov ecx, eax
neg ecx
and ecx, 7
shl edx, cl
dec edx
cmp eax, 0x60
jbe 0x4f2167
mov eax, dword [edi]
test eax, eax
je 0x4f2198
cmp dword [eax], 0
jne 0x4f2198
mov dword [eax], 0x12
jmp 0x4f2198
lea ecx, [eax + 7]
mov dword [edi + 8], eax
shr ecx, 3
mov dword [edi + 0xc], ecx
mov word [edi + 4], 0x101
test eax, eax
je 0x4f2198
xor eax, eax
test ecx, ecx
je 0x4f2190
mov byte [edi + eax + 0x10], 0xff
inc eax
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jb 0x4f2183
lea eax, [edi + ecx]
not dl
and byte [eax + 0xf], dl
cmp byte [edi + 4], 0
jne 0x4f21cb
mov eax, dword [esp + 0x24]
cmp byte [eax + 8], 0
je 0x4f27eb
mov eax, dword [edi]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov byte [ebx + 0xd], 0
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005aa453
add esp, 0x7c
ret
mov dword [ebx + 0x14], 0
lea edx, [esp + 0x7c]
mov dword [ebx + 0x18], 0
movups xmm0, xmmword [edi]
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x84], eax
movq xmm0, qword [edi + 0x10]
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], esi
cmp esi, dword [edi + 8]
ja 0x4f27eb
mov edi, dword [esp + 0x24]
cmp byte [edi + 0xf9], 0
je 0x4f2256
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
push eax
lea eax, [edi + 0x120]
xorps xmm0, xmm0
push eax
push ebx
movups xmmword [esp + 0x50], xmm0
call fcn.004f2810
lea eax, [edi + 0x10c]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.004f2810
add esp, 0x18
lea edx, [esp + 0x7c]
xor edi, edi
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x4f24d7
test byte [edx], cl
je 0x4f24b6
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
xor eax, eax
cmp edi, dword [ebp + 0x10]
jb 0x4f2295
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4f2293
cmp dword [ecx], eax
jne 0x4f2293
mov dword [ecx], 0x82
xor ecx, ecx
mov edx, dword [ebp + 8]
imul edx, ecx
add edx, dword [ebp + 0x18]
mov ebx, dword [edx + 8]
mov esi, ebx
sub esi, dword [edx + 4]
cmp esi, 0xffeb0000
jne 0x4f22bf
mov ecx, 1
mov eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x4f22eb
cmp esi, 0xffec0000
jne 0x4f22d5
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x4f22ed
mov ecx, 4
mov eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
test esi, esi
js 0x4f22eb
mov eax, dword [edx + 4]
mov esi, ecx
add eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], edi
test esi, esi
je 0x4f231d
cmp byte [edx], 0
je 0x4f231d
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x4f234b
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, edi
cmp edi, dword [ebp + 0x10]
jb 0x4f237a
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f2378
cmp dword [eax], ecx
jne 0x4f2378
mov dword [eax], 0x82
xor eax, eax
mov esi, dword [ebp + 8]
imul esi, eax
add esi, dword [ebp + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
sub eax, edx
cmp eax, 0xffeb0000
jne 0x4f23a0
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], ebx
xor edx, edx
jmp 0x4f23ca
mov ecx, edx
cmp eax, 0xffec0000
jne 0x4f23b4
mov ebx, 2
mov dword [esp + 0x58], ebx
jmp 0x4f23c4
mov ebx, 8
mov dword [esp + 0x58], ebx
test eax, eax
js 0x4f23c4
mov ecx, dword [esi + 8]
mov edx, ebx
mov dword [esp + 0x18], edx
test edx, edx
je 0x4f23db
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xe8]
lea ecx, [ecx + eax*2]
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], edi
test edx, edx
je 0x4f241a
cmp byte [esi], 0
je 0x4f241a
cmp dword [esp + 0x18], 0
je 0x4f240e
mov eax, dword [esi + 0x10]
or ebx, 0x10
mov dword [esp + 0x58], ebx
jmp 0x4f2448
mov eax, dword [esi + 0xc]
or ebx, 0x10
mov dword [esp + 0x58], ebx
jmp 0x4f2448
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30]
shr eax, 4
test al, 1
jne 0x4f247f
shr ebx, 4
test bl, 1
jne 0x4f247f
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2c]
add eax, 0xf0
push eax
call fcn.004ef840
add esp, 0xc
test al, al
je 0x4f24a6
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.004f2810
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov al, cl
not al
and byte [edx], al
jmp 0x4f24b2
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x4f24c8
inc edx
mov cl, 0x80
mov dword [esp + 0x20], edx
jmp 0x4f24ca
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x4f2266
cmp byte [esp + 0xa4], 0
je 0x4f2541
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4f24fc
cmp dword [ebx + 0x24], 0
jg 0x4f24fc
lea eax, [eax + eax*4]
cmp dword [ebx + eax*4 + 0x10], 0
jge 0x4f2778
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
movlpd qword [esp + 0x4c], xmm0
push eax
push ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0x31
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x74], 0
call fcn.004f2810
add esp, 0xc
jmp 0x4f2778
lea edx, [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x20], edx
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x4f2778
nop dword [eax]
test byte [edx], cl
je 0x4f2757
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
xor eax, eax
cmp edi, dword [ebp + 0x10]
jb 0x4f258f
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4f258d
cmp dword [ecx], eax
jne 0x4f258d
mov dword [ecx], 0x82
xor ecx, ecx
mov edx, dword [ebp + 8]
imul edx, ecx
add edx, dword [ebp + 0x18]
mov ebx, dword [edx + 8]
mov esi, ebx
sub esi, dword [edx + 4]
cmp esi, 0xffeb0000
jne 0x4f25b5
mov ecx, 1
mov eax, ebx
mov dword [esp + 0x58], ecx
jmp 0x4f25d9
cmp esi, 0xffec0000
jne 0x4f25c7
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x58], ecx
jmp 0x4f25db
mov ecx, 4
mov eax, ebx
mov dword [esp + 0x58], ecx
test esi, esi
js 0x4f25d9
mov eax, dword [edx + 4]
mov esi, ecx
add eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x5c], edi
test esi, esi
je 0x4f2607
cmp byte [edx], 0
je 0x4f2607
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x58], ecx
jmp 0x4f2635
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov eax, edi
cmp edi, dword [ebp + 0x10]
jb 0x4f2664
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f2662
cmp dword [eax], ecx
jne 0x4f2662
mov dword [eax], 0x82
xor eax, eax
mov ebx, dword [ebp + 8]
imul ebx, eax
add ebx, dword [ebp + 0x18]
mov ebp, dword [ebx + 8]
mov eax, ebp
mov esi, dword [ebx + 4]
sub eax, esi
cmp eax, 0xffeb0000
jne 0x4f268a
xor edx, edx
xor esi, esi
mov dword [esp + 0x44], edx
xor ebp, ebp
jmp 0x4f26b1
mov ecx, esi
cmp eax, 0xffec0000
jne 0x4f269e
mov edx, 2
mov dword [esp + 0x44], edx
jmp 0x4f26ad
mov edx, 8
mov dword [esp + 0x44], edx
test eax, eax
js 0x4f26ad
mov ecx, ebp
mov esi, edx
mov ebp, edx
test esi, esi
je 0x4f26c2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xe8]
lea ecx, [ecx + eax*2]
add ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], edi
test esi, esi
je 0x4f26fe
cmp byte [ebx], 0
je 0x4f26fe
test ebp, ebp
je 0x4f26f2
mov eax, dword [ebx + 0x10]
or edx, 0x10
mov dword [esp + 0x44], edx
jmp 0x4f272c
mov eax, dword [ebx + 0xc]
or edx, 0x10
mov dword [esp + 0x44], edx
jmp 0x4f272c
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.004f2810
mov ebp, dword [esp + 0x48]
add esp, 0xc
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x4f2769
inc edx
mov cl, 0x80
mov dword [esp + 0x20], edx
jmp 0x4f276b
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x4f2560
push ebx
call fcn.004f1e00
add esp, 4
cmp byte [esp + 0xa4], 0
jne 0x4f27df
xor esi, esi
cmp dword [ebx + 0x14], esi
jbe 0x4f27df
lea ecx, [ebx + 0x1c]
mov eax, dword [ecx]
shr eax, 5
test al, 1
jne 0x4f27d6
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0x10]
jb 0x4f27ba
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f27b8
cmp dword [eax], 0
jne 0x4f27b8
mov dword [eax], 0x82
xor edx, edx
mov eax, dword [ebp + 8]
imul eax, edx
mov edx, dword [ecx + 0xc]
add eax, dword [ebp + 0x18]
test byte [ecx], 0xa
je 0x4f27d0
mov dword [eax + 0x10], edx
jmp 0x4f27d3
mov dword [eax + 0xc], edx
mov byte [eax], 1
inc esi
add ecx, 0x14
cmp esi, dword [ebx + 0x14]
jb 0x4f2795
mov eax, dword [esp + 0x40]
mov byte [ebx + 0xc], 1
mov byte [eax + 5], 0
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005aa453
add esp, 0x7c
ret