Function at 0x43f050
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x481f30
push 0x459510
mov eax, dword fs:[0]
push eax
add esp, 0xffffffb4
push ebx
push esi
push edi
mov eax, dword [0x487b30]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x43f09a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x43f0d0
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x43f2a4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x43f108
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x43f2a4
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x43f134
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x43f2a4
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x43f157
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x43f24f
mov dword [ebp - 0x40], 0x4757f4
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx]
mov byte [ebp - 0x45], dl
mov eax, dword [ebp - 0x40]
cmp dl, byte [eax]
jne 0x43f1b7
cmp byte [ebp - 0x45], 0
je 0x43f1ae
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x46], dl
mov eax, dword [ebp - 0x40]
cmp dl, byte [eax + 1]
jne 0x43f1b7
add dword [ebp - 0x44], 2
add dword [ebp - 0x40], 2
cmp byte [ebp - 0x46], 0
jne 0x43f17a
mov dword [ebp - 0x4c], 0
jmp 0x43f1bf
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
jne 0x43f24a
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0xc], 0
je 0x43f1eb
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0x10], 0
jne 0x43f1ed
jmp 0x43f24f
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0x40
jb 0x43f21a
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0x727444
je 0x43f21c
jmp 0x43f24f
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 0
jne 0x43f230
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [edx + 8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x54]
jmp 0x43f2a4
jmp 0x43f14e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x58]
jmp 0x43f2a4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4