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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x50]
shr ebx, 4
mov esi, eax
mov edi, edx
add esi, ebx
adc edi, 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
cmp edi, 0
ja 0x61033b
cmp dword [ebp + 0x14], 0xf
ja 0x61060e
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
add eax, 1
adc edx, 0
mov dword [esp + 0x38], eax
cmp ebx, eax
mov ebx, esi
mov dword [esp + 0x3c], edx
sbb ebx, edx
jb 0x610446
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x38]
xor ebx, ebx
xor esi, esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x34]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x30], ecx
or ecx, ebx
jne 0x6103ab
mov dword [ebp + 8], edi
mov ebx, esi
lea esi, cs:[esi]
nop
shrd eax, edx, 1
xor edi, edi
shr edx, 1
add ebx, 1
mov esi, eax
and esi, 1
mov ecx, esi
or ecx, edi
je 0x610390
mov edi, dword [ebp + 8]
mov esi, ebx
mov edx, esi
mov eax, edi
call fcn.0060ef40
test eax, eax
je 0x610693
movdqu xmm0, xmmword [eax]
movdqu xmm3, xmmword [edi + 0x78]
mov eax, dword [ebp + 0xc]
movdqu xmm1, xmmword [edi + 0x88]
pxor xmm0, xmm3
add dword [ebp + 0xc], 0x10
movups xmmword [edi + 0x78], xmm0
movdqu xmm2, xmmword [eax]
mov eax, dword [edi + 8]
pxor xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [edi + 0x88], xmm1
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], eax
movups xmmword [esp + 0x40], xmm0
call dword [edi]
mov eax, dword [ebp + 0x10]
movdqu xmm0, xmmword [edi + 0x78]
pxor xmm0, xmmword [esp + 0x40]
mov ebx, dword [esp + 0x28]
add dword [ebp + 0x10], 0x10
mov esi, dword [esp + 0x2c]
add dword [esp + 0x38], 1
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x38]
adc dword [esp + 0x3c], 0
mov edx, dword [esp + 0x3c]
cmp ebx, eax
mov ebx, esi
sbb ebx, edx
jae 0x610360
mov dword [ebp + 8], edi
mov ebx, dword [ebp + 0x14]
and ebx, 0xf
jne 0x61046c
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x50], eax
mov eax, 1
mov dword [edi + 0x54], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
lea esi, [esp + 0x40]
movdqu xmm0, xmmword [eax + 0x78]
movdqu xmm4, xmmword [eax + 0x20]
pxor xmm0, xmm4
movups xmmword [eax + 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
add eax, 0x78
mov dword [esp], eax
mov eax, dword [ebp + 8]
call dword [eax]
lea eax, [ebx - 1]
cmp eax, 2
mov eax, dword [ebp + 0xc]
jbe 0x6107bf
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
sub eax, edx
cmp eax, 2
ja 0x61069d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
movzx eax, byte [eax]
xor al, byte [esp + 0x40]
mov byte [edx], al
test byte [ebp + 0x14], 0xe
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 1]
xor al, byte [esp + 0x41]
mov byte [edx + 1], al
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 2]
xor al, byte [esp + 0x42]
mov byte [edx + 2], al
test byte [ebp + 0x14], 0xc
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 3]
xor al, byte [esp + 0x43]
mov byte [edx + 3], al
cmp ebx, 4
jbe 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 4]
xor al, byte [esp + 0x44]
mov byte [edx + 4], al
cmp ebx, 5
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 5]
xor al, byte [esp + 0x45]
mov byte [edx + 5], al
cmp ebx, 6
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 6]
xor al, byte [esp + 0x46]
mov byte [edx + 6], al
test byte [ebp + 0x14], 8
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 7]
xor al, byte [esp + 0x47]
mov byte [edx + 7], al
cmp ebx, 8
jbe 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 8]
xor al, byte [esp + 0x48]
mov byte [edx + 8], al
cmp ebx, 9
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 9]
xor al, byte [esp + 0x49]
mov byte [edx + 9], al
cmp ebx, 0xa
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xa]
xor al, byte [esp + 0x4a]
mov byte [edx + 0xa], al
cmp ebx, 0xb
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xb]
xor al, byte [esp + 0x4b]
mov byte [edx + 0xb], al
cmp ebx, 0xc
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
xor al, byte [esp + 0x4c]
mov byte [edx + 0xc], al
cmp ebx, 0xd
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xd]
xor al, byte [esp + 0x4d]
mov byte [edx + 0xd], al
cmp ebx, 0xf
jne 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xe]
xor al, byte [esp + 0x4e]
mov byte [edx + 0xe], al
jmp 0x610740
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x61033b
mov edx, esi
shr edx, 1
je 0x610628
bsr edx, edx
add edx, 1
mov eax, dword [ebp + 8]
call fcn.0060ef40
test eax, eax
je 0x610693
mov eax, dword [ebp + 8]
add eax, 0x88
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
add eax, 0x78
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp + 8]
call dword [eax + 0x10]
mov ebx, dword [ebp + 0x14]
and ebx, 0xf
je 0x61044e
jmp 0x61046c
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
movd xmm5, dword [esp + 0x40]
mov eax, ebx
shr eax, 2
movd xmm0, dword [edx]
mov edx, dword [ebp + 0x10]
pxor xmm0, xmm5
movd dword [edx], xmm0
cmp eax, 1
je 0x6106f5
mov edx, dword [ebp + 0xc]
movd xmm6, dword [esp + 0x44]
movd xmm0, dword [edx + 4]
mov edx, dword [ebp + 0x10]
pxor xmm0, xmm6
movd dword [edx + 4], xmm0
cmp eax, 3
jne 0x6106f5
mov eax, dword [ebp + 0xc]
movd xmm7, dword [esp + 0x48]
movd xmm0, dword [eax + 8]
pxor xmm0, xmm7
movd dword [edx + 8], xmm0
mov eax, dword [ebp + 0x14]
and eax, 0xc
cmp ebx, eax
je 0x610740
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
movzx edx, byte [edx + eax]
xor dl, byte [esp + eax + 0x40]
mov byte [edi + eax], dl
lea edx, [eax + 1]
cmp edx, ebx
jae 0x610740
mov edx, edi
mov edi, dword [ebp + 0xc]
movzx ecx, byte [edi + eax + 1]
xor cl, byte [esp + eax + 0x41]
mov byte [edx + eax + 1], cl
lea edx, [eax + 2]
cmp edx, ebx
jae 0x610740
mov edx, dword [ebp + 0x10]
movzx ecx, byte [edi + eax + 2]
xor cl, byte [esp + eax + 0x42]
mov byte [edx + eax + 2], cl
pxor xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov edx, esi
movups xmmword [esp + 0x40], xmm0
cmp ebx, 4
jae 0x610793
xor ecx, ecx
test bl, 2
je 0x610765
movzx ecx, word [eax]
mov word [edx], cx
mov ecx, 2
test bl, 1
je 0x610771
movzx eax, byte [eax + ecx]
mov byte [edx + ecx], al
mov eax, dword [ebp + 8]
mov byte [esp + ebx + 0x40], pe_nt_image_headers32
movdqu xmm0, xmmword [eax + 0x88]
pxor xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x88], xmm0
jmp 0x61044e
mov dword [esp + 0x38], ebx
mov edx, ebx
mov edi, dword [ebp + 8]
mov ecx, eax
and edx, 0xfffffffc
xor eax, eax
mov ebx, dword [ecx + eax]
mov dword [esi + eax], ebx
add eax, 4
cmp eax, edx
jb 0x6107a3
lea edx, [esi + eax]
mov ebx, dword [esp + 0x38]
add eax, dword [ebp + 0xc]
mov dword [ebp + 8], edi
jmp 0x610753
mov edx, dword [ebp + 0x10]
movzx eax, byte [eax]
xor eax, dword [esp + 0x40]
mov byte [edx], al
test byte [ebp + 0x14], 0xe
je 0x610740
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 1]
xor al, byte [esp + 0x41]
mov byte [edx + 1], al
cmp ebx, 3
jne 0x610740
jmp 0x6104e5