Function at 0x42b7c6
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Get disk information
Read file on windows
Terminate process

Disassembly:
pushal
push 0x42bdb3
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x42be26
xchg ebx, eax
push 5
pop edi
mov ebp, esi
mov esi, 0x42bdbc
lodsd eax, dword [esi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
dec edi
jne 0x42b7e5
sub esp, 0x78
push 0x11
pop ebx
mov eax, 0xfffefdfc
push 0x40
pop ecx
push eax
sub eax, 0x4040404
loop 0x42b800
dec ebx
jne 0x42b7f8
sub esp, 0x156
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [esp + 0x140]
push eax
call dword [esp + 0x12ee]
lea eax, [esp + 0x12c]
push eax
push ebx
push ebx
push 0x8004
push dword [esp + 0x140]
call dword [esp + 0x12ea]
xor ebx, ebx
mov edi, 0x42bcf5
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or eax, eax
je 0x42be26
mov dword [esp + ebx*4 + 0x1292], eax
inc edi
cmp byte [edi], 0
jne 0x42b870
inc edi
or ebx, ebx
jne 0x42b90b
push esp
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
push 8
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x138]
mov esi, dword [esp + 0x12e2]
call esi
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebx
push 4
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x138]
call esi
push 0x14
mov ecx, esp
push ebx
push ecx
lea edx, [esp + 0xc]
push edx
push 2
push dword [esp + 0x140]
call dword [esp + 0x12e6]
pop eax
push dword [esp + 0x12c]
call dword [esp + 0x12e2]
mov esi, esp
push edi
lea edi, [esp + 0x15a]
lea edx, [edi - 2]
push 0x14
pop ecx
call fcn.0042be2e
pop edi
mov eax, dword [esp + ebx*4 + 0x1292]
push 0
lea ecx, [esp + 4]
push ecx
push 0x118
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x118
jne 0x42be26
lea ecx, [ebx*4 + 0x42bd73]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
imul eax, eax, 0x28
push eax
push eax
call fcn.0041f2f8
pop ecx
mov dword [esp + ebx*4 + 0x125a], eax
push eax
push 0
push 0
push 0x3fe
push dword [esp + ebx*4 + 0x12a6]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop eax
pop ecx
mov edx, esp
push 0
push edx
push ecx
push eax
push dword [esp + ebx*4 + 0x12a2]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x12c]
push eax
push 0
push 0
push 0x8004
push dword [esp + 0x140]
call dword [esp + 0x12ea]
push 0
push 0x100
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x138]
call dword [esp + 0x12e2]
push 0x14
mov ecx, esp
push 0
push ecx
lea edx, [esp + 0x124]
push edx
push 2
push dword [esp + 0x140]
call dword [esp + 0x12e6]
pop ecx
push dword [esp + 0x12c]
call dword [esp + 0x12e2]
lea esi, [esp + 0x118]
push edi
lea edi, [esp + 0x108]
push 5
pop ecx
repe cmpsd dword [esi], dword es:[edi]
pop edi
jne 0x42be26
lea esi, [esp + 0x156]
lea edx, [esi - 2]
call fcn.0042be5b
xor byte [esp + ecx + 4], al
inc cl
jne 0x42ba03
mov ch, bl
lea esi, [esp + 4]
push edi
lea edi, [esp + ecx + 0x25a]
mov ecx, 0x100
lea edx, [esp + ebx*2 + 0x138]
call fcn.0042be2e
pop edi
inc ebx
cmp bl, 0xf
jb 0x42b84d
xor ecx, ecx
lea edi, [esp + 4]
lea esi, [esp + 0x156]
lea edx, [esi - 2]
call fcn.0042be5b
xor al, byte [ecx + 0x42bf00]
mov byte [edi + ecx], al
inc cl
jne 0x42ba4a
mov ch, 1
lea edx, [esi - 4]
mov esi, edi
lea edi, [esp + 0x1156]
call fcn.0042be2e
mov eax, dword [ebp + 0xbfac4]
pop ecx
push eax
shr eax, 6
add eax, 4
push eax
call fcn.0041f2f8
pop ecx
mov dword [esp + 4], eax
xor ebx, ebx
xor ecx, ecx
mov edi, eax
lea esi, [esp + ecx + 0x256]
lea edx, [esp + ebx*2 + 0x134]
call fcn.0042be5b
inc ah
cmp eax, dword [esp]
jbe 0x42baaa
pop eax
push eax
mov dword [edi], eax
add edi, 4
inc ebx
and bl, 0xf
inc ch
and ch, 0xf
sub dword [esp], eax
jne 0x42ba8e
sub edi, dword [esp + 4]
push edi
shr edi, 2
mov dword [esp + 4], edi
call fcn.0041f2f8
pop ecx
mov dword [esp + 8], eax
xchg esi, eax
xor eax, eax
xor ecx, ecx
mov dword [esi + ecx], eax
inc ecx
mov edx, dword [esp + 4]
mov eax, dword [esi + ecx*4 - 4]
add eax, dword [edx + ecx*4 - 4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [esp]
jb 0x42bae0
pop eax
push eax
shl eax, 2
push eax
call fcn.0041f2f8
pop ecx
mov dword [esp + 0xc], eax
xchg edi, eax
xor ecx, ecx
mov dword [edi + ecx*4], ecx
inc ecx
cmp ecx, dword [esp]
jb 0x42bb04
dec ecx
je 0x42bb3c
xor eax, eax
mov ah, bl
lea esi, [esp + eax + 0x256]
lea edx, [esp + ebx*2 + 0x134]
call fcn.0042be5b
inc ebx
and bl, 0xf
lea esi, [ecx + 1]
cdq
div esi
mov eax, dword [edi + edx*4]
xchg dword [edi + ecx*4], eax
mov dword [edi + edx*4], eax
jmp 0x42bb0d
push 0x6532
call fcn.0041f2f8
pop ecx
mov dword [esp + 0x10], eax
xchg edi, eax
xor eax, eax
mov ecx, 0x6532
push ecx
rep stosb byte es:[edi], al
mov ah, bl
lea esi, [esp + eax + 0x25a]
lea edx, [esp + ebx*2 + 0x138]
call fcn.0042be5b
inc ebx
and bl, 0xf
mov edi, eax
mov ah, bl
xor al, al
lea esi, [esp + eax + 0x25a]
lea edx, [esp + ebx*2 + 0x138]
call fcn.0042be5b
inc ebx
and bl, 0xf
shl eax, 8
or edi, eax
mov ah, bl
lea esi, [esp + eax + 0x25a]
lea edx, [esp + ebx*2 + 0x138]
call fcn.0042be5b
inc ebx
and bl, 0xf
shl eax, 0x10
or edi, eax
xor eax, eax
mov ah, bl
lea esi, [esp + eax + 0x25a]
lea edx, [esp + ebx*2 + 0x138]
call fcn.0042be5b
cdq
inc ebx
and bl, 0xf
shl eax, 0x18
or eax, edi
div dword [esp]
mov esi, dword [esp + 0x14]
xor eax, eax
cmp byte [esi + edx], 0
jne 0x42bb56
mov byte [esi + edx], 1
inc ecx
cmp ecx, dword [esp + 4]
jb 0x42bb56
pop ecx
xor ebx, ebx
xor edx, edx
cmp ebx, 0x6532
jae 0x42bcc4
mov esi, dword [esp + 0x10]
cmp byte [esi + ebx], 0
jne 0x42bc10
inc ebx
jmp 0x42bbf7
xor eax, eax
cmp ebx, dword [eax*4 + 0x42bd77]
jb 0x42bc1e
inc eax
jmp 0x42bc12
mov ecx, ebx
sub ecx, dword [eax*4 + 0x42bd73]
mov esi, dword [esp + 0xc]
pop edi
push edi
dec edi
cmp edi, dword [esi + edx*4]
mov edi, dword [esi + edx*4]
push edi
jne 0x42bc48
mov esi, dword [esp + 0xc]
mov edi, dword [esi + edi*4]
neg edi
add edi, dword [ebp + 0xbfac4]
jmp 0x42bc4f
mov esi, dword [esp + 8]
mov edi, dword [esi + edi*4]
mov esi, dword [esp + eax*4 + 0x125a]
imul ecx, ecx, 0x28
add esi, ecx
mov ecx, dword [esi + 0x20]
add ecx, dword [esi + 0x24]
sub ecx, edi
push eax
push edx
push 0
push 0
push ecx
push dword [esp + eax*4 + 0x12aa]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edx
pop eax
push eax
push edx
push 0
lea ecx, [esp + 0x24]
push ecx
add edi, edi
push edi
shr edi, 1
lea esi, [esp + 0x26e]
push esi
push dword [esp + eax*4 + 0x12ae]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edx
pop eax
pop eax
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xbfab4]
push ebx
xor ebx, ebx
mov al, byte [esi]
xor al, byte [esi + edi]
mov byte [ecx + ebx], al
inc esi
inc ebx
cmp ebx, edi
jb 0x42bcaf
pop ebx
inc edx
jmp 0x42bc0d
push 4
pop ebx
add esp, 4
call fcn.0041f21b
dec ebx
jne 0x42bcc7
add esp, 0x1246
push 0xf
pop ebx
call fcn.0041f21b
pop eax
dec ebx
jne 0x42bcdb
push 0xf
pop ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
dec ebx
jne 0x42bce7
add esp, 0x14
popal
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]