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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xc0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
movdqa xmm0, xmmword [0x74c870]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x7c], 0
movaps xmmword [esp + 0x40], xmm0
shld edx, eax, 3
shl eax, 3
cmp edx, 0
movdqa xmm0, xmmword [0x74c880]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
movaps xmmword [esp + 0x50], xmm0
pxor xmm0, xmm0
mov dword [esp + 0x70], 0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
ja 0x486b4a
cmp eax, 0x1ff
jbe 0x486e00
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [ebp + 8], ebx
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x2c], ecx
mov eax, esi
mov edx, edi
add eax, 0xfffffe00
adc edx, 0xffffffff
mov dword [esp + 0x18], eax
and eax, 0x1ff
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
mov ebx, eax
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebx
add ebx, 0x40
mov dword [esp], eax
call fcn.00484fa0
mov edx, dword [esp + 0x28]
add esi, 0xfffffe00
adc edi, 0xffffffff
mov ecx, edi
xor edx, esi
or ecx, edx
je 0x486bd0
add dword [esp + 0x70], 0x200
jne 0x486b90
add dword [esp + 0x74], 1
jmp 0x486b90
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov ebx, dword [ebp + 8]
shrd eax, edx, 9
mov edx, dword [esp + 0x24]
add eax, 1
shl eax, 6
add dword [ebp + 0xc], eax
mov eax, dword [esp + 0x20]
mov edi, edx
and eax, 0x1ff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
or edi, eax
jne 0x486e1a
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x78], 0
mov byte [esp + 0x36], 0x81
mov byte [esp + 0x37], 1
mov dword [esp + 0x20], 0
mov eax, esi
mov edi, edx
mov byte [esp + 0x3a], dh
mov byte [esp + 0x3b], dl
shr edi, 0x18
mov byte [esp + 0x3e], ah
mov byte [esp + 0x3f], al
mov ecx, edi
mov edi, edx
mov edx, eax
shr edx, 0x18
shr edi, 0x10
mov byte [esp + 0x38], cl
mov byte [esp + 0x3c], dl
mov edx, eax
mov ecx, edi
shr edx, 0x10
cmp dword [esp + 0x20], 0x1b8
mov byte [esp + 0x39], cl
mov byte [esp + 0x3d], dl
je 0x486f40
mov edi, dword [esp + 0x20]
cmp edi, 0x1b7
jg 0x486e74
test edi, edi
je 0x486df0
sub eax, 0x1b8
mov dword [esp + 4], 0x74c6e0
mov dword [esp + 0x70], eax
mov eax, 0x1b8
sub eax, dword [esp + 0x20]
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00485c10
lea eax, [esp + 0x37]
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00485c10
mov eax, dword [esp + 0x70]
sub eax, 8
sub eax, 0x40
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 0xc], 0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00485c10
mov eax, dword [esp + 0x40]
mov edx, eax
mov byte [ebx + 2], ah
mov byte [ebx + 3], al
shr edx, 0x18
mov byte [ebx], dl
mov edx, eax
mov eax, dword [esp + 0x44]
shr edx, 0x10
mov byte [ebx + 1], dl
mov edx, eax
mov byte [ebx + 6], ah
mov byte [ebx + 7], al
shr edx, 0x18
mov byte [ebx + 4], dl
mov edx, eax
mov eax, dword [esp + 0x48]
shr edx, 0x10
mov byte [ebx + 5], dl
mov edx, eax
mov byte [ebx + 0xa], ah
mov byte [ebx + 0xb], al
shr edx, 0x18
mov byte [ebx + 8], dl
mov edx, eax
mov eax, dword [esp + 0x4c]
shr edx, 0x10
mov byte [ebx + 9], dl
mov edx, eax
mov byte [ebx + 0xe], ah
mov byte [ebx + 0xf], al
shr edx, 0x18
mov byte [ebx + 0xc], dl
mov edx, eax
mov eax, dword [esp + 0x50]
shr edx, 0x10
mov byte [ebx + 0xd], dl
mov edx, eax
mov byte [ebx + 0x12], ah
mov byte [ebx + 0x13], al
shr edx, 0x18
mov byte [ebx + 0x10], dl
mov edx, eax
mov eax, dword [esp + 0x54]
shr edx, 0x10
mov byte [ebx + 0x11], dl
mov edx, eax
mov byte [ebx + 0x16], ah
mov byte [ebx + 0x17], al
shr edx, 0x18
mov byte [ebx + 0x14], dl
mov edx, eax
mov eax, dword [esp + 0x58]
shr edx, 0x10
mov byte [ebx + 0x15], dl
mov edx, eax
shr edx, 0x18
mov byte [ebx + 0x18], dl
mov edx, eax
shr edx, 0x10
mov byte [ebx + 0x19], dl
mov byte [ebx + 0x1a], ah
mov byte [ebx + 0x1b], al
mov eax, dword [esp + 0x5c]
mov edx, eax
mov byte [ebx + 0x1e], ah
mov byte [ebx + 0x1f], al
shr edx, 0x18
mov byte [ebx + 0x1c], dl
mov edx, eax
shr edx, 0x10
mov byte [ebx + 0x1d], dl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x7c], 1
jmp 0x486c91
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov edi, edx
or edi, eax
je 0x486c0f
shrd eax, edx, 3
lea esi, [esp + 0x80]
mov ecx, eax
mov eax, dword [ebp + 0xc]
cmp ecx, 4
jae 0x486ee0
xor edx, edx
test cl, 2
jne 0x486f20
and ecx, 1
jne 0x486f10
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov byte [esp + 0x36], 0x81
mov byte [esp + 0x37], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
add eax, esi
setb cl
movzx ecx, cl
add edx, ecx
jmp 0x486c33
sub eax, 0x200
mov edi, dword [esp + 0x2c]
mov dword [esp + 4], 0x74c6e0
mov dword [esp + 0x70], eax
mov eax, 0x200
sub eax, dword [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
call fcn.00485c10
mov dword [esp + 8], 0x1b8
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x74c6e1
mov dword [esp], edi
sub dword [esp + 0x70], 0x1b8
call fcn.00485c10
mov dword [esp + 0x7c], 1
jmp 0x486cc2
mov edx, ecx
mov edi, eax
xor eax, eax
and edx, 0xfffffffc
mov esi, dword [edi + eax]
mov dword [esp + eax + 0x80], esi
add eax, 4
cmp eax, edx
jb 0x486ee9
lea edi, [esp + 0x80]
lea esi, [edi + eax]
add eax, dword [ebp + 0xc]
jmp 0x486e33
movzx eax, byte [eax + edx]
mov byte [esi + edx], al
jmp 0x486e47
movzx edx, word [eax]
and ecx, 1
mov word [esi], dx
mov edx, 2
je 0x486e47
jmp 0x486f10
lea eax, [esp + 0x36]
sub esi, 8
mov dword [esp + 8], 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x70], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00485c10
mov eax, dword [esp + 0x70]
jmp 0x486ced