Function at 0x1003b870
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, 0x148
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x13c], eax
mov eax, dword [0x10064cd0]
mov dword [esp + 0x140], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x140]
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 + 0x137], al
mov al, byte [esp + 0x137]
mov ecx, dword [esp + 0x144]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x131], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x132], dl
xor cl, 0xff
mov byte [esp + 0x133], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0x134], cl
and dl, 0
mov byte [esp + 0x135], dl
and al, cl
mov byte [esp + 0x136], al
mov cl, byte [esp + 0x136]
mov al, byte [esp + 0x135]
mov ah, byte [esp + 0x134]
mov dl, byte [esp + 0x131]
mov ch, byte [esp + 0x133]
and ch, 0
mov byte [esp + 0x12e], ch
and dl, ah
mov byte [esp + 0x12f], dl
or al, cl
mov byte [esp + 0x130], al
mov cl, byte [esp + 0x12f]
mov al, byte [esp + 0x12e]
or al, cl
mov byte [esp + 0x12d], al
mov dl, byte [esp + 0x134]
mov ah, byte [esp + 0x133]
mov cl, byte [esp + 0x132]
mov ch, byte [esp + 0x12d]
mov al, byte [esp + 0x130]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x1003b9b4
jmp 0x1003c411
mov eax, dword [0x10064cd0]
mov dword [esp + 0x120], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0x124], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x128], eax
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0x120]
add eax, ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x11a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x11b], al
mov cl, byte [esp + 0x11b]
mov al, byte [esp + 0x11a]
mov dl, al
and dl, cl
mov byte [esp + 0x118], dl
xor al, cl
mov byte [esp + 0x119], al
mov cl, byte [esp + 0x119]
mov al, byte [esp + 0x118]
or al, cl
mov byte [esp + 0x117], al
mov al, byte [esp + 0x117]
test al, 1
jne 0x1003ba71
jmp 0x1003c411
mov eax, dword [0x10064cd0]
mov ecx, dword [0x10064ccc]
mov dword [esp + 0x10c], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
cmp ecx, 0
sete cl
mov byte [esp + 0x108], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x109], al
xor cl, 0xff
mov byte [esp + 0x10a], cl
xor al, 0xff
mov byte [esp + 0x10b], al
mov al, 1
xor al, 1
mov byte [esp + 0x107], al
mov al, byte [esp + 0x10b]
mov dl, byte [esp + 0x107]
mov cl, byte [esp + 0x108]
mov ah, byte [esp + 0x10a]
and ah, 0xff
mov byte [esp + 0x104], ah
and cl, dl
mov byte [esp + 0x105], cl
and al, 0xff
mov byte [esp + 0x106], al
mov cl, byte [esp + 0x105]
mov al, byte [esp + 0x104]
mov ah, byte [esp + 0x107]
mov dl, byte [esp + 0x109]
and dl, ah
mov byte [esp + 0x102], dl
or al, cl
mov byte [esp + 0x103], al
mov dl, byte [esp + 0x107]
mov ah, byte [esp + 0x10b]
mov cl, byte [esp + 0x10a]
mov al, byte [esp + 0x103]
mov dh, byte [esp + 0x102]
mov ch, byte [esp + 0x106]
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 0x1003bb8c
jmp 0x1003c280
mov eax, dword [esp + 0x138]
add eax, 0x1e
mov dword [esp + 0xf0], eax
mov eax, dword [0x10063328]
cmp dword [eax + 0x20acc55c], 1
sete al
mov byte [esp + 0xf7], al
mov eax, dword [0x10064cd0]
mov dword [esp + 0xf8], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xf8]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xf8]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xea], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xeb], al
mov cl, byte [esp + 0xeb]
mov al, byte [esp + 0xea]
and al, cl
mov byte [esp + 0xe9], al
mov cl, byte [esp + 0xeb]
mov al, byte [esp + 0xea]
xor al, cl
mov byte [esp + 0xe8], al
mov cl, byte [esp + 0xe8]
mov al, byte [esp + 0xe9]
or al, cl
test al, 1
jne 0x1003bc60
jmp 0x1003c280
mov eax, dword [0x10064cd0]
mov dword [esp + 0xdc], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0xe0], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xe4]
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0xe0]
mov eax, dword [esp + 0xd8]
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0xd1], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0xd2], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0xd3], cl
and ch, 0xff
mov byte [esp + 0xd4], ch
and ah, cl
mov byte [esp + 0xd5], ah
and dl, 0xff
mov byte [esp + 0xd6], dl
and al, cl
mov byte [esp + 0xd7], al
mov al, byte [esp + 0xd3]
mov dl, byte [esp + 0xd2]
mov cl, byte [esp + 0xd1]
mov dh, byte [esp + 0xd7]
mov ch, byte [esp + 0xd6]
mov bl, byte [esp + 0xd5]
mov ah, byte [esp + 0xd4]
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xce], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0xcf], cl
or al, 1
mov byte [esp + 0xd0], al
mov cl, byte [esp + 0xd0]
mov al, byte [esp + 0xcf]
and al, cl
mov byte [esp + 0xcd], al
mov cl, byte [esp + 0xcd]
mov al, byte [esp + 0xce]
or al, cl
test al, 1
jne 0x1003bd8e
jmp 0x1003c416
mov eax, dword [0x10064cd0]
mov dword [esp + 0xc4], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc4]
add eax, 0xa1252eeb
sub eax, 1
sub eax, 0xa1252eeb
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
imul eax, ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xbc]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xba], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xbb], al
mov cl, byte [esp + 0xbb]
mov al, byte [esp + 0xba]
and al, cl
mov byte [esp + 0xb9], al
mov al, byte [esp + 0xb9]
mov dl, byte [esp + 0xbb]
mov cl, byte [esp + 0xba]
xor cl, dl
or al, cl
test al, 1
jne 0x1003be41
jmp 0x1003c416
mov cl, byte [esp + 0xf7]
xor eax, eax
test cl, 1
mov dword [esp + 0xb4], eax
jne 0x1003c18f
jmp 0x1003be5f
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x13c]
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xac], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xb3], dl
mov edi, 0x1e
xor edx, edx
div edi
mov eax, dword [esp + 0xac]
mov edi, edx
mov dh, byte [esp + 0xb3]
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, 0x11
mov dword [esp + 0xb4], eax
jne 0x1003be5f
mov eax, dword [0x10064cd0]
mov dword [esp + 0xa8], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
add eax, 0xb353fc4f
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
sub edx, 1
sub edx, 0xb353fc4f
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x9e], dl
xor al, cl
mov byte [esp + 0x9f], al
mov cl, byte [esp + 0x9f]
mov al, byte [esp + 0x9e]
or al, cl
mov byte [esp + 0x9d], al
mov al, byte [esp + 0x9d]
test al, 1
jne 0x1003bf6c
jmp 0x1003c3cb
mov eax, dword [0x10064cd0]
mov ecx, dword [0x10064ccc]
mov dword [esp + 0x94], ecx
mov ecx, eax
sub ecx, 0xfc97e528
sub ecx, 1
add ecx, 0xfc97e528
imul eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
and eax, 1
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x8a], cl
mov dl, al
xor dl, 0xff
mov byte [esp + 0x8b], dl
xor cl, 0xff
mov byte [esp + 0x8c], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x8d], cl
and dl, 0xff
mov byte [esp + 0x8e], dl
and al, cl
mov byte [esp + 0x8f], al
mov cl, byte [esp + 0x8d]
mov al, byte [esp + 0x8a]
mov dl, byte [esp + 0x8c]
and dl, 0xff
mov byte [esp + 0x88], dl
and al, cl
mov byte [esp + 0x89], al
mov cl, byte [esp + 0x89]
mov al, byte [esp + 0x88]
mov ah, byte [esp + 0x8f]
mov dl, byte [esp + 0x8e]
or dl, ah
mov byte [esp + 0x86], dl
or al, cl
mov byte [esp + 0x87], al
mov dl, byte [esp + 0x8d]
mov ah, byte [esp + 0x8c]
mov cl, byte [esp + 0x8b]
mov ch, byte [esp + 0x87]
mov al, byte [esp + 0x86]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003c094
jmp 0x1003c41b
mov eax, dword [0x10063328]
mov dword [eax + 0x20acc55c], 1
mov eax, dword [0x10064cd0]
mov dword [esp + 0x78], eax
mov ecx, dword [0x10064ccc]
mov dword [esp + 0x7c], ecx
add eax, 0x3b2b08b4
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
sub eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
sub eax, 0x3b2b08b4
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x6e], dl
xor al, cl
mov byte [esp + 0x6f], al
mov cl, byte [esp + 0x6f]
mov al, byte [esp + 0x6e]
or al, cl
test al, 1
jne 0x1003c120
jmp 0x1003c41b
mov eax, dword [0x10064cd0]
mov dword [esp + 0x64], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
and eax, 1
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x5e], dl
xor al, cl
mov byte [esp + 0x5f], al
mov cl, byte [esp + 0x5f]
mov al, byte [esp + 0x5e]
or al, cl
mov byte [esp + 0x5d], al
mov al, byte [esp + 0x5d]
test al, 1
jne 0x1003c18a
jmp 0x1003c3cb
jmp 0x1003c18f
mov eax, dword [0x10064cd0]
mov dword [esp + 0x54], eax
mov eax, dword [0x10064ccc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
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
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cmp eax, 0
sete al
mov byte [esp + 0x4b], al
mov cl, byte [esp + 0x4b]
mov eax, dword [esp + 0x58]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x4a], al
mov al, byte [esp + 0x4a]
test al, 1
jne 0x1003c1fb
jmp 0x1003c3c6
mov eax, dword [0x10064cd0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [0x10064ccc]
mov dword [esp + 0x3c], ecx
sub eax, 0x583c8824
sub eax, 1
add eax, 0x583c8824
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
imul eax, ecx
and eax, 1
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x36], dl
xor al, cl
mov byte [esp + 0x37], al
mov cl, byte [esp + 0x37]
mov al, byte [esp + 0x36]
or al, cl
mov byte [esp + 0x35], al
mov al, byte [esp + 0x35]
test al, 1
jne 0x1003c276
jmp 0x1003c3c6
add esp, 0x148
pop esi
pop edi
pop ebx
ret
mov ecx, dword [0x10064cd0]
mov eax, dword [0x10064ccc]
mov edx, ecx
sub edx, 0x75f354de
sub edx, 1
add edx, 0x75f354de
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x31], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x32], al
xor cl, 0xff
mov byte [esp + 0x33], cl
xor al, 0xff
mov byte [esp + 0x34], al
mov al, byte [esp + 0x32]
mov dl, byte [esp + 0x34]
mov ah, byte [esp + 0x31]
mov ch, byte [esp + 0x33]
mov cl, 1
xor cl, 1
mov byte [esp + 0x2c], cl
and ch, 0xff
mov byte [esp + 0x2d], ch
and ah, cl
mov byte [esp + 0x2e], ah
and dl, 0xff
mov byte [esp + 0x2f], dl
and al, cl
mov byte [esp + 0x30], al
mov dl, byte [esp + 0x30]
mov cl, byte [esp + 0x2f]
mov ah, byte [esp + 0x2e]
mov al, byte [esp + 0x2d]
or al, ah
or cl, dl
xor al, cl
mov byte [esp + 0x2b], al
mov cl, byte [esp + 0x34]
mov al, byte [esp + 0x33]
or al, cl
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x2a]
xor al, 0xff
mov byte [esp + 0x29], al
mov al, byte [esp + 0x2b]
mov cl, byte [esp + 0x29]
mov dl, byte [esp + 0x2c]
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x1003c348
jmp 0x1003c3f0
mov eax, dword [0x10064cd0]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x10064ccc]
mov dword [esp + 0x20], ecx
add eax, 0x7c4c00f5
sub eax, 1
sub eax, 0x7c4c00f5
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x19], cl
and al, cl
mov byte [esp + 0x1a], al
mov cl, byte [esp + 0x19]
mov al, byte [esp + 0x1b]
xor al, cl
mov byte [esp + 0x18], al
mov cl, byte [esp + 0x18]
mov al, byte [esp + 0x1a]
or al, cl
test al, 1
jne 0x1003c3c1
jmp 0x1003c3f0
jmp 0x1003bb8c
jmp 0x1003c1fb
mov eax, dword [0x10063328]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0x20acc55c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x1003bf6c
mov eax, dword [0x10063328]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x20acc55c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x1003c348
jmp 0x1003b9b4
jmp 0x1003bd8e
mov eax, dword [0x10063328]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x20acc55c
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1003c094