Function at 0x4dc230
Capabilities:
Encrypt data using rc4 prga
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x404c
call fcn.0041bb60
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x404c], ecx
mov dword [ebp - 0x2014], 0x36
mov eax, dword [ebp - 0x404c]
mov ecx, dword [eax + 0x2e4]
mov dword [ebp - 0x200c], ecx
cmp dword [ebp - 0x200c], 0
jne 0x4dc27c
mov dword [ebp - 0x200c], pe_nt_image_headers32
mov edx, dword [ebp - 0x200c]
mov eax, dword [ebp - 0x2014]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2014], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x404c]
mov ecx, dword [eax + 0x50]
sub ecx, dword [ebp - 0x2014]
push ecx
push 1
mov edx, dword [0x5acf9c]
push edx
call fcn.0041dbff
add esp, 0x10
mov dword [ebp - 0x4024], eax
mov eax, dword [ebp - 0x404c]
mov ecx, dword [eax + 0x70]
sub ecx, dword [ebp - 0x4024]
mov edx, dword [ebp - 0x404c]
mov dword [edx + 0x70], ecx
mov dword [ebp - 0x2018], 0
mov eax, dword [0x5acf9c]
mov dword [ebp - 0x4020], eax
mov ecx, dword [ebp - 0x404c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x401c], edx
mov eax, dword [ebp - 0x404c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x4028], ecx
mov dword [ebp - 0x2010], 0
jmp 0x4dc322
mov edx, dword [ebp - 0x2010]
add edx, 1
mov dword [ebp - 0x2010], edx
mov eax, dword [ebp - 0x2010]
cmp eax, dword [ebp - 0x401c]
jge 0x4dc340
mov ecx, dword [ebp - 0x2010]
mov byte [ebp + ecx - 0x2008], 0
jmp 0x4dc313
mov dword [ebp - 0x402c], 0
jmp 0x4dc35b
mov edx, dword [ebp - 0x402c]
add edx, 1
mov dword [ebp - 0x402c], edx
mov eax, dword [ebp - 0x402c]
cmp eax, dword [ebp - 0x4028]
jge 0x4dc5b3
mov dword [ebp - 0x4030], 0
mov ecx, dword [ebp - 0x4030]
cmp ecx, dword [ebp - 0x401c]
jge 0x4dc452
mov edx, dword [ebp - 0x4020]
add edx, dword [ebp - 0x2018]
mov al, byte [edx]
mov byte [ebp - 0x4031], al
mov ecx, dword [ebp - 0x2018]
add ecx, 1
mov dword [ebp - 0x2018], ecx
movsx edx, byte [ebp - 0x4031]
test edx, edx
je 0x4dc3db
mov eax, dword [ebp - 0x4030]
mov cl, byte [ebp - 0x4031]
mov byte [ebp + eax - 0x4018], cl
mov edx, dword [ebp - 0x4030]
add edx, 1
mov dword [ebp - 0x4030], edx
jmp 0x4dc44d
mov eax, dword [ebp - 0x4020]
add eax, dword [ebp - 0x2018]
movsx ecx, byte [eax]
and ecx, 0xff
mov dword [ebp - 0x4038], ecx
mov edx, dword [ebp - 0x2018]
add edx, 1
mov dword [ebp - 0x2018], edx
mov dword [ebp - 0x403c], 0
jmp 0x4dc420
mov eax, dword [ebp - 0x403c]
add eax, 1
mov dword [ebp - 0x403c], eax
mov ecx, dword [ebp - 0x403c]
cmp ecx, dword [ebp - 0x4038]
jge 0x4dc44d
mov edx, dword [ebp - 0x4030]
mov byte [ebp + edx - 0x4018], 0
mov eax, dword [ebp - 0x4030]
add eax, 1
mov dword [ebp - 0x4030], eax
jmp 0x4dc411
jmp 0x4dc377
mov dword [ebp - 0x2010], 0
jmp 0x4dc46d
mov ecx, dword [ebp - 0x2010]
add ecx, 1
mov dword [ebp - 0x2010], ecx
mov edx, dword [ebp - 0x2010]
cmp edx, dword [ebp - 0x401c]
jge 0x4dc4c2
mov eax, dword [ebp - 0x2010]
movsx ecx, byte [ebp + eax - 0x2008]
mov edx, dword [ebp - 0x2010]
movsx eax, byte [ebp + edx - 0x4018]
xor eax, ecx
mov ecx, dword [ebp - 0x2010]
mov byte [ebp + ecx - 0x4018], al
mov edx, dword [ebp - 0x2010]
mov eax, dword [ebp - 0x2010]
mov cl, byte [ebp + eax - 0x4018]
mov byte [ebp + edx - 0x2008], cl
jmp 0x4dc45e
cmp dword [ebp + 0x10], 0
je 0x4dc518
mov edx, dword [ebp - 0x404c]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x4040], eax
mov ecx, dword [ebp - 0x404c]
mov edx, dword [ebp - 0x402c]
imul edx, dword [ecx + 0x14]
add edx, dword [ebp - 0x4040]
mov dword [ebp - 0x4040], edx
mov eax, dword [ebp - 0x404c]
mov ecx, dword [eax + 0x14]
push ecx
lea edx, [ebp - 0x4018]
push edx
mov eax, dword [ebp - 0x4040]
push eax
call fcn.00419a50
add esp, 0xc
jmp 0x4dc5ae
mov ecx, dword [ebp - 0x404c]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x4044], edx
mov eax, dword [ebp - 0x404c]
mov ecx, dword [ebp - 0x402c]
imul ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x4044]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x4044], eax
mov dword [ebp - 0x2010], 0
jmp 0x4dc561
mov ecx, dword [ebp - 0x2010]
add ecx, 1
mov dword [ebp - 0x2010], ecx
mov edx, dword [ebp - 0x2010]
cmp edx, dword [ebp - 0x401c]
jge 0x4dc5ae
mov eax, dword [ebp - 0x2010]
movsx ecx, byte [ebp + eax - 0x4018]
and ecx, 0xff
mov dword [ebp - 0x4048], ecx
mov edx, dword [ebp - 0x4044]
mov eax, dword [ebp - 0x4048]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x4044]
add ecx, 4
mov dword [ebp - 0x4044], ecx
jmp 0x4dc552
jmp 0x4dc34c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 0xc