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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov dword [esp + 0x24], edx
mov edi, ecx
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
inc ecx
je 0x48f31a
mov ebp, dword [edi + 4]
lea eax, [ebp + 1]
mov edx, eax
shr edx, 3
mov esi, eax
and esi, 0xfffffff8
sub esi, edx
cmp ebp, 8
mov dword [esp + 0x10], ebp
cmovb esi, ebp
mov edx, esi
shr edx, 1
cmp ecx, edx
jbe 0x48eef2
inc esi
cmp ecx, esi
cmova esi, ecx
cmp esi, 8
jae 0x48ef4f
xor eax, eax
cmp esi, 4
setae al
lea eax, [eax*4 + 4]
jmp 0x48f112
mov dword [esp + 0xc], ebx
mov edx, eax
shr edx, 4
xor ecx, ecx
test al, 0xf
setne cl
mov dword [esp + 0x18], edi
mov ebx, dword [edi]
add ecx, edx
je 0x48ef2c
movdqa xmm0, xmmword [0x4936b0]
mov edx, ebx
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [edx]
por xmm1, xmm0
movdqa xmmword [edx], xmm1
add edx, 0x10
dec ecx
jne 0x48ef16
cmp eax, 0x10
mov edi, dword [esp + 0x10]
jae 0x48ef6e
lea ecx, [ebx + 0x10]
push eax
push ebx
push ecx
call fcn.0047eb10
add esp, 0xc
cmp edi, 0xffffffff
jne 0x48ef77
xor ecx, ecx
jmp 0x48f0dc
cmp esi, 0x20000000
jae 0x48f31a
shl esi, 3
cmp esi, 0xe
jae 0x48f0f4
xor eax, eax
jmp 0x48f111
movdqu xmm0, xmmword [ebx]
movdqu xmmword [ebx + eax], xmm0
mov dword [esp + 0x14], esi
xor ecx, ecx
mov ebp, ebx
cmp byte [ebx + ecx], 0x80
jne 0x48f0c8
mov eax, ecx
not eax
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], ecx
mov eax, ecx
neg eax
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
push dword [eax - 0x10]
push dword [eax - 0x14]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.004141d6
add esp, 0x10
mov ecx, edi
mov dword [esp], eax
and ecx, eax
mov eax, ecx
movdqu xmm0, xmmword [ebx + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x48f004
mov esi, ebx
mov ebx, edi
mov edi, 0x10
mov ecx, eax
add ecx, edi
and ecx, ebx
movdqu xmm0, xmmword [esi + ecx]
pmovmskb edx, xmm0
add edi, 0x10
test edx, edx
je 0x48efec
mov edi, ebx
mov ebx, esi
bsf edx, edx
add edx, ecx
and edx, edi
cmp byte [ebx + edx], 0
js 0x48f01c
movdqa xmm0, xmmword [ebx]
pmovmskb ecx, xmm0
bsf edx, ecx
mov ecx, dword [esp + 8]
sub ecx, eax
mov edi, edx
sub edi, eax
xor edi, ecx
mov ecx, dword [esp + 0x10]
and edi, ecx
cmp edi, 0x10
jb 0x48f07a
mov al, byte [ebx + edx]
mov byte [esp + 4], al
mov eax, dword [esp]
shr eax, 0x19
lea esi, [edx - 0x10]
and esi, ecx
mov byte [ebx + edx], al
mov byte [esi + ebx + 0x10], al
cmp byte [esp + 4], 0xff
mov edi, ecx
je 0x48f096
shl edx, 3
lea ecx, [edx + edx*2]
mov eax, ebx
sub eax, ecx
mov ecx, 0xffffffe8
mov dl, byte [ebp + ecx]
mov dh, byte [eax + ecx]
mov byte [ebp + ecx], dh
mov byte [eax + ecx], dl
inc ecx
jne 0x48f064
jmp 0x48efa9
mov eax, dword [esp]
shr eax, 0x19
mov esi, dword [esp + 8]
lea edx, [esi - 0x10]
and edx, ecx
mov byte [ebx + esi], al
mov byte [edx + ebx + 0x10], al
mov edi, ecx
mov ecx, esi
jmp 0x48f0c8
not edx
lea eax, [edx + edx*2]
lea eax, [ebx + eax*8]
mov esi, dword [esp + 8]
lea ecx, [esi - 0x10]
and ecx, edi
mov dl, 0xff
mov byte [ebx + esi], dl
mov byte [ecx + ebx + 0x10], dl
mov ecx, esi
mov edx, dword [esp + 0x1c]
movsd xmm0, qword [edx + 0x10]
movsd qword [eax + 0x10], xmm0
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
lea eax, [ecx + 1]
add ebp, 0xffffffe8
cmp ecx, edi
mov ecx, eax
jne 0x48ef7f
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, 0x80000001
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x24924925
mov eax, esi
mul ecx
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 2
dec esi
bsr ecx, esi
not ecx
xor eax, eax
dec eax
shr eax, cl
inc eax
lea esi, [esp + 0x44]
mov ecx, esi
mov edx, 0x18
push eax
call fcn.00477a65
add esp, 4
mov esi, dword [esi]
test esi, esi
je 0x48f311
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [ebx + 0x11]
push eax
push 0xff
push esi
call fcn.0047f090
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x34], esi
mov dword [esp], ebx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
xor edx, edx
mov eax, 0
test esi, esi
je 0x48f2ac
mov dword [esp + 0x18], edi
mov eax, esi
mov ebx, dword [edi]
movdqa xmm0, xmmword [ebx]
pmovmskb esi, xmm0
not esi
xor edi, edi
mov dword [esp + 4], ebx
mov edx, eax
mov ebp, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], edx
test si, si
jne 0x48f1c8
movdqa xmm0, xmmword [ebx + 0x10]
add ebx, 0x10
pmovmskb esi, xmm0
add edi, 0x10
cmp esi, 0xffff
je 0x48f1af
not esi
bsf eax, esi
add eax, edi
mov dword [esp + 0x20], eax
neg eax
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 4]
push dword [ebp + eax*8 - 0x10]
push dword [ebp + eax*8 - 0x14]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.004141d6
add esp, 0x10
mov ecx, dword [esp]
mov dword [esp + 0x10], eax
and ecx, eax
mov ebp, dword [esp + 0x1c]
movdqu xmm0, xmmword [ebp + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x48f233
mov eax, ebp
mov ebp, 0x10
add ecx, ebp
and ecx, dword [esp]
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
add ebp, 0x10
test edx, edx
je 0x48f21c
mov ebp, eax
mov eax, dword [esp]
bsf edx, edx
add edx, ecx
and edx, eax
cmp byte [ebp + edx], 0
js 0x48f250
movdqa xmm0, xmmword [ebp]
pmovmskb ecx, xmm0
bsf edx, ecx
mov eax, dword [esp + 0x10]
shr eax, 0x19
lea ecx, [edx - 0x10]
and ecx, dword [esp]
mov byte [ebp + edx], al
mov byte [ecx + ebp + 0x10], al
lea eax, [esi - 1]
and eax, esi
mov ecx, dword [esp + 0x20]
not ecx
lea ecx, [ecx + ecx*2]
not edx
lea edx, [edx + edx*2]
mov esi, dword [esp + 4]
movsd xmm0, qword [esi + ecx*8 + 0x10]
movsd qword [ebp + edx*8 + 0x10], xmm0
movdqu xmm0, xmmword [esi + ecx*8]
movdqu xmmword [ebp + edx*8], xmm0
mov edx, dword [esp + 8]
dec edx
mov esi, eax
test edx, edx
jne 0x48f1a6
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [edi + edx*4]
mov ecx, dword [esp + edx*4 + 0x34]
mov dword [edi + edx*4], ecx
mov dword [esp + edx*4 + 0x34], eax
inc edx
cmp edx, 4
jne 0x48f2ba
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x48f0e7
lea eax, [ecx + 1]
mov edx, 0x18
mul edx
add eax, 0xf
and eax, 0xfffffff0
add ecx, eax
cmp ecx, 0xffffffef
je 0x48f0e7
mov ecx, dword [esp + 0x34]
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x4c0b18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x48f0e7
mov eax, dword [esp + 0x48]
jmp 0x48f0ec
call fcn.004111e0