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

Disassembly:
sub esp, 0x64
cmp byte [esp + 0x74], 0
push ebx
push ebp
mov ebp, dword [esp + 0x74]
mov ebx, edx
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov dword [esp + 0x14], eax
jne 0x10048951
mov ecx, dword [edi + 4]
cmp byte [ecx + 0xc], 0
jne 0x10048951
mov eax, dword [ebp]
xorps xmm0, xmm0
push 1
push dword [esp + 0x84]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push esi
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
call fcn.100488f0
cmp byte [ebp + 4], 0
jne 0x100489e5
mov eax, dword [ebx + 0x14]
mov edx, 1
add eax, dword [esi + 0x14]
mov ecx, eax
neg ecx
and ecx, 7
shl edx, cl
dec edx
cmp eax, 0x60
jbe 0x10048989
mov eax, dword [ebp]
test eax, eax
je 0x100489ba
cmp dword [eax], 0
jne 0x100489ba
mov dword [eax], 0x12
jmp 0x100489ba
lea ecx, [eax + 7]
mov dword [ebp + 8], eax
shr ecx, 3
mov dword [ebp + 0xc], ecx
mov word [ebp + 4], 0x101
test eax, eax
je 0x100489ba
xor eax, eax
test ecx, ecx
je 0x100489b2
mov byte [eax + ebp + 0x10], 0xff
inc eax
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jb 0x100489a5
lea eax, [ecx + ebp]
not dl
and byte [eax + 0xf], dl
cmp byte [ebp + 4], 0
jne 0x100489e5
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
je 0x10048f80
mov eax, dword [ebp]
mov dword [eax], 0
mov byte [edi + 0xd], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
mov dword [edi + 0x14], 0
lea edx, [esp + 0x64]
mov dword [edi + 0x18], 0
movups xmm0, xmmword [ebp]
mov esi, dword [ebx + 0x14]
mov eax, dword [ebp + 0x18]
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x6c], eax
movq xmm0, qword [ebp + 0x10]
movq qword [esp + 0x64], xmm0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
cmp esi, dword [ebp + 8]
ja 0x10048f80
mov ebp, dword [esp + 0x14]
cmp byte [ebp + 0xf9], 0
je 0x10048a6b
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0
xorps xmm0, xmm0
lea edx, [ebp + 0x120]
push eax
mov ecx, edi
movups xmmword [esp + 0x44], xmm0
call fcn.10048700
lea eax, [ebp + 0x10c]
mov ecx, edi
push eax
lea edx, [esp + 0x44]
call fcn.10048700
lea edx, [esp + 0x64]
mov al, 0x80
xor ebp, ebp
mov byte [esp + 0x78], al
test esi, esi
je 0x10048ca6
nop dword [eax + eax]
test byte [edx], al
je 0x10048c73
mov eax, dword [edi + 0x10]
xor esi, esi
mov dword [esp + 0x28], eax
mov eax, ebp
cmp ebp, dword [ebx + 0x14]
jb 0x10048aab
mov eax, dword [ebx + 4]
test eax, eax
je 0x10048aa9
cmp dword [eax], esi
jne 0x10048aa9
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ebx + 8]
imul edx, eax
add edx, dword [ebx + 0x1c]
mov ecx, dword [edx + 8]
mov eax, ecx
mov edi, dword [edx + 4]
sub eax, edi
cmp eax, 0xffeb0000
jne 0x10048ace
mov esi, ecx
mov ecx, 1
jmp 0x10048ae6
cmp eax, 0xffec0000
jne 0x10048ad9
xor ecx, ecx
jmp 0x10048ae6
mov esi, ecx
test eax, eax
js 0x10048ae1
mov esi, edi
mov ecx, 4
mov edi, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], ecx
and edi, 0xa
je 0x10048b02
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea esi, [esi + eax*2]
add esi, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebp
test ecx, ecx
je 0x10048b46
cmp byte [edx], 0
je 0x10048b46
test edi, edi
je 0x10048b36
mov eax, dword [edx + 0x10]
or ecx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], ecx
jmp 0x10048b4f
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x40], ecx
jmp 0x10048b4f
mov edx, eax
mov ecx, esi
call fcn.1002e7c0
mov dword [esp + 0x4c], eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, ebp
cmp ebp, dword [ebx + 0x14]
jb 0x10048b7a
mov eax, dword [ebx + 4]
test eax, eax
je 0x10048b78
cmp dword [eax], ecx
jne 0x10048b78
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ebx + 8]
imul edx, eax
add edx, dword [ebx + 0x1c]
mov edi, dword [edx + 8]
mov eax, edi
mov esi, dword [edx + 4]
sub eax, esi
cmp eax, 0xffeb0000
jne 0x10048b98
xor ebx, ebx
jmp 0x10048bb3
mov ecx, esi
cmp eax, 0xffec0000
jne 0x10048ba8
mov ebx, 2
jmp 0x10048bb3
mov ebx, 8
test eax, eax
js 0x10048bb3
mov ecx, edi
mov edi, dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x2c], ebx
and esi, 0xa
je 0x10048bcb
mov eax, dword [edi + 0xe8]
lea ecx, [ecx + eax*2]
add ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
test ebx, ebx
je 0x10048c07
cmp byte [edx], 0
je 0x10048c07
test esi, esi
je 0x10048bfb
mov eax, dword [edx + 0x10]
or ebx, 0x10
mov dword [esp + 0x2c], ebx
jmp 0x10048c0e
mov eax, dword [edx + 0xc]
or ebx, 0x10
mov dword [esp + 0x2c], ebx
jmp 0x10048c0e
mov edx, eax
call fcn.1002e7c0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
shr eax, 4
test al, 1
jne 0x10048c3d
shr ebx, 4
test bl, 1
jne 0x10048c3d
lea eax, [esp + 0x2c]
push eax
lea ecx, [edi + 0xf0]
lea edx, [esp + 0x44]
call fcn.100475f0
test al, al
je 0x10048c5f
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
mov ecx, edi
call fcn.10048700
mov edx, dword [esp + 0x20]
mov ah, byte [esp + 0x78]
not ah
and byte [edx], ah
jmp 0x10048c67
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov al, byte [esp + 0x78]
mov ebx, dword [esp + 0x1c]
mov ecx, ebp
and ecx, 7
cmp ecx, 7
jne 0x10048c84
mov byte [esp + 0x78], 0x80
jmp 0x10048c8a
shr al, 1
mov byte [esp + 0x78], al
inc ebp
lea eax, [edx + 1]
cmp ecx, 7
cmovne eax, edx
mov edx, eax
mov al, byte [esp + 0x78]
mov dword [esp + 0x20], edx
cmp ebp, esi
jb 0x10048a80
cmp byte [esp + 0x84], 0
je 0x10048d10
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10048cc7
cmp dword [edi + 0x24], 0
jg 0x10048cc7
lea eax, [eax + eax*4]
cmp dword [edi + eax*4 + 0x10], 0
jge 0x10048d04
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x40]
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x44], xmm0
push eax
mov ecx, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0x31
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
call fcn.10048700
mov ecx, edi
call fcn.10048490
jmp 0x10048f74
lea ebp, [esp + 0x64]
mov dl, 0x80
xor ebx, ebx
mov dword [esp + 0x78], ebp
mov byte [esp + 0x84], dl
test esi, esi
je 0x10048f0b
nop dword [eax + eax]
test byte [ebp], dl
je 0x10048edc
mov ebp, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov eax, ebx
cmp ebx, dword [ebp + 0x14]
jb 0x10048d60
mov eax, dword [ebp + 4]
test eax, eax
je 0x10048d5e
cmp dword [eax], esi
jne 0x10048d5e
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ebp + 8]
imul edx, eax
add edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 8]
mov eax, ecx
mov edi, dword [edx + 4]
sub eax, edi
cmp eax, 0xffeb0000
jne 0x10048d83
mov esi, ecx
mov ecx, 1
jmp 0x10048d9b
cmp eax, 0xffec0000
jne 0x10048d8e
xor ecx, ecx
jmp 0x10048d9b
mov esi, ecx
test eax, eax
js 0x10048d96
mov esi, edi
mov ecx, 4
mov edi, ecx
mov dword [esp + 0x2c], ecx
and edi, 0xa
je 0x10048db3
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea esi, [esi + eax*2]
add esi, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
test ecx, ecx
je 0x10048def
cmp byte [edx], 0
je 0x10048def
test edi, edi
je 0x10048de3
mov eax, dword [edx + 0x10]
or ecx, 0x10
mov dword [esp + 0x2c], ecx
jmp 0x10048df8
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x2c], ecx
jmp 0x10048df8
mov edx, eax
mov ecx, esi
call fcn.1002e7c0
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x10]
mov eax, ebx
cmp ebx, dword [ecx + 0x14]
jb 0x10048e23
mov eax, dword [ecx + 4]
test eax, eax
je 0x10048e21
cmp dword [eax], esi
jne 0x10048e21
mov dword [eax], 0x82
xor eax, eax
mov edx, dword [ecx + 8]
imul edx, eax
add edx, dword [ecx + 0x1c]
mov edi, dword [edx + 8]
mov eax, edi
mov ecx, dword [edx + 4]
sub eax, ecx
cmp eax, 0xffeb0000
jne 0x10048e41
xor ecx, ecx
jmp 0x10048e5c
mov esi, ecx
cmp eax, 0xffec0000
jne 0x10048e51
mov ecx, 2
jmp 0x10048e5c
test eax, eax
js 0x10048e57
mov esi, edi
mov ecx, 8
mov edi, ecx
mov dword [esp + 0x40], ecx
and edi, 0xa
je 0x10048e74
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe8]
lea esi, [esi + eax*2]
add esi, dword [esp + 0x80]
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x44], ebx
test ecx, ecx
je 0x10048eac
cmp byte [edx], 0
je 0x10048eac
test edi, edi
je 0x10048ea0
mov eax, dword [edx + 0x10]
or ecx, 0x10
mov dword [esp + 0x40], ecx
jmp 0x10048eb5
mov eax, dword [edx + 0xc]
or ecx, 0x10
mov dword [esp + 0x40], ecx
jmp 0x10048eb5
mov edx, ebp
mov ecx, esi
call fcn.1002e7c0
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov ecx, edi
lea eax, [esp + 0x40]
push eax
call fcn.10048700
mov dl, byte [esp + 0x84]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
mov ecx, ebx
and ecx, 7
cmp ecx, 7
jne 0x10048eea
mov dl, 0x80
jmp 0x10048eec
shr dl, 1
inc ebx
mov byte [esp + 0x84], dl
cmp ecx, 7
lea eax, [ebp + 1]
cmovne eax, ebp
mov ebp, eax
mov dword [esp + 0x78], ebp
cmp ebx, esi
jb 0x10048d30
mov ecx, edi
call fcn.10048490
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp dword [ebx + 0x14], edi
jbe 0x10048f72
mov ebp, dword [esp + 0x1c]
lea edx, [ebx + 0x1c]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 5
test al, 1
jne 0x10048f69
mov esi, dword [edx + 4]
cmp esi, dword [ebp + 0x14]
jb 0x10048f4d
mov eax, dword [ebp + 4]
test eax, eax
je 0x10048f4b
cmp dword [eax], 0
jne 0x10048f4b
mov dword [eax], 0x82
mov ecx, dword [edx]
xor esi, esi
mov eax, dword [ebp + 8]
imul eax, esi
mov esi, dword [edx + 0xc]
add eax, dword [ebp + 0x1c]
test cl, 0xa
je 0x10048f63
mov dword [eax + 0x10], esi
jmp 0x10048f66
mov dword [eax + 0xc], esi
mov byte [eax], 1
inc edi
add edx, 0x14
cmp edi, dword [ebx + 0x14]
jb 0x10048f24
mov edi, ebx
mov eax, dword [esp + 0x7c]
mov byte [edi + 0xc], 1
mov byte [eax + 5], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10