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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e26
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4c5008]
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 + 0xadbb8]
mov byte [ebp - 0x21d], 0
xor esi, esi
call fcn.00459c80
push eax
call dword [0x4991d0]
mov ecx, ebx
call fcn.0041d080
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push str.system.dat
call dword [0x4991c8]
mov dword [ebp - 0x21c], eax
cmp eax, 0xffffffff
je 0x4173ae
push esi
push eax
call dword [0x4991b4]
mov edi, eax
cmp edi, 0x29c
jae 0x416ffe
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b306c
push 0x4b1588
test eax, eax
jne 0x41704a
push eax
call dword [0x4992bc]
push dword [ebp - 0x21c]
call dword [0x4991c0]
jmp 0x4173a1
push edi
call fcn.004616b2
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 [0x4991e0]
test eax, eax
jne 0x41706d
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b306c
push 0x4b15a0
jmp 0x416fe2
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
push dword [ebp - 0x21c]
call dword [0x4991c0]
jmp 0x4173a1
push dword [ebp - 0x21c]
call dword [0x4991c0]
lea ecx, [edi - 4]
mov dword [ebp - 0x21c], ecx
test esi, esi
je 0x4170cd
mov ecx, dword [edi + esi - 4]
call fcn.0045b040
lea eax, [edi - 4]
mov ecx, esi
mov edx, eax
shr edx, 1
je 0x4170b9
nop word [eax + eax]
call fcn.0045b020
movzx eax, ax
xor word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4170a0
mov eax, dword [ebp - 0x21c]
test al, 1
je 0x4170c7
call fcn.0045b020
movzx eax, ax
xor byte [ecx], al
mov ecx, dword [ebp - 0x21c]
mov edx, dword [esi]
cmp edx, ecx
jbe 0x417169
lea ecx, [ebp - 0x248]
call fcn.00459660
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xadbb8]
call fcn.00459d10
push eax
sub esp, 0x18
mov ecx, esp
push 0x4b1458
call fcn.004596e0
lea eax, [ebp - 0x248]
push eax
call fcn.0045a7a0
add esp, 0x20
lea ecx, [ebp - 0x248]
call fcn.00459c80
mov edi, eax
lea ecx, [ebx + 0x218]
mov eax, dword [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b306c
push edi
test eax, eax
jne 0x417147
push eax
call dword [0x4992bc]
jmp 0x417159
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
push esi
call fcn.004616ad
add esp, 4
push 0xffffffffffffffff
call fcn.00465a41
lea eax, [edx + esi]
mov dword [ebp - 0x21c], eax
mov eax, dword [eax]
add eax, edx
cmp eax, ecx
je 0x417191
lea ecx, [ebp - 0x248]
call fcn.00459660
mov dword [ebp - 4], 1
jmp 0x4170e9
sub esp, 0x18
lea eax, [esi + 0x1a6]
mov ecx, esp
push eax
call fcn.004596e0
lea ecx, [ebx + 0xadc28]
call fcn.00459e90
test al, al
je 0x417364
sub esp, 0x18
lea eax, [esi + 0x1e6]
mov ecx, esp
push eax
call fcn.004596e0
lea ecx, [ebx + 0xadc40]
call fcn.00459e90
test al, al
je 0x417364
cmp dword [esi], 0x29c
jb 0x417356
lea edi, [ebx + 0xadcbc]
mov ecx, 0xa7
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.0045ac80
mov ecx, edi
call fcn.0045aca0
inc esi
add edi, 0xc
cmp esi, 0x1f40
jl 0x417200
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.0045ac80
mov ecx, edi
call fcn.0045aca0
inc esi
add edi, 0xc
cmp esi, 0x3e8
jl 0x417231
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.0045ac80
mov ecx, esi
call fcn.0045aca0
add esi, 0xc
lea edi, [edi + 2]
sub ebx, 1
jne 0x417270
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.0045ac80
mov ecx, esi
call fcn.0045aca0
add esi, 0xc
lea edi, [edi + 4]
sub ebx, 1
jne 0x4172b0
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.00421fb0
inc esi
lea edi, [edi + 4]
cmp esi, 0x14
jl 0x4172e2
push dword [ebp - 0x22c]
call fcn.004616ad
add esp, 4
mov byte [ebp - 0x21d], 1
lea ecx, [ebx + 0xadbb8]
call fcn.00459c80
mov esi, eax
lea ecx, [ebp - 0x218]
push str.system.dat
mov edx, esi
call fcn.0045b070
push str.system.da_
mov edx, esi
lea ecx, [ebp - 0x114]
call fcn.0045b070
add esp, 8
lea eax, [ebp - 0x114]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [0x4991cc]
jmp 0x4173ae
push str.SystemData
mov ecx, ebx
call fcn.00440c90
jmp 0x4173a1
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0x14]
push 0x10010
push 0x4b306c
push 0x4b15c4
test eax, eax
jne 0x41738f
push eax
call dword [0x4992bc]
jmp 0x4173a1
mov eax, dword [ebx + 0x218]
lea ecx, [ebx + 0x218]
call dword [eax + 0xb8]
test esi, esi
je 0x4173ae
push esi
call fcn.004616ad
add esp, 4
lea ecx, [ebx + 0xadba0]
call fcn.00459c80
push eax
call dword [0x4991d0]
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.00461211
mov esp, ebp
pop ebp
ret 4