Function at 0x499e50
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push ebx
push ebp
xorps xmm0, xmm0
mov dword [esp + 0x88], 0
push esi
push edi
mov edi, edx
movq qword [esp + 0x88], xmm0
mov esi, ecx
mov dword [esp + 0x94], 0
movdqu xmmword [esp + 0x58], xmm0
movdqu xmmword [esp + 0x68], xmm0
movdqu xmmword [esp + 0x78], xmm0
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x58]
dec edx
jne 0x499e92
cmp dword [esp + 0x58], edi
jne 0x499ec3
mov eax, dword [esp + 0x12c]
mov dword [eax], edx
mov eax, dword [esp + 0x130]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov eax, dword [esp + 0x130]
mov ecx, 1
mov ebx, dword [eax]
cmp dword [esp + ecx*4 + 0x58], 0
jne 0x499ede
inc ecx
cmp ecx, 0xf
jbe 0x499ed1
cmp ebx, ecx
mov dword [esp + 0x18], ecx
mov edx, 0xf
cmovb ebx, ecx
lea esp, [esp]
cmp dword [esp + edx*4 + 0x58], 0
jne 0x499efa
dec edx
jne 0x499ef0
cmp ebx, edx
mov dword [esp + 0x2c], edx
mov ebp, 1
cmova ebx, edx
shl ebp, cl
mov dword [esp + 0x1c], ebx
mov dword [eax], ebx
cmp ecx, edx
jae 0x499f25
sub ebp, dword [esp + ecx*4 + 0x58]
js 0x49a051
inc ecx
add ebp, ebp
cmp ecx, edx
jb 0x499f14
lea ebx, [edx*4]
mov eax, dword [esp + ebx + 0x58]
sub ebp, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ebp
js 0x49a051
add eax, ebp
xor ecx, ecx
mov dword [esp + ebx + 0x58], eax
mov dword [esp + 0x9c], ecx
dec edx
je 0x499f71
xor eax, eax
jmp 0x499f60
add ecx, dword [esp + eax + 0x5c]
lea eax, [eax + 4]
mov dword [esp + eax + 0x9c], ecx
dec edx
jne 0x499f60
mov ebx, dword [esp + 0x13c]
xor ecx, ecx
lea ebx, [ebx]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x499f9b
mov eax, dword [esp + edx*4 + 0x98]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0x98], eax
inc ecx
cmp ecx, edi
jb 0x499f80
mov ebx, dword [esp + 0x34]
xor edi, edi
or ecx, 0xffffffff
mov dword [esp + 0x28], edi
xor ebp, ebp
mov dword [esp + 0x14], ecx
xor esi, esi
mov dword [esp + 0xdc], edi
mov eax, dword [esp + ebx + 0x98]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
neg ebx
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x98], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebp
cmp eax, dword [esp + 0x2c]
jg 0x49a2ae
lea eax, [esp + eax*4 + 0x58]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
lea esp, [esp]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
je 0x49a29a
mov eax, dword [esp + 0x30]
lea edx, [eax + 1]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
dec dword [esp + 0x44]
dec eax
mov dword [esp + 0x30], eax
lea eax, [ebx + edx]
cmp dword [esp + 0x18], eax
jle 0x49a16c
sub ebx, edx
mov ebp, ebx
jmp 0x49a065
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
mov ebx, eax
add ebp, edx
mov dword [esp + 0x48], ebx
inc ecx
mov dword [esp + 0x4c], ebp
sub edi, ebx
mov dword [esp + 0x14], ecx
cmp edi, edx
mov eax, 1
cmova edi, edx
mov edx, dword [esp + 0x18]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x44]
jbe 0x49a0c3
mov esi, dword [esp + 0x38]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x30]
add eax, ecx
cmp edx, edi
jae 0x49a0c3
inc edx
cmp edx, edi
jae 0x49a0c3
lea esp, [esp]
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x49a0c3
inc edx
sub eax, ecx
cmp edx, edi
jb 0x49a0b0
mov edi, dword [esp + 0x138]
mov ecx, edx
mov esi, 1
shl esi, cl
mov eax, dword [edi]
lea ecx, [eax + esi]
cmp ecx, 0x5a0
ja 0x49a051
mov ebp, dword [esp + 0x134]
mov dword [edi], ecx
mov edi, dword [esp + 0x28]
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + eax*4 + 0xdc], ebp
test ecx, ecx
je 0x49a152
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x3c], dl
mov edx, edi
mov dword [esp + ecx*4 + 0x98], edi
mov ecx, dword [esp + 0x4c]
shr edx, cl
mov ecx, dword [esp + eax*4 + 0xd8]
mov eax, ebp
sub eax, ecx
sar eax, 3
sub eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esp + 0x14]
jmp 0x49a15b
mov eax, dword [esp + 0x12c]
mov dword [eax], ebp
mov edx, dword [esp + 0x1c]
lea eax, [ebx + edx]
cmp dword [esp + 0x18], eax
jg 0x49a061
mov edx, dword [esp + 0x18]
mov al, dl
mov ecx, dword [esp + 0x50]
sub al, bl
mov byte [esp + 0x3d], al
mov eax, dword [esp + 0x13c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jb 0x49a195
mov byte [esp + 0x3c], 0xc0
jmp 0x49a1dd
mov ecx, dword [ecx]
mov eax, dword [esp + 0x120]
mov dword [esp + 0x24], ecx
cmp ecx, eax
jae 0x49a1b8
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x3c], al
jmp 0x49a1d8
sub ecx, eax
mov eax, dword [esp + 0x128]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x24], ecx
add dword [esp + 0x20], 4
mov ecx, edx
mov eax, edi
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, esi
jae 0x49a225
mov ebx, dword [esp + 0x24]
lea ecx, [eax*8]
add ecx, ebp
lea edi, [edx*8]
mov ebp, dword [esp + 0x3c]
lea ebx, [ebx]
mov dword [ecx], ebp
add eax, edx
mov dword [ecx + 4], ebx
add ecx, edi
cmp eax, esi
jb 0x49a210
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, 1
lea ecx, [ecx - 1]
shl eax, cl
test edi, eax
je 0x49a23f
xor edi, eax
shr eax, 1
test edi, eax
jne 0x49a237
mov edx, dword [esp + 0x1c]
xor edi, eax
mov ecx, ebx
mov dword [esp + 0x28], edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0x98]
je 0x49a286
dec ecx
sub ebx, edx
mov dword [esp + 0x14], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0x98]
jne 0x49a262
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
test eax, eax
jne 0x49a035
mov eax, dword [esp + 0x18]
add dword [esp + 0x38], 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jle 0x49a010
cmp dword [esp + 0x54], 0
je 0x499eb6
cmp dword [esp + 0x2c], 1
je 0x499eb6
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x10c
ret