Function at 0x610800
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
cmp dword [ebp + 0x14], 0xf
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jbe 0x61083b
cmp edi, 0
jbe 0x61097b
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
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 0x610951
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x38]
xor ebx, ebx
xor esi, esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x20], ecx
or ecx, ebx
jne 0x6108ab
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 0x610890
mov edi, dword [ebp + 8]
mov esi, ebx
mov edx, esi
mov eax, edi
call fcn.0060ef40
test eax, eax
je 0x610ba8
movdqu xmm0, xmmword [eax]
movdqu xmm2, xmmword [edi + 0x78]
mov eax, dword [ebp + 0xc]
add dword [ebp + 0xc], 0x10
pxor xmm0, xmm2
movups xmmword [edi + 0x78], xmm0
movdqu xmm3, xmmword [eax]
mov eax, dword [edi + 0xc]
pxor xmm0, xmm3
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], eax
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x20], xmm3
call dword [edi + 4]
movdqu xmm1, xmmword [edi + 0x88]
movdqu xmm0, xmmword [edi + 0x78]
pxor xmm0, xmmword [esp + 0x40]
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x30]
add dword [ebp + 0x10], 0x10
pxor xmm1, xmm0
add dword [esp + 0x38], 1
mov esi, dword [esp + 0x34]
movups xmmword [edi + 0x88], xmm1
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
movups xmmword [esp + 0x40], xmm0
sbb ebx, edx
jae 0x610860
mov dword [ebp + 8], edi
mov ebx, dword [ebp + 0x14]
and ebx, 0xf
jne 0x6109ff
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
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 ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x61083b
mov edx, esi
shr edx, 1
je 0x610995
bsr edx, edx
add edx, 1
mov eax, dword [ebp + 8]
call fcn.0060ef40
test eax, eax
je 0x610ba8
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 + 0xc]
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 0x61095d
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
movdqu xmm0, xmmword [eax + 0x78]
movdqu xmm5, xmmword [eax + 0x20]
pxor xmm0, xmm5
movups xmmword [eax + 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 4], ecx
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]
lea ecx, [esp + 0x40]
cmp eax, 2
mov eax, dword [ebp + 0xc]
jbe 0x610cd5
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
sub eax, edx
cmp eax, 2
ja 0x610bb2
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 0x610c56
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 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 3]
xor al, byte [esp + 0x43]
mov byte [edx + 3], al
cmp ebx, 4
jbe 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 4]
xor al, byte [esp + 0x44]
mov byte [edx + 4], al
cmp ebx, 5
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 5]
xor al, byte [esp + 0x45]
mov byte [edx + 5], al
cmp ebx, 6
je 0x610c56
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 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 7]
xor al, byte [esp + 0x47]
mov byte [edx + 7], al
cmp ebx, 8
jbe 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 8]
xor al, byte [esp + 0x48]
mov byte [edx + 8], al
cmp ebx, 9
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 9]
xor al, byte [esp + 0x49]
mov byte [edx + 9], al
cmp ebx, 0xa
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xa]
xor al, byte [esp + 0x4a]
mov byte [edx + 0xa], al
cmp ebx, 0xb
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xb]
xor al, byte [esp + 0x4b]
mov byte [edx + 0xb], al
cmp ebx, 0xc
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
xor al, byte [esp + 0x4c]
mov byte [edx + 0xc], al
cmp ebx, 0xd
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xd]
xor al, byte [esp + 0x4d]
mov byte [edx + 0xd], al
cmp ebx, 0xf
jne 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xe]
xor al, byte [esp + 0x4e]
mov byte [edx + 0xe], al
jmp 0x610c56
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
movd xmm6, dword [esp + 0x40]
mov eax, ebx
shr eax, 2
movd xmm0, dword [edx]
mov edx, dword [ebp + 0x10]
pxor xmm0, xmm6
movd dword [edx], xmm0
cmp eax, 1
je 0x610c0a
mov edx, dword [ebp + 0xc]
movd xmm7, dword [esp + 0x44]
movd xmm0, dword [edx + 4]
mov edx, dword [ebp + 0x10]
pxor xmm0, xmm7
movd dword [edx + 4], xmm0
cmp eax, 3
jne 0x610c0a
mov eax, dword [ebp + 0xc]
movd xmm6, dword [esp + 0x48]
movd xmm0, dword [eax + 8]
pxor xmm0, xmm6
movd dword [edx + 8], xmm0
mov eax, dword [ebp + 0x14]
and eax, 0xc
cmp ebx, eax
je 0x610c56
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 edi, [eax + 1]
cmp edi, ebx
jae 0x610c56
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 2]
movzx edx, byte [edx + eax + 1]
xor dl, byte [esp + eax + 0x41]
mov byte [edi + eax + 1], dl
cmp esi, ebx
jae 0x610c56
mov edx, dword [ebp + 0xc]
movzx edx, byte [edx + eax + 2]
xor dl, byte [esp + eax + 0x42]
mov byte [edi + eax + 2], dl
pxor xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov edx, ecx
movups xmmword [esp + 0x40], xmm0
cmp ebx, 4
jae 0x610ca9
xor ecx, ecx
test bl, 2
je 0x610c7b
movzx ecx, word [eax]
mov word [edx], cx
mov ecx, 2
test bl, 1
je 0x610c87
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 0x61095d
mov dword [esp + 0x38], ebx
mov edx, ebx
mov edi, dword [ebp + 8]
mov esi, eax
and edx, 0xfffffffc
xor eax, eax
mov ebx, dword [esi + eax]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, edx
jb 0x610cb9
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov dword [ebp + 8], edi
jmp 0x610c69
mov edx, dword [ebp + 0x10]
movzx eax, byte [eax]
xor eax, dword [esp + 0x40]
mov byte [edx], al
test byte [ebp + 0x14], 0xe
je 0x610c56
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 1]
xor al, byte [esp + 0x41]
mov byte [edx + 1], al
cmp ebx, 3
jne 0x610c56
jmp 0x610a7c