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

Disassembly:
push ebx
push esi
sub esp, 0x110
mov eax, dword [esp + 0x120]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x108], eax
mov eax, dword [0x1005fc40]
mov dword [esp + 0x10c], eax
mov eax, dword [0x1005fc3c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10c]
sub eax, 0x44dfeb1b
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xfc]
sub eax, 1
add eax, 0x44dfeb1b
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x10c]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xf6], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xf7], al
mov dl, byte [esp + 0xf7]
mov cl, byte [esp + 0xf6]
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x10041eed
jmp 0x100426be
mov eax, dword [esp + 0x104]
add eax, 0x1c
mov dword [esp + 0xec], eax
mov eax, dword [0x1005e378]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xf0]
mov eax, dword [eax + 0x53e0e378]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe8]
cmp eax, 1
sete al
mov byte [esp + 0xe3], al
mov eax, dword [0x1005fc40]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe4]
mov ecx, dword [0x1005fc3c]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xe0], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0xe1], cl
and al, cl
mov byte [esp + 0xe2], al
mov cl, byte [esp + 0xe1]
mov al, byte [esp + 0xe0]
xor al, cl
mov byte [esp + 0xdf], al
mov cl, byte [esp + 0xdf]
mov al, byte [esp + 0xe2]
or al, cl
test al, 1
jne 0x10041fb1
jmp 0x100426be
mov cl, byte [esp + 0xe3]
xor eax, eax
test cl, 1
mov dword [esp + 0xd8], eax
jne 0x10042512
jmp 0x10041fcf
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0xec]
mov dword [esp + 0xd4], eax
mov bh, byte [edx + eax]
mov esi, 0x1c
xor edx, edx
div esi
mov eax, dword [esp + 0xd4]
mov bl, byte [ecx + edx]
mov dl, bh
xor dl, 0xff
and dl, 0x16
mov cl, 0xff
xor cl, 0x16
and bh, cl
mov dh, bl
xor dh, 0xff
and dh, 0x16
and bl, cl
mov ecx, dword [esp + 0x108]
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, 0x13
mov dword [esp + 0xd8], eax
jne 0x10041fcf
mov eax, dword [0x1005fc40]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x1005fc3c]
mov dword [esp + 0xcc], ecx
sub eax, 0x17090ac0
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd0]
sub eax, 1
add eax, 0x17090ac0
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc8]
imul eax, ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc0]
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 + 0xbd], 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 + 0xbe], dl
or al, cl
mov byte [esp + 0xbf], al
mov al, byte [esp + 0xbd]
mov cl, byte [esp + 0xbf]
xor cl, 0xff
mov byte [esp + 0xbb], cl
or al, 0
mov byte [esp + 0xbc], al
mov al, byte [esp + 0xbe]
mov dl, byte [esp + 0xbc]
mov cl, byte [esp + 0xbb]
and cl, dl
or al, cl
test al, 1
jne 0x10042139
jmp 0x10042699
mov eax, dword [0x1005fc40]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [0x1005fc3c]
mov dword [esp + 0xac], ecx
add eax, 0x2cbb6431
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
sub eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
sub eax, 0x2cbb6431
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb4]
imul eax, ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x100421d3
jmp 0x100426df
mov eax, dword [0x1005e378]
add eax, 0x53e0e378
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
mov dword [eax], 1
mov eax, dword [0x1005fc40]
mov ecx, dword [0x1005fc3c]
mov dword [esp + 0x94], ecx
mov ecx, eax
add ecx, 0x74ed608e
sub ecx, 1
sub ecx, 0x74ed608e
imul eax, ecx
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x91], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x92], cl
and al, cl
mov byte [esp + 0x93], al
mov al, byte [esp + 0x93]
mov dl, byte [esp + 0x92]
mov cl, byte [esp + 0x91]
xor cl, dl
or al, cl
mov byte [esp + 0x90], al
mov al, byte [esp + 0x90]
test al, 1
jne 0x10042286
jmp 0x100426df
mov eax, dword [0x1005fc40]
mov dword [esp + 0x84], eax
mov ecx, dword [0x1005fc3c]
mov dword [esp + 0x88], ecx
sub eax, 0xea946423
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
sub eax, 1
add eax, 0xea946423
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x7b], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x7c], al
xor cl, 0xff
mov byte [esp + 0x7d], cl
xor al, 0xff
mov byte [esp + 0x7e], al
mov al, 1
xor al, 0
mov byte [esp + 0x7f], al
mov cl, byte [esp + 0x7f]
mov al, byte [esp + 0x7c]
mov dl, byte [esp + 0x7e]
mov ah, byte [esp + 0x7b]
mov ch, byte [esp + 0x7d]
and ch, 0
mov byte [esp + 0x77], ch
and ah, cl
mov byte [esp + 0x78], ah
and dl, 0
mov byte [esp + 0x79], dl
and al, cl
mov byte [esp + 0x7a], al
mov cl, byte [esp + 0x7f]
mov dl, byte [esp + 0x7e]
mov al, byte [esp + 0x7d]
mov dh, byte [esp + 0x7a]
mov ch, byte [esp + 0x79]
mov bl, byte [esp + 0x78]
mov ah, byte [esp + 0x77]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x75], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x76], al
mov cl, byte [esp + 0x76]
mov al, byte [esp + 0x75]
or al, cl
test al, 1
jne 0x1004237d
jmp 0x10042699
mov eax, dword [0x1005fc40]
mov dword [esp + 0x6c], eax
mov eax, dword [0x1005fc3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
sub edx, 0x6c59004d
sub edx, 1
add edx, 0x6c59004d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x65], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x66], ah
xor al, 0xff
mov byte [esp + 0x67], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x68], dl
and ah, 0xff
mov byte [esp + 0x69], ah
and cl, dl
mov byte [esp + 0x6a], cl
and al, 0xff
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x6b]
mov ah, byte [esp + 0x6a]
mov al, byte [esp + 0x69]
mov ch, byte [esp + 0x68]
mov dl, byte [esp + 0x65]
and dl, ch
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x64], al
mov cl, byte [esp + 0x67]
mov al, byte [esp + 0x66]
or al, cl
xor al, 0xff
mov byte [esp + 0x63], al
mov al, byte [esp + 0x64]
mov cl, byte [esp + 0x63]
mov dl, byte [esp + 0x68]
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x62], al
mov al, byte [esp + 0x62]
test al, 1
jne 0x10042441
jmp 0x10042702
mov eax, dword [0x1005fc40]
mov dword [esp + 0x54], eax
mov ecx, dword [0x1005fc3c]
mov dword [esp + 0x58], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
imul eax, ecx
and eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl al
mov byte [esp + 0x49], al
mov ah, cl
xor ah, 0xff
mov byte [esp + 0x4a], ah
xor al, 0xff
mov byte [esp + 0x4b], al
mov dl, 1
xor dl, 1
mov byte [esp + 0x4c], dl
and ah, 0xff
mov byte [esp + 0x4d], ah
and cl, dl
mov byte [esp + 0x4e], cl
and al, 0xff
mov byte [esp + 0x4f], al
mov cl, byte [esp + 0x4e]
mov al, byte [esp + 0x4d]
mov ah, byte [esp + 0x4c]
mov dl, byte [esp + 0x49]
and dl, ah
mov byte [esp + 0x47], dl
or al, cl
mov byte [esp + 0x48], al
mov dl, byte [esp + 0x4c]
mov ah, byte [esp + 0x4b]
mov cl, byte [esp + 0x4a]
mov al, byte [esp + 0x48]
mov dh, byte [esp + 0x47]
mov ch, byte [esp + 0x4f]
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x46], al
mov al, byte [esp + 0x46]
test al, 1
jne 0x1004250d
jmp 0x10042702
jmp 0x10042512
mov eax, dword [0x1005fc40]
mov dword [esp + 0x3c], eax
mov eax, dword [0x1005fc3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
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 + 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 + 0x39]
mov al, byte [esp + 0x38]
or al, cl
mov byte [esp + 0x34], al
mov al, byte [esp + 0x37]
mov dl, byte [esp + 0x36]
mov cl, byte [esp + 0x35]
mov ch, byte [esp + 0x34]
mov ah, byte [esp + 0x3a]
xor ah, ch
mov byte [esp + 0x31], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x32], cl
or al, 0
mov byte [esp + 0x33], al
mov al, byte [esp + 0x31]
mov dl, byte [esp + 0x33]
mov cl, byte [esp + 0x32]
and cl, dl
or al, cl
test al, 1
jne 0x100425d4
jmp 0x10042707
mov eax, dword [0x1005fc40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x1005fc3c]
mov dword [esp + 0x24], ecx
sub eax, 0x5ddb8158
sub eax, 1
add eax, 0x5ddb8158
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 + 0x24]
mov ecx, dword [esp + 0x20]
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x1a], al
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x1b], ch
mov ah, 1
xor ah, 1
mov byte [esp + 0x1c], ah
and al, 0xff
and cl, ah
and ch, 0xff
mov byte [esp + 0x1d], ch
and dl, ah
mov byte [esp + 0x1e], dl
or al, cl
mov byte [esp + 0x1f], al
mov cl, byte [esp + 0x1e]
mov al, byte [esp + 0x1d]
or al, cl
mov byte [esp + 0x19], al
mov dl, byte [esp + 0x1c]
mov ah, byte [esp + 0x1b]
mov cl, byte [esp + 0x1a]
mov ch, byte [esp + 0x19]
mov al, byte [esp + 0x1f]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10042690
jmp 0x10042707
add esp, 0x110
pop esi
pop ebx
ret
mov eax, dword [0x1005e378]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0x53e0e378
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x10042139
mov eax, dword [0x1005e378]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x53e0e378
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x10041eed
mov eax, dword [0x1005e378]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x53e0e378
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x100421d3
jmp 0x10042441
jmp 0x100425d4