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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x68f500]
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 0x4f3000
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0xc], 0
jne 0x4f3000
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.004f2f70
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x4f309b
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 0x4f3037
mov eax, dword [edi]
test eax, eax
je 0x4f3068
cmp dword [eax], 0
jne 0x4f3068
mov dword [eax], 0x12
jmp 0x4f3068
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 0x4f3068
xor eax, eax
test ecx, ecx
je 0x4f3060
mov byte [edi + eax + 0x10], 0xff
inc eax
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jb 0x4f3053
lea eax, [edi + ecx]
not dl
and byte [eax + 0xf], dl
cmp byte [edi + 4], 0
jne 0x4f309b
mov eax, dword [esp + 0x24]
cmp byte [eax + 8], 0
je 0x4f36bb
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.005ab3d6
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 0x4f36bb
mov edi, dword [esp + 0x24]
cmp byte [edi + 0xf9], 0
je 0x4f3126
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.004f36e0
lea eax, [edi + 0x10c]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.004f36e0
add esp, 0x18
lea edx, [esp + 0x7c]
xor edi, edi
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x4f33a7
test byte [edx], cl
je 0x4f3386
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 0x4f3165
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4f3163
cmp dword [ecx], eax
jne 0x4f3163
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 0x4f318f
mov ecx, 1
mov eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x4f31bb
cmp esi, 0xffec0000
jne 0x4f31a5
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x4f31bd
mov ecx, 4
mov eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
test esi, esi
js 0x4f31bb
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 0x4f31ed
cmp byte [edx], 0
je 0x4f31ed
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
jmp 0x4f321b
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 0x4f324a
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f3248
cmp dword [eax], ecx
jne 0x4f3248
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 0x4f3270
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], ebx
xor edx, edx
jmp 0x4f329a
mov ecx, edx
cmp eax, 0xffec0000
jne 0x4f3284
mov ebx, 2
mov dword [esp + 0x58], ebx
jmp 0x4f3294
mov ebx, 8
mov dword [esp + 0x58], ebx
test eax, eax
js 0x4f3294
mov ecx, dword [esi + 8]
mov edx, ebx
mov dword [esp + 0x18], edx
test edx, edx
je 0x4f32ab
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 0x4f32ea
cmp byte [esi], 0
je 0x4f32ea
cmp dword [esp + 0x18], 0
je 0x4f32de
mov eax, dword [esi + 0x10]
or ebx, 0x10
mov dword [esp + 0x58], ebx
jmp 0x4f3318
mov eax, dword [esi + 0xc]
or ebx, 0x10
mov dword [esp + 0x58], ebx
jmp 0x4f3318
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 0x4f334f
shr ebx, 4
test bl, 1
jne 0x4f334f
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2c]
add eax, 0xf0
push eax
call fcn.004f0710
add esp, 0xc
test al, al
je 0x4f3376
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.004f36e0
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov al, cl
not al
and byte [edx], al
jmp 0x4f3382
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 0x4f3398
inc edx
mov cl, 0x80
mov dword [esp + 0x20], edx
jmp 0x4f339a
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x4f3136
cmp byte [esp + 0xa4], 0
je 0x4f3411
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4f33cc
cmp dword [ebx + 0x24], 0
jg 0x4f33cc
lea eax, [eax + eax*4]
cmp dword [ebx + eax*4 + 0x10], 0
jge 0x4f3648
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.004f36e0
add esp, 0xc
jmp 0x4f3648
lea edx, [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x20], edx
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x4f3648
nop dword [eax]
test byte [edx], cl
je 0x4f3627
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 0x4f345f
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4f345d
cmp dword [ecx], eax
jne 0x4f345d
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 0x4f3485
mov ecx, 1
mov eax, ebx
mov dword [esp + 0x58], ecx
jmp 0x4f34a9
cmp esi, 0xffec0000
jne 0x4f3497
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x58], ecx
jmp 0x4f34ab
mov ecx, 4
mov eax, ebx
mov dword [esp + 0x58], ecx
test esi, esi
js 0x4f34a9
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 0x4f34d7
cmp byte [edx], 0
je 0x4f34d7
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x58], ecx
jmp 0x4f3505
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 0x4f3534
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f3532
cmp dword [eax], ecx
jne 0x4f3532
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 0x4f355a
xor edx, edx
xor esi, esi
mov dword [esp + 0x44], edx
xor ebp, ebp
jmp 0x4f3581
mov ecx, esi
cmp eax, 0xffec0000
jne 0x4f356e
mov edx, 2
mov dword [esp + 0x44], edx
jmp 0x4f357d
mov edx, 8
mov dword [esp + 0x44], edx
test eax, eax
js 0x4f357d
mov ecx, ebp
mov esi, edx
mov ebp, edx
test esi, esi
je 0x4f3592
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 0x4f35ce
cmp byte [ebx], 0
je 0x4f35ce
test ebp, ebp
je 0x4f35c2
mov eax, dword [ebx + 0x10]
or edx, 0x10
mov dword [esp + 0x44], edx
jmp 0x4f35fc
mov eax, dword [ebx + 0xc]
or edx, 0x10
mov dword [esp + 0x44], edx
jmp 0x4f35fc
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.004f36e0
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 0x4f3639
inc edx
mov cl, 0x80
mov dword [esp + 0x20], edx
jmp 0x4f363b
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x4f3430
push ebx
call fcn.004f2cd0
add esp, 4
cmp byte [esp + 0xa4], 0
jne 0x4f36af
xor esi, esi
cmp dword [ebx + 0x14], esi
jbe 0x4f36af
lea ecx, [ebx + 0x1c]
mov eax, dword [ecx]
shr eax, 5
test al, 1
jne 0x4f36a6
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0x10]
jb 0x4f368a
mov eax, dword [ebp + 4]
test eax, eax
je 0x4f3688
cmp dword [eax], 0
jne 0x4f3688
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 0x4f36a0
mov dword [eax + 0x10], edx
jmp 0x4f36a3
mov dword [eax + 0xc], edx
mov byte [eax], 1
inc esi
add ecx, 0x14
cmp esi, dword [ebx + 0x14]
jb 0x4f3665
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.005ab3d6
add esp, 0x7c
ret