Function at 0x48ea00
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 0x48ee91
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 + 0xc], ebp
cmovb esi, ebp
mov edx, esi
shr edx, 1
cmp ecx, edx
jbe 0x48ea5c
inc esi
cmp ecx, esi
cmova esi, ecx
cmp esi, 8
jae 0x48eab9
xor eax, eax
cmp esi, 4
setae al
lea eax, [eax*4 + 4]
jmp 0x48ec86
mov dword [esp + 8], ebx
mov edx, eax
shr edx, 4
xor ecx, ecx
test al, 0xf
setne cl
mov dword [esp + 0x1c], edi
mov ebx, dword [edi]
add ecx, edx
je 0x48ea96
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 0x48ea80
cmp eax, 0x10
mov edi, dword [esp + 0xc]
jae 0x48ead8
lea ecx, [ebx + 0x10]
push eax
push ebx
push ecx
call fcn.0047eb10
add esp, 0xc
cmp edi, 0xffffffff
jne 0x48eae1
xor ecx, ecx
jmp 0x48ec50
cmp esi, 0x20000000
jae 0x48ee91
shl esi, 3
cmp esi, 0xe
jae 0x48ec68
xor eax, eax
jmp 0x48ec85
movdqu xmm0, xmmword [ebx]
movdqu xmmword [ebx + eax], xmm0
mov dword [esp + 0x18], esi
xor ecx, ecx
mov ebp, ebx
cmp byte [ebx + ecx], 0x80
jne 0x48ec39
mov eax, ecx
not eax
lea eax, [eax + eax*4]
shl eax, 5
add eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov eax, ecx
neg eax
lea eax, [eax + eax*4]
shl eax, 5
add eax, ebx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
push dword [eax - 0x98]
push dword [eax - 0x9c]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.004141d6
add esp, 0x10
mov ecx, edi
mov dword [esp + 4], eax
and ecx, eax
mov eax, ecx
movdqu xmm0, xmmword [ebx + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x48eb78
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 0x48eb60
mov edi, ebx
mov ebx, esi
bsf edx, edx
add edx, ecx
and edx, edi
cmp byte [ebx + edx], 0
js 0x48eb90
movdqa xmm0, xmmword [ebx]
pmovmskb ecx, xmm0
bsf edx, ecx
mov ecx, dword [esp]
sub ecx, eax
mov edi, edx
sub edi, eax
xor edi, ecx
mov ecx, dword [esp + 0xc]
and edi, ecx
cmp edi, 0x10
jb 0x48ebee
mov al, byte [ebx + edx]
mov byte [esp + 0x14], al
mov eax, dword [esp + 4]
shr eax, 0x19
lea esi, [edx - 0x10]
and esi, ecx
mov byte [ebx + edx], al
mov byte [esi + ebx + 0x10], al
cmp byte [esp + 0x14], 0xff
mov edi, ecx
je 0x48ec0a
shl edx, 5
lea ecx, [edx + edx*4]
mov eax, ebx
sub eax, ecx
mov ecx, 0xffffff60
mov dl, byte [ebp + ecx]
mov dh, byte [eax + ecx]
mov byte [ebp + ecx], dh
mov byte [eax + ecx], dl
inc ecx
jne 0x48ebd8
jmp 0x48eb16
mov eax, dword [esp + 4]
shr eax, 0x19
mov esi, dword [esp]
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 0x48ec39
not edx
lea eax, [edx + edx*4]
shl eax, 5
add eax, ebx
mov esi, dword [esp]
lea ecx, [esi - 0x10]
and ecx, edi
mov dl, 0xff
mov byte [ebx + esi], dl
mov byte [ecx + ebx + 0x10], dl
push 0xa0
push dword [esp + 0x24]
push eax
call fcn.0047eb10
mov ecx, esi
add esp, 0xc
lea eax, [ecx + 1]
add ebp, 0xffffff60
cmp ecx, edi
mov ecx, eax
jne 0x48eae9
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
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, 0xa0
push eax
call fcn.00477a65
add esp, 4
mov esi, dword [esi]
test esi, esi
je 0x48ee88
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
lea eax, [ebx + 0x11]
push eax
push 0xff
push esi
call fcn.0047f090
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [esp]
mov dword [esp + 0x40], eax
xor edx, edx
mov eax, 0
test ecx, ecx
je 0x48ee29
mov dword [esp + 0x1c], edi
mov eax, ecx
mov ebx, dword [edi]
movdqa xmm0, xmmword [ebx]
pmovmskb esi, xmm0
not esi
xor edi, edi
mov dword [esp], ebx
mov dword [esp + 0x10], ecx
test si, si
jne 0x48ed34
movdqa xmm0, xmmword [ebx + 0x10]
add ebx, 0x10
pmovmskb esi, xmm0
add edi, 0x10
cmp esi, 0xffff
je 0x48ed1b
not esi
bsf eax, esi
add eax, edi
mov dword [esp + 0xc], eax
neg eax
lea eax, [eax + eax*4]
shl eax, 5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp]
push dword [ebp + eax - 0x98]
push dword [ebp + eax - 0x9c]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.004141d6
add esp, 0x10
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], eax
and ecx, eax
mov ebp, dword [esp + 0x14]
movdqu xmm0, xmmword [ebp + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x48eda9
mov eax, ebp
mov ebp, 0x10
add ecx, ebp
and ecx, dword [esp + 4]
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
add ebp, 0x10
test edx, edx
je 0x48ed91
mov ebp, eax
mov eax, dword [esp + 4]
bsf edx, edx
add edx, ecx
and edx, eax
cmp byte [ebp + edx], 0
js 0x48edc7
movdqa xmm0, xmmword [ebp]
pmovmskb ecx, xmm0
bsf edx, ecx
mov eax, dword [esp + 0x20]
shr eax, 0x19
lea ecx, [edx - 0x10]
and ecx, dword [esp + 4]
mov byte [ebp + edx], al
mov byte [ecx + ebp + 0x10], al
lea eax, [esi - 1]
and eax, esi
mov esi, eax
mov ebp, dword [esp + 0x10]
dec ebp
mov eax, dword [esp + 0xc]
not eax
lea eax, [eax + eax*4]
shl eax, 5
add eax, dword [esp]
not edx
lea ecx, [edx + edx*4]
shl ecx, 5
add ecx, dword [esp + 0x14]
push 0xa0
push eax
push ecx
call fcn.0047eb10
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x48ed16
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esp + 0x18]
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 0x48ee37
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x48ec5b
lea eax, [ecx + 1]
mov edx, 0xa0
mul edx
add ecx, eax
cmp ecx, 0xffffffef
je 0x48ec5b
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 0x48ec5b
mov eax, dword [esp + 0x48]
jmp 0x48ec60
call fcn.004111e0