Function at 0x48e55e
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 0x48e9fb
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 + 0x14], ebp
cmovb esi, ebp
mov edx, esi
shr edx, 1
cmp ecx, edx
jbe 0x48e5ba
inc esi
cmp ecx, esi
cmova esi, ecx
cmp esi, 8
jae 0x48e617
xor eax, eax
cmp esi, 4
setae al
lea eax, [eax*4 + 4]
jmp 0x48e7df
mov dword [esp + 0x10], 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 0x48e5f4
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 0x48e5de
cmp eax, 0x10
mov edi, dword [esp + 0x14]
jae 0x48e636
lea ecx, [ebx + 0x10]
push eax
push ebx
push ecx
call fcn.0047eb10
add esp, 0xc
cmp edi, 0xffffffff
jne 0x48e63f
xor ecx, ecx
jmp 0x48e7a9
cmp esi, 0x20000000
jae 0x48e9fb
shl esi, 3
cmp esi, 0xe
jae 0x48e7c1
xor eax, eax
jmp 0x48e7de
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 0x48e795
mov eax, ecx
not eax
lea eax, [eax + eax*8]
lea eax, [ebx + eax*4]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov eax, ecx
neg eax
lea eax, [eax + eax*8]
lea eax, [ebx + eax*4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
push dword [eax - 0x1c]
push dword [eax - 0x20]
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 0x48e6cc
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 0x48e6b4
mov edi, ebx
mov ebx, esi
bsf edx, edx
add edx, ecx
and edx, edi
cmp byte [ebx + edx], 0
js 0x48e6e4
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 + 0x14]
and edi, ecx
cmp edi, 0x10
jb 0x48e742
mov al, byte [ebx + edx]
mov byte [esp + 0xc], 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 + 0xc], 0xff
mov edi, ecx
je 0x48e75e
shl edx, 2
lea ecx, [edx + edx*8]
mov eax, ebx
sub eax, ecx
mov ecx, 0xffffffdc
mov dl, byte [ebp + ecx]
mov dh, byte [eax + ecx]
mov byte [ebp + ecx], dh
mov byte [eax + ecx], dl
inc ecx
jne 0x48e72c
jmp 0x48e670
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 0x48e795
not edx
lea eax, [edx + edx*8]
lea eax, [ebx + eax*4]
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
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, esi
movdqu xmm0, xmmword [edx]
movdqu xmm1, xmmword [edx + 0x10]
movdqu xmmword [eax + 0x10], xmm1
movdqu xmmword [eax], xmm0
lea eax, [ecx + 1]
add ebp, 0xffffffdc
cmp ecx, edi
mov ecx, eax
jne 0x48e647
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
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, 0x24
push eax
call fcn.00477a65
add esp, 4
mov esi, dword [esi]
test esi, esi
je 0x48e9f2
mov dword [esp + 0x10], 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 ecx, esi
mov dword [esp + 0x34], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x10]
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 esi, esi
je 0x48e98d
mov dword [esp + 0x1c], edi
mov eax, esi
mov ebx, dword [edi]
movdqa xmm0, xmmword [ebx]
pmovmskb esi, xmm0
not esi
xor edi, edi
mov dword [esp], ebx
mov edx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], edx
test si, si
jne 0x48e891
movdqa xmm0, xmmword [ebx + 0x10]
add ebx, 0x10
pmovmskb esi, xmm0
add edi, 0x10
cmp esi, 0xffff
je 0x48e878
not esi
bsf eax, esi
add eax, edi
mov dword [esp + 0x14], eax
neg eax
lea eax, [eax + eax*8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp]
push dword [ebp + eax*4 - 0x1c]
push dword [ebp + eax*4 - 0x20]
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.004141d6
add esp, 0x10
mov ecx, dword [esp + 4]
mov dword [esp + 8], eax
and ecx, eax
mov ebp, dword [esp + 0xc]
movdqu xmm0, xmmword [ebp + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x48e8fd
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 0x48e8e5
mov ebp, eax
mov eax, dword [esp + 4]
bsf edx, edx
add edx, ecx
and edx, eax
cmp byte [ebp + edx], 0
js 0x48e91b
movdqa xmm0, xmmword [ebp]
pmovmskb ecx, xmm0
bsf edx, ecx
mov eax, dword [esp + 8]
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 dword [esp + 8], eax
mov eax, dword [esp + 0x14]
not eax
lea ecx, [eax + eax*8]
not edx
lea edx, [edx + edx*8]
mov ebp, dword [esp]
mov esi, dword [ebp + ecx*4 + 0x20]
mov eax, dword [esp + 0xc]
mov dword [eax + edx*4 + 0x20], esi
movdqu xmm0, xmmword [ebp + ecx*4]
movdqu xmm1, xmmword [ebp + ecx*4 + 0x10]
mov ecx, dword [esp + 0xc]
movdqu xmmword [ecx + edx*4 + 0x10], xmm1
movdqu xmmword [ecx + edx*4], xmm0
mov edx, dword [esp + 0x20]
dec edx
mov esi, dword [esp + 8]
test edx, edx
jne 0x48e86f
mov eax, dword [esp + 0x10]
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 0x48e99b
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x48e7b4
lea eax, [ecx + 1]
mov edx, 0x24
mul edx
add eax, 0xf
and eax, 0xfffffff0
add ecx, eax
cmp ecx, 0xffffffef
je 0x48e7b4
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 0x48e7b4
mov eax, dword [esp + 0x48]
jmp 0x48e7b9
call fcn.004111e0