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

Disassembly:
push ebx
push esi
sub esp, 0x114
mov eax, dword [esp + 0x124]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10c], eax
mov eax, dword [0x10064c70]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
mov ecx, dword [0x10064c6c]
mov dword [esp + 0x100], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x104], eax
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x110]
imul eax, ecx
and eax, 1
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xfc]
cmp eax, 0
sete al
mov byte [esp + 0xfb], al
mov al, byte [esp + 0xfb]
mov ecx, dword [esp + 0x100]
cmp ecx, 0xa
setl cl
mov byte [esp + 0xf9], cl
and al, cl
mov byte [esp + 0xfa], al
mov al, byte [esp + 0xfa]
mov dl, byte [esp + 0xf9]
mov cl, byte [esp + 0xfb]
xor cl, dl
or al, cl
test al, 1
jne 0x1004245b
jmp 0x10042dae
mov eax, dword [esp + 0x108]
add eax, 0x1e
mov dword [esp + 0xf4], eax
mov eax, dword [0x1006335c]
cmp dword [eax + 0x7b244ce4], 1
sete al
mov byte [esp + 0xf8], al
mov eax, dword [0x10064c70]
mov dword [esp + 0xec], eax
mov eax, dword [0x10064c6c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xec]
add eax, 0xdc831a27
sub eax, 1
sub eax, 0xdc831a27
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xe5], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xe6], cl
and al, cl
mov byte [esp + 0xe7], al
mov al, byte [esp + 0xe7]
mov dl, byte [esp + 0xe6]
mov cl, byte [esp + 0xe5]
xor cl, dl
or al, cl
mov byte [esp + 0xe4], al
mov al, byte [esp + 0xe4]
test al, 1
jne 0x10042527
jmp 0x10042dae
mov cl, byte [esp + 0xf8]
xor eax, eax
test cl, 1
mov dword [esp + 0xe0], eax
jne 0x100425f0
jmp 0x10042545
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xdc], eax
mov bh, byte [edx + eax]
mov esi, 0x1e
xor edx, edx
div esi
mov eax, dword [esp + 0xdc]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0xc5
mov cl, 0xff
xor cl, 0xc5
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0xc5
and bl, cl
mov ecx, dword [esp + 0x10c]
or dl, bh
or dh, bl
xor 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, 0xc
mov dword [esp + 0xe0], eax
jne 0x10042545
mov eax, dword [0x1006335c]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd8]
add eax, 0x7b244ce4
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xd4]
mov dword [eax], 1
jmp 0x100425f0
mov eax, dword [0x10064c70]
mov dword [esp + 0xd0], eax
mov eax, dword [0x10064c6c]
mov dword [esp + 0xc8], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
add eax, ecx
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xd0]
imul eax, ecx
and eax, 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc0]
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 + 0xbf], al
mov al, byte [esp + 0xbf]
test al, 1
jne 0x10042683
jmp 0x10042dcd
mov eax, dword [0x10064c70]
mov dword [esp + 0xb4], eax
mov eax, dword [0x10064c6c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, ecx
add edx, 0x8ed6ce6b
sub edx, 1
sub edx, 0x8ed6ce6b
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xb0], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xb1], al
xor cl, 0xff
mov byte [esp + 0xb2], cl
xor al, 0xff
mov byte [esp + 0xb3], al
mov al, byte [esp + 0xb1]
mov dl, byte [esp + 0xb3]
mov ah, byte [esp + 0xb0]
mov ch, byte [esp + 0xb2]
mov cl, 1
xor cl, 0
mov byte [esp + 0xab], cl
and ch, 0
mov byte [esp + 0xac], ch
and ah, cl
mov byte [esp + 0xad], ah
and dl, 0
mov byte [esp + 0xae], dl
and al, cl
mov byte [esp + 0xaf], al
mov dl, byte [esp + 0xaf]
mov cl, byte [esp + 0xae]
mov ah, byte [esp + 0xad]
mov al, byte [esp + 0xac]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0xaa], al
mov al, byte [esp + 0xab]
mov dl, byte [esp + 0xb3]
mov cl, byte [esp + 0xb2]
or cl, dl
xor cl, 0xff
mov byte [esp + 0xa8], cl
or al, 0
mov byte [esp + 0xa9], al
mov al, byte [esp + 0xaa]
mov dl, byte [esp + 0xa9]
mov cl, byte [esp + 0xa8]
and cl, dl
or al, cl
test al, 1
jne 0x100427b4
jmp 0x10042dd7
mov eax, dword [0x10064c70]
mov dword [esp + 0x9c], eax
mov ecx, dword [0x10064c6c]
mov dword [esp + 0xa0], ecx
add eax, 0x1ab0a695
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
sub ecx, 1
sub ecx, 0x1ab0a695
imul eax, ecx
and eax, 1
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
cmp eax, 0
sete al
mov byte [esp + 0x97], al
mov al, byte [esp + 0x97]
mov ecx, dword [esp + 0xa0]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x95], cl
xor al, 0xff
mov byte [esp + 0x96], al
mov al, byte [esp + 0x95]
xor al, 0xff
mov byte [esp + 0x93], al
mov al, 1
xor al, 0
mov byte [esp + 0x94], al
mov dl, byte [esp + 0x94]
mov ah, byte [esp + 0x93]
mov cl, byte [esp + 0x96]
mov dh, byte [esp + 0x95]
mov bl, byte [esp + 0x97]
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 0x1004289f
jmp 0x10042dd7
mov eax, dword [0x10064c70]
mov dword [esp + 0x84], eax
mov ecx, dword [0x10064c6c]
mov dword [esp + 0x88], ecx
sub eax, 0x20abf12e
sub eax, 1
add eax, 0x20abf12e
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x83], al
mov al, byte [esp + 0x83]
mov ecx, dword [esp + 0x88]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x7d], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x7e], dl
xor cl, 0xff
mov byte [esp + 0x7f], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x80], cl
and dl, 0xff
mov byte [esp + 0x81], dl
and al, cl
mov byte [esp + 0x82], al
mov ah, byte [esp + 0x82]
mov al, byte [esp + 0x81]
mov ch, byte [esp + 0x80]
mov dl, byte [esp + 0x7d]
mov cl, byte [esp + 0x7f]
and cl, 0xff
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x7c], al
mov al, byte [esp + 0x80]
mov dl, byte [esp + 0x7f]
mov cl, byte [esp + 0x7e]
or cl, dl
xor cl, 0xff
mov byte [esp + 0x7a], cl
or al, 1
mov byte [esp + 0x7b], al
mov al, byte [esp + 0x7c]
mov dl, byte [esp + 0x7b]
mov cl, byte [esp + 0x7a]
and cl, dl
or al, cl
test al, 1
jne 0x1004299b
jmp 0x10042dcd
mov ecx, dword [0x10064c70]
mov eax, dword [0x10064c6c]
mov edx, ecx
sub edx, 0xa683a233
sub edx, 1
add edx, 0xa683a233
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x76], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x77], al
xor cl, 0xff
mov byte [esp + 0x78], cl
xor al, 0xff
mov byte [esp + 0x79], al
mov al, byte [esp + 0x77]
mov dl, byte [esp + 0x79]
mov ah, byte [esp + 0x76]
mov ch, byte [esp + 0x78]
mov cl, 1
xor cl, 0
mov byte [esp + 0x71], cl
and ch, 0
mov byte [esp + 0x72], ch
and ah, cl
mov byte [esp + 0x73], ah
and dl, 0
mov byte [esp + 0x74], dl
and al, cl
mov byte [esp + 0x75], al
mov dl, byte [esp + 0x75]
mov cl, byte [esp + 0x74]
mov ah, byte [esp + 0x73]
mov al, byte [esp + 0x72]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x70], al
mov cl, byte [esp + 0x79]
mov al, byte [esp + 0x78]
or al, cl
xor al, 0xff
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x71]
or al, 0
mov byte [esp + 0x6e], al
mov al, byte [esp + 0x70]
mov dl, byte [esp + 0x6e]
mov cl, byte [esp + 0x6f]
and cl, dl
or al, cl
test al, 1
jne 0x10042a62
jmp 0x10042da9
mov eax, dword [0x10064c70]
mov dword [esp + 0x64], eax
mov eax, dword [0x10064c6c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, ecx
sub edx, 0xc6c382c5
sub edx, 1
add edx, 0xc6c382c5
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x62], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x63], al
mov cl, byte [esp + 0x62]
mov al, byte [esp + 0x63]
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x5c], ah
xor al, 0xff
mov byte [esp + 0x5d], al
mov dl, 1
xor dl, 0
mov byte [esp + 0x5e], dl
and ah, 0
mov byte [esp + 0x5f], ah
and cl, dl
mov byte [esp + 0x60], cl
and al, 0
mov byte [esp + 0x61], al
mov al, byte [esp + 0x61]
mov ah, byte [esp + 0x60]
mov dl, byte [esp + 0x5f]
mov ch, byte [esp + 0x5e]
mov cl, byte [esp + 0x63]
and cl, ch
or dl, ah
mov byte [esp + 0x5a], dl
or al, cl
mov byte [esp + 0x5b], al
mov dl, byte [esp + 0x5e]
mov ah, byte [esp + 0x5d]
mov cl, byte [esp + 0x5c]
mov ch, byte [esp + 0x5b]
mov al, byte [esp + 0x5a]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x59], al
mov al, byte [esp + 0x59]
test al, 1
jne 0x10042b33
jmp 0x10042dd2
mov eax, dword [0x10064c70]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [0x10064c6c]
mov dword [esp + 0x4c], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x4b], al
mov dh, byte [esp + 0x4b]
mov eax, dword [esp + 0x4c]
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 + 0x48], 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 + 0x49], dl
or al, cl
mov byte [esp + 0x4a], al
mov al, byte [esp + 0x49]
mov dl, byte [esp + 0x48]
mov cl, byte [esp + 0x4a]
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x47], al
mov al, byte [esp + 0x47]
test al, 1
jne 0x10042bd6
jmp 0x10042dd2
mov eax, dword [0x10064c70]
mov ecx, dword [0x10064c6c]
mov dword [esp + 0x3c], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x36], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x37], cl
xor al, 0xff
mov byte [esp + 0x38], al
xor cl, 0xff
mov byte [esp + 0x39], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x3a], cl
and al, 0
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
mov ah, byte [esp + 0x3a]
mov dl, byte [esp + 0x37]
mov ch, byte [esp + 0x39]
mov cl, byte [esp + 0x36]
and cl, ah
and ch, 0
mov byte [esp + 0x33], ch
and dl, ah
mov byte [esp + 0x34], dl
or al, cl
mov byte [esp + 0x35], al
mov cl, byte [esp + 0x34]
mov al, byte [esp + 0x33]
or al, cl
mov byte [esp + 0x32], al
mov cl, byte [esp + 0x3a]
mov dl, byte [esp + 0x39]
mov al, byte [esp + 0x38]
mov ch, byte [esp + 0x32]
mov ah, byte [esp + 0x35]
xor ah, ch
mov byte [esp + 0x30], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x31], al
mov cl, byte [esp + 0x31]
mov al, byte [esp + 0x30]
or al, cl
test al, 1
jne 0x10042ca5
jmp 0x10042da9
mov eax, dword [0x10064c70]
mov dword [esp + 0x24], eax
mov ecx, dword [0x10064c6c]
mov dword [esp + 0x28], ecx
add eax, 0xaff1ed44
sub eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
sub ecx, 0xaff1ed44
imul eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x1d], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x1e], cl
and al, cl
mov byte [esp + 0x1f], al
mov cl, byte [esp + 0x1e]
mov al, byte [esp + 0x1d]
xor al, cl
mov byte [esp + 0x1c], al
mov cl, byte [esp + 0x1c]
mov al, byte [esp + 0x1f]
or al, cl
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x1b]
test al, 1
jne 0x10042d2b
jmp 0x10042ddc
mov eax, dword [0x10064c70]
mov dword [esp + 0xc], eax
mov ecx, dword [0x10064c6c]
mov dword [esp + 0x10], ecx
add eax, 0x230a09a5
sub eax, 1
sub eax, 0x230a09a5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
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
and al, cl
mov byte [esp + 0xb], al
mov al, byte [esp + 0xb]
mov dl, byte [esp + 0xa]
mov cl, byte [esp + 9]
xor cl, dl
or al, cl
mov byte [esp + 8], al
mov al, byte [esp + 8]
test al, 1
jne 0x10042da0
jmp 0x10042ddc
add esp, 0x114
pop esi
pop ebx
ret
jmp 0x10042a62
mov eax, dword [0x1006335c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x7b244ce4
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004245b
jmp 0x10042683
jmp 0x10042b33
jmp 0x100427b4
jmp 0x10042d2b