Function at 0x4e6a55
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004e69d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4e6bcd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4e6bcd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4e6b7c
jg 0x4e6aae
test eax, eax
je 0x4e6b72
push 1
push 0x1000
call fcn.004de49c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e6ad4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4e6b69
push 0x8000
push ebx
call fcn.004dc3fb
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4e6b00
jg 0x4e6afb
cmp ecx, 0x1000
jb 0x4e6b00
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004e124e
add esp, 0x10
cmp eax, 0xffffffff
je 0x4e6b45
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4e6afb
jl 0x4e6b2c
test ecx, ecx
jne 0x4e6aed
push dword [ebp - 0xc]
push ebx
call fcn.004dc3fb
push esi
call fcn.004dcfed
add esp, 0xc
xor edi, edi
jmp 0x4e6bde
cmp byte [edi + 0x24], 0
je 0x4e6b5c
cmp dword [edi + 0x20], 5
jne 0x4e6b5c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4e6b67
mov edi, dword [edi + 0x18]
jmp 0x4e6b69
xor edi, edi
push esi
call fcn.004dcfed
pop ecx
jmp 0x4e6bde
test ecx, ecx
jg 0x4e6b3e
jl 0x4e6b7c
test eax, eax
jae 0x4e6b3e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004dfbec
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4e6b9f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4e6b3e
jmp 0x4e6bd6
push ebx
call fcn.004e2ca8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4e6b3e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4e6bde
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4e6bdb
mov edi, dword [edi + 0x18]
jmp 0x4e6bde
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004dfbec
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219