Function at 0x417a70
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6ea6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4ed214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x228], ebx
lea ecx, [ebx + 0xc7fc0]
mov byte [ebp - 0x219], 0
xor esi, esi
call fcn.0046aae0
push eax
call dword [0x4bb23c]
mov ecx, ebx
call fcn.0041ea60
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push str.system.dat
call dword [0x4bb234]
mov dword [ebp - 0x220], eax
cmp eax, 0xffffffff
je 0x417e5e
push esi
push eax
call dword [0x4bb220]
mov edi, eax
cmp edi, 0x2a0
jae 0x417b3e
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4d9c24
push 0x4d7700
test eax, eax
jne 0x417b8a
push eax
call dword [0x4bb31c]
push dword [ebp - 0x220]
call dword [0x4bb22c]
jmp 0x417e51
push edi
call fcn.004770bf
add esp, 4
mov esi, eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], esi
push 0
push eax
push edi
push esi
push dword [ebp - 0x220]
call dword [0x4bb24c]
test eax, eax
jne 0x417bad
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4d9c24
push 0x4d7718
jmp 0x417b22
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
push dword [ebp - 0x220]
call dword [0x4bb22c]
jmp 0x417e51
push dword [ebp - 0x220]
call dword [0x4bb22c]
lea ecx, [edi - 4]
mov dword [ebp - 0x220], ecx
test esi, esi
je 0x417bff
mov ecx, dword [edi + esi - 4]
call fcn.0046be50
lea edx, [edi - 4]
mov ecx, esi
shr edx, 1
je 0x417beb
call fcn.0046be30
movzx eax, ax
xor word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x417bd8
lea edx, [edi - 4]
test dl, 1
je 0x417c05
call fcn.0046be30
movzx eax, ax
xor byte [ecx], al
jmp 0x417c05
mov edx, dword [ebp - 0x220]
mov ecx, dword [esi]
cmp ecx, edx
ja 0x417e94
lea eax, [ecx + esi]
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
add eax, ecx
cmp eax, edx
je 0x417c37
lea ecx, [ebp - 0x248]
call fcn.0046a4d0
mov dword [ebp - 4], 1
jmp 0x417ea6
sub esp, 0x18
lea eax, [esi + 0x1ac]
mov ecx, esp
push eax
call fcn.0046a550
lea ecx, [ebx + 0xc8030]
call fcn.0046ace0
test al, al
je 0x417e14
sub esp, 0x18
lea eax, [esi + 0x1ec]
mov ecx, esp
push eax
call fcn.0046a550
lea ecx, [ebx + 0xc8048]
call fcn.0046ace0
test al, al
je 0x417e14
cmp dword [esi], 0x2a0
jb 0x417e06
lea edi, [ebx + 0xc80c4]
mov ecx, 0xa8
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x3ee4c]
xor esi, esi
mov ebx, dword [ebp - 0x220]
movzx eax, byte [ebx + esi + 4]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0046ba90
mov ecx, edi
call fcn.0046bab0
inc esi
add edi, 0xc
cmp esi, 0x2710
jl 0x417ca6
mov edi, dword [ebp - 0x228]
xor esi, esi
add edi, 0x5c30c
nop word [eax + eax]
movzx eax, byte [ebx + esi + 0x2714]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0046ba90
mov ecx, edi
call fcn.0046bab0
inc esi
add edi, 0xc
cmp esi, 0x3e8
jl 0x417ce0
mov esi, dword [ebp - 0x228]
mov edi, ebx
add esi, 0x5f2dc
mov ebx, 0x1388
add edi, 0x2b10
nop
movzx eax, word [edi]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0046ba90
mov ecx, esi
call fcn.0046bab0
add esi, 0xc
lea edi, [edi + 2]
sub ebx, 1
jne 0x417d20
mov esi, dword [ebp - 0x228]
mov ebx, 0x64
mov edi, dword [ebp - 0x220]
add esi, 0x6dd3c
add edi, 0x5220
nop dword [eax]
sub esp, 0xc
mov ecx, esp
push dword [edi]
call fcn.0046ba90
mov ecx, esi
call fcn.0046bab0
add esi, 0xc
lea edi, [edi + 4]
sub ebx, 1
jne 0x417d60
mov edi, dword [ebp - 0x220]
xor esi, esi
mov ebx, dword [ebp - 0x228]
add edi, 0x53b0
push dword [edi]
mov ecx, ebx
push esi
call fcn.00425230
inc esi
lea edi, [edi + 4]
cmp esi, 0x14
jl 0x417d92
push dword [ebp - 0x22c]
call fcn.004770ba
add esp, 4
mov byte [ebp - 0x219], 1
lea ecx, [ebx + 0xc7fc0]
call fcn.0046aae0
mov esi, eax
lea ecx, [ebp - 0x218]
push str.system.dat
mov edx, esi
call fcn.0046be80
push str.system.da_
mov edx, esi
lea ecx, [ebp - 0x114]
call fcn.0046be80
add esp, 8
lea eax, [ebp - 0x114]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [0x4bb238]
jmp 0x417e5e
push str.SystemData
mov ecx, ebx
call fcn.00450ea0
jmp 0x417e51
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4d9c24
push 0x4d773c
test eax, eax
jne 0x417e3f
push eax
call dword [0x4bb31c]
jmp 0x417e51
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
test esi, esi
je 0x417e5e
push esi
call fcn.004770ba
add esp, 4
lea ecx, [ebx + 0xc7fa8]
call fcn.0046aae0
push eax
call dword [0x4bb23c]
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476c36
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x248]
call fcn.0046a4d0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xc7fc0]
call fcn.0046ab70
push eax
sub esp, 0x18
mov ecx, esp
push 0x4d75d0
call fcn.0046a550
lea eax, [ebp - 0x248]
push eax
call fcn.0046b5b0
add esp, 0x20
lea ecx, [ebp - 0x248]
call fcn.0046aae0
push eax
mov ecx, ebx
call fcn.00450ea0
push esi
call fcn.004770ba
add esp, 4
push 0xffffffffffffffff
call fcn.0047c42f
int3