Function at 0x410be0
Capabilities:
Authenticate hmac
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10c
mov esi, ecx
test edx, edx
je 0x410fa9
movaps xmm0, xmmword [str._b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_aUUUUUUUUUUUUUUUU3333333333333333]
movups xmmword [esi + 0x8f92], xmm0
movups xmmword [esi + 0x8f82], xmm0
movups xmmword [esi + 0x8f72], xmm0
movups xmmword [esi + 0x8f62], xmm0
movups xmmword [esi + 0x8f52], xmm0
movups xmmword [esi + 0x8f42], xmm0
movups xmmword [esi + 0x8f32], xmm0
movups xmmword [esi + 0x8f22], xmm0
movups xmmword [esi + 0x8f12], xmm0
movaps xmm0, xmmword [0x45d260]
movups xmmword [esi + 0x8fa2], xmm0
movups xmmword [esi + 0x8fb2], xmm0
movups xmmword [esi + 0x8fc2], xmm0
movups xmmword [esi + 0x8fd2], xmm0
movups xmmword [esi + 0x8fe2], xmm0
movups xmmword [esi + 0x8ff2], xmm0
movups xmmword [esi + 0x9002], xmm0
movaps xmm0, xmmword [0x45d270]
movups xmmword [esi + 0x9012], xmm0
mov dword [esi + 0x9026], 0x7070707
mov dword [esi + 0x9022], 0x7070707
mov dword [esi + 0x902e], 0x8080808
mov dword [esi + 0x902a], 0x8080808
movaps xmm0, xmmword [0x45d240]
movups xmmword [esi + 0x9032], xmm0
movups xmmword [esi + 0x9042], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
movups xmmword [esp + 0x74], xmm0
mov dword [esp + 0x84], 0
xor eax, eax
nop word cs:[eax + eax]
movzx ecx, byte [esi + eax + 0x8f12]
inc dword [esp + ecx*4 + 4]
movzx ecx, byte [esi + eax + 0x8f13]
inc dword [esp + ecx*4 + 4]
movzx ecx, byte [esi + eax + 0x8f14]
inc dword [esp + ecx*4 + 4]
movzx ecx, byte [esi + eax + 0x8f15]
inc dword [esp + ecx*4 + 4]
add eax, 4
cmp eax, 0x120
jne 0x410d00
mov dword [esp + 0x8c], 0
xor eax, eax
mov ecx, 8
mov edx, 0xfffffffd
nop word cs:[eax + eax]
add eax, dword [esp + ecx]
add eax, eax
mov dword [esp + ecx + 0x88], eax
add eax, dword [esp + ecx + 4]
add eax, eax
mov dword [esp + ecx + 0x8c], eax
add ecx, 8
add edx, 0xfffffffe
cmp edx, 0xffffffef
jne 0x410d60
xor eax, eax
mov dword [esp], esi
jmp 0x410da3
mov esi, dword [esp]
mov word [esi + eax*2 + 0x8852], di
inc eax
cmp eax, 0x120
je 0x410e18
movzx edx, byte [esi + eax + 0x8f12]
test edx, edx
je 0x410d9b
mov esi, dword [esp + edx*4 + 0x88]
lea ecx, [esi + 1]
mov dword [esp + edx*4 + 0x88], ecx
xor edi, edi
cmp dl, 1
je 0x410e00
mov ebx, edx
and ebx, 0xfffffffe
xor ebp, ebp
nop
mov edi, esi
xor edi, 0x7ffffffe
mov ecx, esi
or ecx, 1
and ecx, edi
mov edi, esi
shr edi, 1
shl ebp, 2
add ecx, ecx
or ecx, ebp
mov ebp, edi
xor ebp, 0xfffffffe
or edi, 1
and edi, ebp
or edi, ecx
shr esi, 2
mov ebp, edi
add ebx, 0xfffffffe
jne 0x410dd0
test dl, 1
je 0x410d90
add edi, edi
mov ecx, esi
xor ecx, 0xfffffffe
or esi, 1
and esi, ecx
or edi, esi
jmp 0x410d90
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
movups xmmword [esp + 0x74], xmm0
mov dword [esp + 0x84], 0
xor eax, eax
movzx ecx, byte [esi + eax + 0x9032]
inc dword [esp + ecx*4 + 4]
movzx ecx, byte [esi + eax + 0x9033]
inc dword [esp + ecx*4 + 4]
movzx ecx, byte [esi + eax + 0x9034]
inc dword [esp + ecx*4 + 4]
movzx ecx, byte [esi + eax + 0x9035]
inc dword [esp + ecx*4 + 4]
add eax, 4
cmp eax, 0x20
jne 0x410e50
mov dword [esp + 0x8c], 0
xor eax, eax
mov ecx, 8
mov edx, 0xfffffffd
nop
add eax, dword [esp + ecx]
add eax, eax
mov dword [esp + ecx + 0x88], eax
add eax, dword [esp + ecx + 4]
add eax, eax
mov dword [esp + ecx + 0x8c], eax
add ecx, 8
add edx, 0xfffffffe
cmp edx, 0xffffffef
jne 0x410ea0
xor eax, eax
jmp 0x410ee1
mov esi, dword [esp]
mov word [esi + eax*2 + 0x8a92], di
inc eax
cmp eax, 0x20
je 0x410f58
movzx edx, byte [esi + eax + 0x9032]
test edx, edx
je 0x410edb
mov ecx, dword [esp + edx*4 + 0x88]
lea esi, [ecx + 1]
mov dword [esp + edx*4 + 0x88], esi
xor edi, edi
cmp dl, 1
je 0x410f40
mov ebx, edx
and ebx, 0xfffffffe
xor ebp, ebp
nop dword [eax]
mov edi, ecx
xor edi, 0x7ffffffe
mov esi, ecx
or esi, 1
and esi, edi
mov edi, ecx
shr edi, 1
shl ebp, 2
add esi, esi
or esi, ebp
mov ebp, edi
xor ebp, 0xfffffffe
or edi, 1
and edi, ebp
or edi, esi
shr ecx, 2
mov ebp, edi
add ebx, 0xfffffffe
jne 0x410f10
test dl, 1
je 0x410ed0
add edi, edi
mov edx, ecx
xor edx, 0xfffffffe
or ecx, 1
and ecx, edx
or edi, ecx
jmp 0x410ed0
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
bts eax, ecx
mov dword [esi + 0x48], eax
mov edx, ecx
and edx, 2
xor ecx, 2
lea ecx, [ecx + edx*2]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x410f91
jmp 0x410fb0
shr eax, 8
mov dword [esi + 0x48], eax
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 7
jbe 0x410fb0
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x34]
jae 0x410f80
lea ecx, [edx + 1]
mov dword [esi + 0x30], ecx
mov byte [edx], al
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
jmp 0x410f80
mov ecx, esi
call fcn.00410fd0
mov ecx, esi
add esp, 0x10c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00411b30