Function at 0x40e06b
Capabilities:
Terminate process

Disassembly:
push ebp
sub esp, 0x588
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x588], eax
push 0x24
mov eax, 0x4bf860
call fcn.00443ad4
mov edi, dword [ebp + 0x594]
lea ecx, [ebp]
call fcn.00401623
xor ebx, ebx
mov esi, 0x207
push esi
lea eax, [ebp + 0x381]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x380], bl
call fcn.00443e40
add esp, 0xc
lea ecx, [ebp]
call fcn.00401946
push esi
lea eax, [ebp + 0x179]
push ebx
push eax
mov dword [0x4f8ac4], edi
mov byte [ebp + 0x178], bl
call fcn.00443e40
add esp, 0xc
push 0x208
lea eax, [ebp + 0x178]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp]
call fcn.00401214
lea ecx, [ebp]
mov edi, eax
call fcn.00401222
lea eax, [ebp + 0x380]
push edi
push eax
call fcn.00445380
lea eax, [ebp + 0x380]
push str.RegInfo.ini
push eax
call fcn.00445390
add esp, 0x10
push 0xf
pop esi
push ebx
lea ecx, [ebp + 0x140]
mov dword [ebp + 0x158], esi
call fcn.00401187
push ebx
lea ecx, [ebp + 0x15c]
mov dword [ebp + 0x174], esi
call fcn.00401187
lea eax, [ebp + 0x178]
push eax
mov byte [ebp - 4], 2
call fcn.00402d08
pop ecx
mov esi, 0x4f8be4
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
call fcn.00403f61
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040afaa
lea ecx, [ebp - 0x14]
call fcn.00411388
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00403f61
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], ebx
lea eax, [ebp + 0x380]
push eax
lea ecx, [ebp - 0x14]
call fcn.00411995
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041155a
cmp dword [ebp - 0x28], 0xa00000
jle 0x40e1cf
mov eax, dword [0x4f8ac4]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 0x380]
push eax
lea ecx, [ebp - 0x14]
call fcn.00411995
push esi
lea ecx, [ebp - 0x18]
call fcn.00403f95
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00403f95
lea eax, [ebp + 0x178]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00408c2e
push edi
lea ecx, [ebp - 0x10]
call fcn.00408c2e
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Everyone
call fcn.0040bbd0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.004062a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040bbd0
mov byte [ebp - 4], 7
call fcn.00408b76
add esp, 0x38
push 0x403030
lea ecx, [ebp - 0x10]
call fcn.004062a0
push eax
lea ecx, [ebp - 0x18]
call fcn.004062a0
push eax
push dword [ebp - 0x2c]
call fcn.0047ce5e
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00403eb7
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403eb7
lea ecx, [ebp]
call fcn.00401b9a
lea ecx, [ebp]
call fcn.00401277
push eax
lea ecx, [ebp + 0x15c]
call fcn.004018cd
cmp dword [ebp + 0x174], 0x10
mov eax, dword [ebp + 0x160]
jae 0x40e2ac
lea eax, [ebp + 0x160]
push eax
push str.C:UpAgengReleaseFileF88.log
call fcn.00403de9
pop ecx
pop ecx
call fcn.00402f86
test eax, eax
je 0x40e2de
sub esp, 0x1c
lea eax, [ebp + 0x15c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401882
call fcn.0040bacf
add esp, 0x1c
mov eax, dword [0x4f8ac4]
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4cd3a4
call fcn.0040d373
cmp dword [ebp + 0x174], 0x10
mov eax, dword [ebp + 0x160]
mov byte [ebp - 4], 9
jae 0x40e318
lea eax, [ebp + 0x160]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.0040d373
mov byte [ebp - 4], 7
call fcn.00407d58
add esp, 0xc
push edi
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040afaa
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00406822
call fcn.0040e01c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029e5
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004029e5
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029e5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00411238
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004029e5
push ebx
push 1
lea ecx, [ebp + 0x15c]
call fcn.00401336
push ebx
push 1
lea ecx, [ebp + 0x140]
call fcn.00401336
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004016a1
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x588]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x58c
leave
ret