Function at 0x422bc0
Capabilities:
Encrypt data using rc4 prga
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45c560
push 0x4406f0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffb4
push ebx
push esi
push edi
mov eax, dword [0x4607a0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 0
push 0x1000
call fcn.0043f1ba
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x422c1d
xor eax, eax
jmp 0x422e3b
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x1000
mov ecx, 1
test ecx, ecx
je 0x422dff
mov dword [ebp - 0x34], 0
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x422c60
jmp 0x422dff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x422c8b
mov edx, dword [ebp - 0x38]
cmp dword [edx], 0x4550
je 0x422c90
jmp 0x422dff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x20b
jne 0x422d41
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x54]
cmp ecx, dword [ebp - 0x24]
jbe 0x422d21
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x100000
jbe 0x422cd9
jmp 0x422dff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.0043ec2f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.0043f1ba
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x422d1c
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x58]
jmp 0x422e3b
jmp 0x422c2b
mov edx, dword [ebp - 0x3c]
movzx eax, word [edx + 6]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x3c]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x28], ecx
jmp 0x422dc6
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x54]
cmp eax, dword [ebp - 0x24]
jbe 0x422dab
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0x100000
jbe 0x422d63
jmp 0x422dff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0043ec2f
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call fcn.0043f1ba
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x422da6
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x5c]
jmp 0x422e3b
jmp 0x422c2b
mov ecx, dword [ebp - 0x38]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x38]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x422df8
mov ecx, dword [ebp - 0x30]
sub ecx, 1
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x30]
sub edx, 1
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + ecx + 0x14]
mov eax, dword [ebp - 0x28]
add ecx, dword [eax + edx + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov dword [ebp - 0x20], 1
jmp 0x422dff
mov dword [ebp - 4], 0xfffffffe
jmp 0x422e1f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0043ec2f
add esp, 4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret