Function at 0x1003c440
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, 0x1f
mov dword [esp + 0xdc], eax
mov eax, dword [0x1006332c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
add eax, 0xdd588ccc
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 0x1003c57c
jmp 0x1003c4d0
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, 0x1f
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, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 0xd
mov dword [esp + 0xc0], eax
jne 0x1003c4d0
mov eax, dword [0x1006332c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
add eax, 0xdd588ccc
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
mov dword [eax], 1
jmp 0x1003c57c
mov eax, dword [0x10064cc8]
mov ecx, dword [0x10064cc4]
mov dword [esp + 0xa8], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xaf], al
mov al, byte [esp + 0xaf]
mov ecx, dword [esp + 0xa8]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xa6], cl
xor al, 0xff
mov byte [esp + 0xa7], al
mov al, byte [esp + 0xa7]
mov ch, byte [esp + 0xa6]
mov dh, byte [esp + 0xaf]
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 0
mov byte [esp + 0xa3], bl
mov dl, al
and dl, 0
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xa4], dl
or al, cl
xor al, 0xff
mov byte [esp + 0xa5], al
mov al, byte [esp + 0xa5]
mov cl, byte [esp + 0xa3]
or cl, 0
and al, cl
mov byte [esp + 0xa2], al
mov cl, byte [esp + 0xa2]
mov al, byte [esp + 0xa4]
or al, cl
mov byte [esp + 0xa1], al
mov al, byte [esp + 0xa1]
test al, 1
jne 0x1003c65f
jmp 0x1003cb3a
mov eax, dword [0x10064cc8]
mov dword [esp + 0x9c], eax
mov eax, dword [0x10064cc4]
mov dword [esp + 0x94], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
add eax, ecx
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x9c]
imul eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x85], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x86], ah
xor al, 0xff
mov byte [esp + 0x87], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x88], dl
and ah, 0xff
mov byte [esp + 0x89], ah
and cl, dl
mov byte [esp + 0x8a], cl
and al, 0xff
mov byte [esp + 0x8b], al
mov dl, byte [esp + 0x88]
mov ah, byte [esp + 0x87]
mov cl, byte [esp + 0x86]
mov ch, byte [esp + 0x8b]
mov bl, byte [esp + 0x8a]
mov al, byte [esp + 0x89]
mov dh, byte [esp + 0x85]
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003c765
jmp 0x1003cb3a
mov eax, dword [0x10064cc8]
mov dword [esp + 0x7c], eax
mov eax, dword [0x10064cc4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x75], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x76], cl
and al, cl
mov byte [esp + 0x77], al
mov al, byte [esp + 0x77]
mov dl, byte [esp + 0x76]
mov cl, byte [esp + 0x75]
xor cl, dl
or al, cl
mov byte [esp + 0x74], al
mov al, byte [esp + 0x74]
test al, 1
jne 0x1003c7dd
jmp 0x1003cb30
mov eax, dword [0x10064cc8]
mov dword [esp + 0x68], eax
mov ecx, dword [0x10064cc4]
mov dword [esp + 0x6c], ecx
add eax, 0x96aafc56
sub eax, 1
sub eax, 0x96aafc56
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x67], al
mov eax, dword [esp + 0x6c]
cmp eax, 0xa
setl al
mov byte [esp + 0x66], al
mov cl, byte [esp + 0x66]
mov al, byte [esp + 0x67]
xor al, 0xff
mov byte [esp + 0x62], al
xor cl, 0xff
mov byte [esp + 0x63], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x64], cl
and al, 0xff
mov byte [esp + 0x65], al
mov al, byte [esp + 0x65]
mov ah, byte [esp + 0x64]
mov dl, byte [esp + 0x66]
mov ch, byte [esp + 0x63]
mov cl, byte [esp + 0x67]
and cl, ah
and ch, 0xff
mov byte [esp + 0x5f], ch
and dl, ah
mov byte [esp + 0x60], dl
or al, cl
mov byte [esp + 0x61], al
mov dl, byte [esp + 0x64]
mov ah, byte [esp + 0x63]
mov cl, byte [esp + 0x62]
mov al, byte [esp + 0x61]
mov dh, byte [esp + 0x60]
mov ch, byte [esp + 0x5f]
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003c8a9
jmp 0x1003cb30
mov eax, dword [0x10064cc8]
mov dword [esp + 0x50], eax
mov ecx, dword [0x10064cc4]
mov dword [esp + 0x54], ecx
sub eax, 0xf40919bd
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
sub eax, 1
add eax, 0xf40919bd
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
imul eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
and ecx, 1
cmp ecx, 0
sete dh
cmp eax, 0xa
setl ch
mov al, dh
xor al, 0xff
mov cl, ch
xor cl, 0xff
mov bl, 1
xor bl, 0
mov byte [esp + 0x45], bl
mov dl, al
and dl, 0
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x46], dl
or al, cl
mov byte [esp + 0x47], al
mov al, byte [esp + 0x46]
mov dl, byte [esp + 0x45]
mov cl, byte [esp + 0x47]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x44], al
mov al, byte [esp + 0x44]
test al, 1
jne 0x1003c956
jmp 0x1003cb35
mov eax, dword [0x10064cc8]
mov dword [esp + 0x3c], eax
mov eax, dword [0x10064cc4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
add eax, 0xe1649320
sub eax, 1
sub eax, 0xe1649320
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
imul eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x31], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x32], cl
and al, cl
mov byte [esp + 0x33], al
mov cl, byte [esp + 0x32]
mov al, byte [esp + 0x31]
xor al, cl
mov byte [esp + 0x30], al
mov cl, byte [esp + 0x30]
mov al, byte [esp + 0x33]
or al, cl
test al, 1
jne 0x1003c9d6
jmp 0x1003cb3f
mov eax, dword [0x10064cc8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x10064cc4]
mov dword [esp + 0x24], ecx
add eax, 0xcff93c57
sub eax, 1
sub eax, 0xcff93c57
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
imul eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
and eax, 1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, 0
sete al
mov byte [esp + 0x19], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1a], cl
and al, cl
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x1b]
mov dl, byte [esp + 0x1a]
mov cl, byte [esp + 0x19]
xor cl, dl
or al, cl
test al, 1
jne 0x1003ca57
jmp 0x1003cb3f
mov eax, dword [0x10064cc8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [0x10064cc4]
mov dword [esp + 0xc], ecx
add eax, 0x8cae8bb7
sub eax, 1
sub eax, 0x8cae8bb7
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 9], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xa], cl
xor al, 0xff
mov byte [esp + 0xb], al
mov al, byte [esp + 0xa]
mov ah, byte [esp + 9]
mov ch, byte [esp + 0xb]
mov dl, al
xor dl, 0xff
mov byte [esp + 3], dl
mov cl, 1
xor cl, 0
mov byte [esp + 4], cl
and ch, 0
mov byte [esp + 5], ch
and ah, cl
mov byte [esp + 6], ah
and dl, 0
mov byte [esp + 7], dl
and al, cl
mov byte [esp + 8], al
mov dl, byte [esp + 4]
mov ah, byte [esp + 3]
mov cl, byte [esp + 0xb]
mov dh, byte [esp + 8]
mov ch, byte [esp + 7]
mov bl, byte [esp + 6]
mov al, byte [esp + 5]
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 2], al
mov al, byte [esp + 2]
test al, 1
jne 0x1003cb26
jmp 0x1003cb35
add esp, 0xe0
pop esi
pop edi
pop ebx
ret
jmp 0x1003c7dd
jmp 0x1003c956
jmp 0x1003c65f
jmp 0x1003c9d6