Function at 0x10037330
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
sub esp, 0x7c
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x74], ecx
add eax, 0x13
mov dword [esp + 0x78], eax
mov eax, dword [0x1005f304]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
add eax, 0x1b53df01
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
cmp eax, 1
sete al
mov byte [esp + 0x63], al
mov cl, byte [esp + 0x63]
xor eax, eax
test cl, 1
mov dword [esp + 0x5c], eax
jne 0x1003741a
jmp 0x10037398
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x58], eax
mov bh, byte [edx + eax]
mov esi, 0x13
xor edx, edx
div esi
mov eax, dword [esp + 0x58]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x41
mov cl, 0xff
xor cl, 0x41
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x41
and bl, cl
mov ecx, dword [esp + 0x74]
or dl, bh
or dh, bl
xor dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0xb
mov dword [esp + 0x5c], eax
jne 0x10037398
mov eax, dword [0x1005f304]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
add eax, 0x1b53df01
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov dword [eax], 1
jmp 0x1003741a
mov eax, dword [0x10060d10]
mov ecx, dword [0x10060d0c]
mov dword [esp + 0x48], ecx
mov ecx, eax
sub ecx, 0x453ee0d6
sub ecx, 1
add ecx, 0x453ee0d6
imul eax, ecx
and eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp ecx, 0
sete cl
mov byte [esp + 0x46], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x46]
and al, cl
mov byte [esp + 0x45], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x46]
xor al, cl
mov byte [esp + 0x44], al
mov cl, byte [esp + 0x44]
mov al, byte [esp + 0x45]
or al, cl
mov byte [esp + 0x43], al
mov al, byte [esp + 0x43]
test al, 1
jne 0x1003749b
jmp 0x100376bd
mov eax, dword [0x10060d10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x10060d0c]
mov dword [esp + 0x34], ecx
add eax, 0x1cc99601
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sub ecx, 1
sub ecx, 0x1cc99601
imul eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x34]
cmp eax, 0xa
setl al
mov byte [esp + 0x2e], al
mov dl, byte [esp + 0x2e]
mov cl, byte [esp + 0x2f]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003750f
jmp 0x100376bd
mov eax, dword [0x10060d10]
mov dword [esp + 0x24], eax
mov eax, dword [0x10060d0c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, ecx
sub edx, 0x47cd7817
sub edx, 1
add edx, 0x47cd7817
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x22], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x23], al
mov al, byte [esp + 0x22]
mov cl, byte [esp + 0x23]
mov dl, al
xor dl, 0xff
mov byte [esp + 0x1d], dl
xor cl, 0xff
mov byte [esp + 0x1e], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x1f], cl
and dl, 0xff
mov byte [esp + 0x20], dl
and al, cl
mov byte [esp + 0x21], al
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x20]
mov ah, byte [esp + 0x1f]
mov dl, byte [esp + 0x23]
mov ch, byte [esp + 0x1e]
and ch, 0xff
mov byte [esp + 0x1a], ch
and dl, ah
mov byte [esp + 0x1b], dl
or al, cl
mov byte [esp + 0x1c], al
mov cl, byte [esp + 0x1f]
mov dl, byte [esp + 0x1e]
mov al, byte [esp + 0x1d]
mov ah, byte [esp + 0x1c]
mov dh, byte [esp + 0x1b]
mov ch, byte [esp + 0x1a]
or ch, dh
xor ah, ch
mov byte [esp + 0x18], ah
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x19], al
mov cl, byte [esp + 0x19]
mov al, byte [esp + 0x18]
or al, cl
test al, 1
jne 0x100375ed
jmp 0x100376c2
mov eax, dword [0x10060d10]
mov dword [esp + 0xc], eax
mov ecx, dword [0x10060d0c]
mov dword [esp + 0x10], ecx
sub eax, 0x5f4959a3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
sub edx, 1
add edx, 0x5f4959a3
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 5], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 6], ah
xor al, 0xff
mov byte [esp + 7], al
mov dl, 1
xor dl, 0
mov byte [esp + 8], dl
and ah, 0
mov byte [esp + 9], ah
and cl, dl
mov byte [esp + 0xa], cl
and al, 0
mov byte [esp + 0xb], al
mov cl, byte [esp + 0xb]
mov ah, byte [esp + 0xa]
mov al, byte [esp + 9]
mov ch, byte [esp + 8]
mov dl, byte [esp + 5]
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 4], al
mov cl, byte [esp + 7]
mov al, byte [esp + 6]
or al, cl
mov byte [esp + 3], al
mov al, byte [esp + 3]
xor al, 0xff
mov byte [esp + 2], al
mov al, byte [esp + 4]
mov cl, byte [esp + 2]
mov dl, byte [esp + 8]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100376b7
jmp 0x100376c2
add esp, 0x7c
pop esi
pop ebx
ret
jmp 0x1003749b
jmp 0x100375ed