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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xe0
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xd8], ecx
add eax, 0x1c
mov dword [esp + 0xdc], eax
mov eax, dword [0x1006532c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
add eax, 0x1cacf851
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xcc]
mov eax, dword [eax]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
cmp eax, 1
sete al
mov byte [esp + 0xc7], al
mov cl, byte [esp + 0xc7]
xor eax, eax
test cl, 1
mov dword [esp + 0xc0], eax
jne 0x1003c20f
jmp 0x1003c010
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd4]
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xb8], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xbf], dl
mov edi, 0x1c
xor edx, edx
div edi
mov eax, dword [esp + 0xb8]
mov edi, edx
mov dh, byte [esp + 0xbf]
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
xor ecx, ecx
sub ecx, 1
sub eax, ecx
cmp eax, 0xd
mov dword [esp + 0xc0], eax
jne 0x1003c010
mov eax, dword [0x10066cd0]
mov dword [esp + 0xb4], eax
mov eax, dword [0x10066ccc]
mov dword [esp + 0xb0], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
add eax, ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb4]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xa3], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xa4], al
xor cl, 0xff
mov byte [esp + 0xa5], cl
xor al, 0xff
mov byte [esp + 0xa6], al
mov al, 1
xor al, 0
mov byte [esp + 0xa7], al
mov dl, byte [esp + 0xa7]
mov ah, byte [esp + 0xa6]
mov cl, byte [esp + 0xa5]
mov dh, byte [esp + 0xa4]
mov bl, byte [esp + 0xa3]
mov al, cl
and al, 0
and bl, dl
mov ch, ah
and ch, 0
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003c160
jmp 0x1003c5ed
mov eax, dword [0x1006532c]
mov dword [eax + 0x1cacf851], 1
mov eax, dword [0x10066cd0]
mov ecx, dword [0x10066ccc]
mov dword [esp + 0x98], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
cmp eax, 0
sete al
mov byte [esp + 0x95], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x96], cl
and al, cl
mov byte [esp + 0x97], al
mov cl, byte [esp + 0x96]
mov al, byte [esp + 0x95]
xor al, cl
mov byte [esp + 0x94], al
mov cl, byte [esp + 0x94]
mov al, byte [esp + 0x97]
or al, cl
mov byte [esp + 0x93], al
mov al, byte [esp + 0x93]
test al, 1
jne 0x1003c20a
jmp 0x1003c5ed
jmp 0x1003c20f
mov eax, dword [0x10066cd0]
mov dword [esp + 0x84], eax
mov ecx, dword [0x10066ccc]
mov dword [esp + 0x88], ecx
add eax, 0xc9ece918
sub eax, 1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
sub ecx, 0xc9ece918
imul eax, ecx
and eax, 1
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp eax, 0
sete ah
cmp ecx, 0xa
setl cl
mov dl, ah
xor dl, 0xff
mov byte [esp + 0x7b], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x7c], al
mov ch, 1
xor ch, 1
mov byte [esp + 0x7d], ch
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x7e], dl
or al, cl
mov byte [esp + 0x7f], al
mov cl, byte [esp + 0x7d]
mov dl, byte [esp + 0x7c]
mov al, byte [esp + 0x7b]
mov ch, byte [esp + 0x7f]
mov ah, byte [esp + 0x7e]
xor ah, ch
mov byte [esp + 0x79], ah
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x7a], al
mov cl, byte [esp + 0x7a]
mov al, byte [esp + 0x79]
or al, cl
mov byte [esp + 0x78], al
mov al, byte [esp + 0x78]
test al, 1
jne 0x1003c2e7
jmp 0x1003c497
mov eax, dword [0x10066cd0]
mov dword [esp + 0x70], eax
mov eax, dword [0x10066ccc]
mov dword [esp + 0x74], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
imul eax, ecx
and eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
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 + 0x63], al
mov al, byte [esp + 0x63]
test al, 1
jne 0x1003c353
jmp 0x1003c497
mov eax, dword [0x10066cd0]
mov dword [esp + 0x54], eax
mov eax, dword [0x10066ccc]
mov dword [esp + 0x58], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
and eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cmp eax, 0
sete al
mov byte [esp + 0x4b], al
mov eax, dword [esp + 0x58]
cmp eax, 0xa
setl al
mov byte [esp + 0x4a], al
mov dl, byte [esp + 0x4a]
mov cl, byte [esp + 0x4b]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x1003c3c5
jmp 0x1003c610
mov eax, dword [0x10066cd0]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x10066ccc]
mov dword [esp + 0x40], ecx
sub eax, 0xe82cc131
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
sub ecx, 1
add ecx, 0xe82cc131
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x3b], al
mov cl, byte [esp + 0x3b]
mov eax, dword [esp + 0x40]
cmp eax, 0xa
setl dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x35], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x36], ch
mov ah, 1
xor ah, 0
mov byte [esp + 0x37], ah
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0x38], ch
and dl, ah
mov byte [esp + 0x39], dl
or al, cl
mov byte [esp + 0x3a], al
mov cl, byte [esp + 0x36]
mov al, byte [esp + 0x35]
mov dl, byte [esp + 0x3a]
mov ch, byte [esp + 0x39]
mov ah, byte [esp + 0x38]
or ah, ch
xor dl, ah
mov byte [esp + 0x33], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x34], al
mov al, byte [esp + 0x33]
mov cl, byte [esp + 0x34]
mov dl, byte [esp + 0x37]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x32], al
mov al, byte [esp + 0x32]
test al, 1
jne 0x1003c48d
jmp 0x1003c610
add esp, 0xe0
pop esi
pop edi
pop ebx
ret
mov eax, dword [0x10066cd0]
mov dword [esp + 0x28], eax
mov eax, dword [0x10066ccc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
add eax, 0x5a4f0769
sub eax, 1
sub eax, 0x5a4f0769
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
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 cl, byte [esp + 0x23]
mov al, byte [esp + 0x22]
and al, cl
mov byte [esp + 0x21], al
mov al, byte [esp + 0x21]
mov dl, byte [esp + 0x23]
mov cl, byte [esp + 0x22]
xor cl, dl
or al, cl
mov byte [esp + 0x20], al
mov al, byte [esp + 0x20]
test al, 1
jne 0x1003c517
jmp 0x1003c615
mov eax, dword [0x10066cd0]
mov dword [esp + 0x14], eax
mov ecx, dword [0x10066ccc]
mov dword [esp + 0x18], ecx
add eax, 0xb1eeb8dc
sub eax, 1
sub eax, 0xb1eeb8dc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x10], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x11], al
xor cl, 0xff
mov byte [esp + 0x12], cl
xor al, 0xff
mov byte [esp + 0x13], al
mov al, byte [esp + 0x10]
mov dl, byte [esp + 0x12]
mov cl, 1
xor cl, 1
mov byte [esp + 0xd], cl
and dl, 0xff
mov byte [esp + 0xe], dl
and al, cl
mov byte [esp + 0xf], al
mov cl, byte [esp + 0xd]
mov al, byte [esp + 0x11]
mov dl, byte [esp + 0x13]
and dl, 0xff
mov byte [esp + 0xb], dl
and al, cl
mov byte [esp + 0xc], al
mov dl, byte [esp + 0xc]
mov cl, byte [esp + 0xb]
mov ah, byte [esp + 0xf]
mov al, byte [esp + 0xe]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0xa], al
mov al, byte [esp + 0xa]
mov dl, byte [esp + 0xd]
mov ah, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003c5e8
jmp 0x1003c615
jmp 0x1003c2e7
mov eax, dword [0x1006532c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x1cacf851
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003c160
jmp 0x1003c3c5
jmp 0x1003c517