Function at 0x1003cbc0
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, 0x12c
mov eax, dword [esp + 0x140]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x11c], eax
mov eax, dword [0x10060c80]
mov dword [esp + 0x120], eax
mov eax, dword [0x10060c7c]
mov dword [esp + 0x124], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x128]
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x116], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x117], al
mov cl, byte [esp + 0x117]
mov al, byte [esp + 0x116]
and al, cl
mov byte [esp + 0x115], al
mov al, byte [esp + 0x115]
mov dl, byte [esp + 0x117]
mov cl, byte [esp + 0x116]
xor cl, dl
or al, cl
mov byte [esp + 0x114], al
mov al, byte [esp + 0x114]
test al, 1
jne 0x1003cc8d
jmp 0x1003d59e
mov eax, dword [esp + 0x118]
add eax, 0x18
mov dword [esp + 0x110], eax
mov eax, dword [0x1005f354]
cmp dword [eax - 0x39f8e2b7], 1
sete al
mov byte [esp + 0x10f], al
mov eax, dword [0x10060c80]
mov dword [esp + 0x100], eax
mov ecx, dword [0x10060c7c]
mov dword [esp + 0x104], ecx
add eax, 0xb90393b9
sub eax, 1
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x108]
sub edx, 0xb90393b9
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xfd], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xfe], cl
and al, cl
mov byte [esp + 0xff], al
mov al, byte [esp + 0xff]
mov dl, byte [esp + 0xfe]
mov cl, byte [esp + 0xfd]
xor cl, dl
or al, cl
mov byte [esp + 0xfc], al
mov al, byte [esp + 0xfc]
test al, 1
jne 0x1003cd54
jmp 0x1003d59e
mov cl, byte [esp + 0x10f]
xor eax, eax
test cl, 1
mov dword [esp + 0xf8], eax
jne 0x1003d17b
jmp 0x1003cd72
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x11c]
mov esi, dword [esp + 0x118]
mov edx, dword [esp + 0x110]
mov dword [esp + 0xf0], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xf7], dl
mov edi, 0x18
xor edx, edx
div edi
mov eax, dword [esp + 0xf0]
mov edi, edx
mov dh, byte [esp + 0xf7]
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
add eax, 0xcfbafff5
add eax, 1
sub eax, 0xcfbafff5
cmp eax, 0x16
mov dword [esp + 0xf8], eax
jne 0x1003cd72
mov eax, dword [0x10060c80]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xec]
mov ecx, dword [0x10060c7c]
mov dword [esp + 0xe4], ecx
add eax, 0x47775946
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe8]
sub eax, 1
sub eax, 0x47775946
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xec]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0xd9], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0xda], ah
xor al, 0xff
mov byte [esp + 0xdb], al
mov dl, 1
xor dl, 0
mov byte [esp + 0xdc], dl
and ah, 0
mov byte [esp + 0xdd], ah
and cl, dl
mov byte [esp + 0xde], cl
and al, 0
mov byte [esp + 0xdf], al
mov dl, byte [esp + 0xdc]
mov ah, byte [esp + 0xdb]
mov cl, byte [esp + 0xda]
mov ch, byte [esp + 0xdf]
mov bl, byte [esp + 0xde]
mov al, byte [esp + 0xdd]
mov dh, byte [esp + 0xd9]
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 0x1003ceea
jmp 0x1003d579
mov eax, dword [0x10060c80]
mov ecx, dword [0x10060c7c]
mov dword [esp + 0xd0], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xcd], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xce], cl
and al, cl
mov byte [esp + 0xcf], al
mov cl, byte [esp + 0xce]
mov al, byte [esp + 0xcd]
xor al, cl
mov byte [esp + 0xcc], al
mov cl, byte [esp + 0xcc]
mov al, byte [esp + 0xcf]
or al, cl
mov byte [esp + 0xcb], al
mov al, byte [esp + 0xcb]
test al, 1
jne 0x1003cf85
jmp 0x1003d5bf
mov eax, dword [0x1005f354]
mov dword [eax - 0x39f8e2b7], 1
mov eax, dword [0x10060c80]
mov dword [esp + 0xbc], eax
mov ecx, dword [0x10060c7c]
mov dword [esp + 0xc0], ecx
add eax, 0x3629ee6
sub eax, 1
sub eax, 0x3629ee6
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xbc]
imul eax, ecx
and eax, 1
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xb8]
cmp eax, 0
sete al
mov byte [esp + 0xb5], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xb6], cl
xor al, 0xff
mov byte [esp + 0xb7], al
mov cl, byte [esp + 0xb5]
mov ah, byte [esp + 0xb7]
mov al, byte [esp + 0xb6]
xor al, 0xff
mov byte [esp + 0xb0], al
mov dl, 1
xor dl, 1
mov byte [esp + 0xb1], dl
and ah, 0xff
mov byte [esp + 0xb2], ah
and cl, dl
mov byte [esp + 0xb3], cl
and al, 0xff
mov byte [esp + 0xb4], al
mov cl, byte [esp + 0xb0]
mov al, byte [esp + 0xb7]
mov ah, byte [esp + 0xb4]
mov dh, byte [esp + 0xb3]
mov dl, byte [esp + 0xb2]
mov bl, byte [esp + 0xb1]
mov ch, byte [esp + 0xb6]
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0xae], dl
or al, cl
mov byte [esp + 0xaf], al
mov al, byte [esp + 0xae]
mov dl, byte [esp + 0xb1]
mov cl, byte [esp + 0xaf]
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003d0c8
jmp 0x1003d5bf
mov eax, dword [0x10060c80]
mov dword [esp + 0xa0], eax
mov ecx, dword [0x10060c7c]
mov dword [esp + 0xa4], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
imul eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x9b], al
mov al, byte [esp + 0x9b]
mov ecx, dword [esp + 0xa4]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x99], cl
and al, cl
mov byte [esp + 0x9a], al
mov al, byte [esp + 0x9a]
mov dl, byte [esp + 0x99]
mov cl, byte [esp + 0x9b]
xor cl, dl
or al, cl
mov byte [esp + 0x98], al
mov al, byte [esp + 0x98]
test al, 1
jne 0x1003d176
jmp 0x1003d579
jmp 0x1003d17b
mov eax, dword [0x10060c80]
mov dword [esp + 0x90], eax
mov eax, dword [0x10060c7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
add eax, 0x125290c4
sub eax, 1
sub eax, 0x125290c4
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl cl
mov dl, ah
xor dl, 0xff
mov byte [esp + 0x87], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x88], al
mov ch, 1
xor ch, 1
mov byte [esp + 0x89], ch
and dl, 0xff
and ah, ch
and al, 0xff
and cl, ch
or dl, ah
mov byte [esp + 0x8a], dl
or al, cl
mov byte [esp + 0x8b], al
mov cl, byte [esp + 0x88]
mov al, byte [esp + 0x87]
mov ah, byte [esp + 0x8b]
mov dl, byte [esp + 0x8a]
xor dl, ah
mov byte [esp + 0x85], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x86], al
mov al, byte [esp + 0x85]
mov cl, byte [esp + 0x86]
mov dl, byte [esp + 0x89]
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x84], al
mov al, byte [esp + 0x84]
test al, 1
jne 0x1003d27a
jmp 0x1003d5e2
mov eax, dword [0x10060c80]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [0x10060c7c]
mov dword [esp + 0x78], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
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
xor al, 0xff
mov byte [esp + 0x77], al
mov dl, byte [esp + 0x76]
mov ah, byte [esp + 0x75]
mov al, byte [esp + 0x77]
mov cl, dl
xor cl, 0xff
mov byte [esp + 0x72], cl
mov ch, 1
xor ch, 1
mov byte [esp + 0x73], ch
and al, 0xff
and ah, ch
and cl, 0xff
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x74], al
mov cl, byte [esp + 0x73]
mov dl, byte [esp + 0x72]
mov al, byte [esp + 0x77]
or al, dl
xor al, 0xff
or cl, 1
and al, cl
mov byte [esp + 0x71], al
mov cl, byte [esp + 0x71]
mov al, byte [esp + 0x74]
or al, cl
test al, 1
jne 0x1003d332
jmp 0x1003d5e2
mov eax, dword [0x10060c80]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x10060c7c]
mov dword [esp + 0x64], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
imul eax, ecx
and eax, 1
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
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 + 0x5f], al
mov al, byte [esp + 0x5f]
test al, 1
jne 0x1003d397
jmp 0x1003d574
mov eax, dword [0x10060c80]
mov dword [esp + 0x50], eax
mov eax, dword [0x10060c7c]
mov dword [esp + 0x54], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
add eax, ecx
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 cl
mov byte [esp + 0x46], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x47], al
mov dl, byte [esp + 0x47]
mov cl, byte [esp + 0x46]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x45], al
mov al, byte [esp + 0x45]
test al, 1
jne 0x1003d413
jmp 0x1003d5e7
mov eax, dword [0x10060c80]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [0x10060c7c]
mov dword [esp + 0x38], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
imul eax, ecx
and eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0
sete al
mov byte [esp + 0x33], al
mov al, byte [esp + 0x33]
mov ecx, dword [esp + 0x38]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x31], dl
xor al, cl
mov byte [esp + 0x32], al
mov cl, byte [esp + 0x32]
mov al, byte [esp + 0x31]
or al, cl
test al, 1
jne 0x1003d488
jmp 0x1003d5e7
mov eax, dword [0x10060c80]
mov dword [esp + 0x28], eax
mov eax, dword [0x10060c7c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, eax
add ecx, 0x6cb10884
sub ecx, 1
sub ecx, 0x6cb10884
imul eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1e], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x1f], dl
xor cl, 0xff
mov byte [esp + 0x20], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x21], cl
and dl, 0xff
mov byte [esp + 0x22], dl
and al, cl
mov byte [esp + 0x23], al
mov cl, byte [esp + 0x23]
mov al, byte [esp + 0x22]
mov ah, byte [esp + 0x21]
mov dl, byte [esp + 0x1e]
mov ch, byte [esp + 0x20]
and ch, 0xff
mov byte [esp + 0x1b], ch
and dl, ah
mov byte [esp + 0x1c], dl
or al, cl
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x21]
mov dl, byte [esp + 0x20]
mov cl, byte [esp + 0x1f]
mov ah, byte [esp + 0x1d]
mov dh, byte [esp + 0x1c]
mov ch, byte [esp + 0x1b]
or ch, dh
xor ah, ch
mov byte [esp + 0x18], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x19], cl
or al, 1
mov byte [esp + 0x1a], al
mov al, byte [esp + 0x18]
mov dl, byte [esp + 0x1a]
mov cl, byte [esp + 0x19]
and cl, dl
or al, cl
test al, 1
jne 0x1003d56a
jmp 0x1003d574
add esp, 0x12c
pop esi
pop edi
pop ebx
ret
jmp 0x1003d397
mov eax, dword [0x1005f354]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0xc6071d49
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x1003ceea
mov eax, dword [0x1005f354]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0xc6071d49
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x1003cc8d
mov eax, dword [0x1005f354]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0xc6071d49
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003cf85
jmp 0x1003d27a
jmp 0x1003d413