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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [esp + 0x98]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x7c], ecx
add eax, 0x1f
mov dword [esp + 0x80], eax
mov eax, dword [0x100673a0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
add eax, 0xa15da43d
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
cmp eax, 1
sete al
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x6b]
xor eax, eax
test cl, 1
mov dword [esp + 0x64], eax
jne 0x10050e8d
jmp 0x10050c4f
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov dl, byte [edx + eax]
mov byte [esp + 0x63], dl
mov edi, 0x1f
xor edx, edx
div edi
mov eax, dword [esp + 0x5c]
mov edi, edx
mov dh, byte [esp + 0x63]
mov bl, byte [esi + edi]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
sub eax, 0xb5203e9b
add eax, 1
add eax, 0xb5203e9b
cmp eax, 0x15
mov dword [esp + 0x64], eax
jne 0x10050c4f
mov eax, dword [0x10068bf0]
mov dword [esp + 0x50], eax
mov ecx, dword [0x10068bec]
mov dword [esp + 0x54], ecx
add eax, 0xbbf145d3
sub eax, 1
sub eax, 0xbbf145d3
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4f]
mov ecx, dword [esp + 0x54]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x4d], cl
and al, cl
mov byte [esp + 0x4e], al
mov cl, byte [esp + 0x4d]
mov al, byte [esp + 0x4f]
xor al, cl
mov byte [esp + 0x4c], al
mov cl, byte [esp + 0x4c]
mov al, byte [esp + 0x4e]
or al, cl
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x4b]
test al, 1
jne 0x10050d31
jmp 0x10050e97
mov eax, dword [0x100673a0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
add eax, 0xa15da43d
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [eax], 1
mov eax, dword [0x10068bf0]
mov dword [esp + 0x34], eax
mov eax, dword [0x10068bec]
mov dword [esp + 0x38], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x2f]
test al, 1
jne 0x10050db5
jmp 0x10050e97
mov eax, dword [0x10068bf0]
mov dword [esp + 0x28], eax
mov eax, dword [0x10068bec]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov ecx, eax
add ecx, 0x8b8bdafb
sub ecx, 1
sub ecx, 0x8b8bdafb
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x24]
cmp eax, 0xa
setl al
mov byte [esp + 0x22], al
mov dl, byte [esp + 0x22]
mov cl, byte [esp + 0x23]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x21], al
mov al, byte [esp + 0x21]
test al, 1
jne 0x10050e1f
jmp 0x10050eba
mov eax, dword [0x10068bf0]
mov dword [esp + 0x14], eax
mov ecx, dword [0x10068bec]
mov dword [esp + 0x18], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
and eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0xb], al
mov al, byte [esp + 0xb]
test al, 1
jne 0x10050e88
jmp 0x10050eba
jmp 0x10050e8d
add esp, 0x84
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x100673a0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xa15da43d
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x10050d31
jmp 0x10050e1f