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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496556
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4c6008]
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 + 0xae838]
mov byte [ebp - 0x21d], 0
xor esi, esi
call fcn.0045a620
push eax
call dword [0x49a1d8]
mov ecx, ebx
call fcn.0041d2e0
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push str.system.dat
call dword [0x49a1d0]
mov dword [ebp - 0x21c], eax
cmp eax, 0xffffffff
je 0x4173fe
push esi
push eax
call dword [0x49a1bc]
mov edi, eax
cmp edi, 0x2a0
jae 0x41704e
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b40c0
push 0x4b25b8
test eax, eax
jne 0x41709a
push eax
call dword [0x49a2c4]
push dword [ebp - 0x21c]
call dword [0x49a1c8]
jmp 0x4173f1
push edi
call fcn.00462014
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 - 0x21c]
call dword [0x49a1e8]
test eax, eax
jne 0x4170bd
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b40c0
push 0x4b25d0
jmp 0x417032
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
push dword [ebp - 0x21c]
call dword [0x49a1c8]
jmp 0x4173f1
push dword [ebp - 0x21c]
call dword [0x49a1c8]
lea ecx, [edi - 4]
mov dword [ebp - 0x21c], ecx
test esi, esi
je 0x41711d
mov ecx, dword [edi + esi - 4]
call fcn.0045b9e0
lea eax, [edi - 4]
mov ecx, esi
mov edx, eax
shr edx, 1
je 0x417109
nop word [eax + eax]
call fcn.0045b9c0
movzx eax, ax
xor word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4170f0
mov eax, dword [ebp - 0x21c]
test al, 1
je 0x417117
call fcn.0045b9c0
movzx eax, ax
xor byte [ecx], al
mov ecx, dword [ebp - 0x21c]
mov edx, dword [esi]
cmp edx, ecx
jbe 0x4171b9
lea ecx, [ebp - 0x248]
call fcn.0045a000
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xae838]
call fcn.0045a6b0
push eax
sub esp, 0x18
mov ecx, esp
push 0x4b2488
call fcn.0045a080
lea eax, [ebp - 0x248]
push eax
call fcn.0045b140
add esp, 0x20
lea ecx, [ebp - 0x248]
call fcn.0045a620
mov edi, eax
lea ecx, [ebx + 0x218]
mov eax, dword [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b40c0
push edi
test eax, eax
jne 0x417197
push eax
call dword [0x49a2c4]
jmp 0x4171a9
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
push esi
call fcn.0046200f
add esp, 4
push 0xffffffffffffffff
call fcn.004663d5
lea eax, [edx + esi]
mov dword [ebp - 0x21c], eax
mov eax, dword [eax]
add eax, edx
cmp eax, ecx
je 0x4171e1
lea ecx, [ebp - 0x248]
call fcn.0045a000
mov dword [ebp - 4], 1
jmp 0x417139
sub esp, 0x18
lea eax, [esi + 0x1aa]
mov ecx, esp
push eax
call fcn.0045a080
lea ecx, [ebx + 0xae8a8]
call fcn.0045a830
test al, al
je 0x4173b4
sub esp, 0x18
lea eax, [esi + 0x1ea]
mov ecx, esp
push eax
call fcn.0045a080
lea ecx, [ebx + 0xae8c0]
call fcn.0045a830
test al, al
je 0x4173b4
cmp dword [esi], 0x2a0
jb 0x4173a6
lea edi, [ebx + 0xae93c]
mov ecx, 0xa8
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x3de7c]
xor esi, esi
mov ebx, dword [ebp - 0x21c]
movzx eax, byte [ebx + esi + 4]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0045b620
mov ecx, edi
call fcn.0045b640
inc esi
add edi, 0xc
cmp esi, 0x1f40
jl 0x417250
mov edi, dword [ebp - 0x228]
xor esi, esi
add edi, 0x5557c
movzx eax, byte [ebx + esi + 0x1f44]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0045b620
mov ecx, edi
call fcn.0045b640
inc esi
add edi, 0xc
cmp esi, 0x3e8
jl 0x417281
mov esi, dword [ebp - 0x228]
mov edi, ebx
add esi, 0x584d4
mov ebx, 0x1388
add edi, 0x2336
movzx eax, word [edi]
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0045b620
mov ecx, esi
call fcn.0045b640
add esi, 0xc
lea edi, [edi + 2]
sub ebx, 1
jne 0x4172c0
mov esi, dword [ebp - 0x228]
mov ebx, 0x28
mov edi, dword [ebp - 0x21c]
add esi, 0x66f34
add edi, 0x4a48
nop dword [eax]
sub esp, 0xc
mov ecx, esp
push dword [edi]
call fcn.0045b620
mov ecx, esi
call fcn.0045b640
add esi, 0xc
lea edi, [edi + 4]
sub ebx, 1
jne 0x417300
mov edi, dword [ebp - 0x21c]
xor esi, esi
mov ebx, dword [ebp - 0x228]
add edi, 0x4ae8
push dword [edi]
mov ecx, ebx
push esi
call fcn.00422550
inc esi
lea edi, [edi + 4]
cmp esi, 0x14
jl 0x417332
push dword [ebp - 0x22c]
call fcn.0046200f
add esp, 4
mov byte [ebp - 0x21d], 1
lea ecx, [ebx + 0xae838]
call fcn.0045a620
mov esi, eax
lea ecx, [ebp - 0x218]
push str.system.dat
mov edx, esi
call fcn.0045ba10
push str.system.da_
mov edx, esi
lea ecx, [ebp - 0x114]
call fcn.0045ba10
add esp, 8
lea eax, [ebp - 0x114]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [0x49a1d4]
jmp 0x4173fe
push str.SystemData
mov ecx, ebx
call fcn.00441990
jmp 0x4173f1
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b40c0
push 0x4b25f4
test eax, eax
jne 0x4173df
push eax
call dword [0x49a2c4]
jmp 0x4173f1
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
test esi, esi
je 0x4173fe
push esi
call fcn.0046200f
add esp, 4
lea ecx, [ebx + 0xae820]
call fcn.0045a620
push eax
call dword [0x49a1d8]
mov al, byte [ebp - 0x21d]
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.00461b73
mov esp, ebp
pop ebp
ret 4