Function at 0x4080a7
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x419074]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x4019ac
push 0x4019c0
call dword [sym.imp.msvcrt.dll_printf]
push 1
call fcn.00417f51
add esp, 0xc
push eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 0x419080
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x419090], 2
jne 0x408c6f
push 4
pop ebx
cmp dword [0x419084], ebx
jb 0x408c6f
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x419e20
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
push 0x412770
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x419de0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x419e00], eax
call 0x412d7c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push 0x41af90
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
add dword [0x41af90], 0x2a69c000
mov edx, edi
mov esi, dword [ebp + 8]
mov ecx, esi
adc dword [0x41af94], 0xc9
xor eax, eax
mov dword [0x41ad60], eax
mov dword [0x41ad64], eax
mov dword [0x41aee4], eax
call fcn.0040cb63
cmp dword [0x41aef0], 0
je 0x4081b5
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
jmp 0x4081bb
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
cmp dword [0x41af04], 0
je 0x4081e5
xor ecx, ecx
xor eax, eax
mov byte [0x41acdf], cl
mov word [0x419d80], ax
mov dword [0x41ace0], ecx
mov dword [0x41ace4], ecx
jmp 0x40827d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
sub eax, 0
je 0x408222
sub eax, 1
je 0x408218
sub eax, 1
je 0x40820b
push 0x401198
push 0xffffffffffffffff
call fcn.00412812
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0xc8]
jmp 0x408226
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x74]
jmp 0x408226
mov eax, dword [esp + 0x20]
mov ecx, eax
cdq
neg ecx
push 0xfffffffffffffff1
mov word [0x419d80], cx
pop ecx
idiv ecx
mov byte [0x41acdf], al
cmp al, 0xd0
jl 0x408244
cmp al, 0x34
jle 0x40824b
xor al, al
mov byte [0x41acdf], al
push 2
movsx eax, al
cdq
push 0x18711a00
push edx
push eax
call fcn.00417f70
cmp dword [0x41aec0], 0
mov dword [0x41ace0], eax
mov dword [0x41ace4], edx
je 0x40827d
sub dword [0x41af90], eax
sbb dword [0x41af94], edx
push dword [0x41af94]
mov ecx, 0x41acd8
push dword [0x41af90]
call fcn.0040ca29
push dword [0x41af94]
mov ecx, 0x419d90
push dword [0x41af90]
call fcn.00413887
push dword [0x41af94]
push dword [0x41af90]
call fcn.0040caa5
xor ecx, ecx
inc ecx
cmp esi, ecx
jle 0x4082fd
cmp dword [edi + ecx*4], 0
jne 0x4082cc
inc ecx
cmp ecx, esi
jl 0x4082c1
cmp ecx, esi
jge 0x4082fd
mov eax, dword [edi + ecx*4]
inc ecx
mov dword [0x41a6a0], eax
cmp ecx, esi
jge 0x408304
cmp dword [edi + ecx*4], 0
jne 0x4082e8
inc ecx
cmp ecx, esi
jl 0x4082dd
cmp ecx, esi
jge 0x408304
cmp dword [0x41af1c], 0
mov eax, dword [edi + ecx*4]
mov dword [0x41a6a4], eax
je 0x40830d
xor ecx, ecx
call fcn.0040d9ec
cmp dword [0x41af1c], 0
je 0x4082fd
cmp dword [0x41aecc], 0
je 0x408322
cmp dword [0x41aed0], 0
jne 0x408322
push 5
pop ebx
mov ecx, ebx
call fcn.0041360b
cmp dword [0x41af1c], 0
mov dword [0x419560], 0x2000000
jne 0x40836e
push dword [0x41a6a4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40836e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x40836e
cmp eax, 2
je 0x40836e
push dword [0x41a6a4]
push 0x4026b4
push 0xffffffffffffffff
call fcn.00412812
push 0x4011c8
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
and dword [0x41ad34], 0
mov eax, 0x1f4
and dword [0x41ad3c], 0
pop ecx
mov dword [0x41ad30], eax
mov dword [0x41ad38], eax
call fcn.00408f64
push dword [0x41ad2c]
push dword [0x41ad28]
push dword [0x41ad24]
push dword [0x41ad20]
push 0x4011e0
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x14
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 0x401228
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
mov ecx, dword [0x419e80]
xor edx, edx
call fcn.004091db
call fcn.00409707
cmp dword [0x41af08], 0
je 0x408428
push 0
push 1
call fcn.00411d73
mov dword [0x41ae90], eax
cmp dword [0x41af50], 0
jne 0x40846b
cmp dword [0x41aefc], 0
je 0x408456
cmp dword [0x41af00], 0
je 0x40844a
call fcn.004100d6
jmp 0x40844f
call fcn.00410053
call fcn.0040efb5
jmp 0x408479
cmp dword [0x41af4c], 0
je 0x408464
call fcn.004100d6
call fcn.00409241
jmp 0x40847e
cmp dword [0x419124], 0
je 0x40847e
call fcn.00410053
call fcn.004095cd
call fcn.00409751
mov esi, dword [0x41af4c]
test esi, esi
je 0x40851e
cmp dword [0x41af68], 0
je 0x4084d9
mov ecx, dword [0x41af74]
mov eax, 0x102
mov word [0x4195a8], ax
call fcn.0040ad2e
mov ecx, dword [0x41af78]
mov dword [0x41af80], eax
call fcn.0040ad2e
push 0x40124c
mov dword [0x41af84], eax
call dword [sym.imp.msvcrt.dll_printf]
mov esi, dword [0x41af4c]
pop ecx
jmp 0x4084ee
cmp word [0x4195a8], 0
jne 0x4084ee
mov eax, 0x150
mov word [0x4195a8], ax
mov ecx, dword [0x419554]
mov eax, 0x100
cmp ecx, eax
jae 0x408514
sub eax, ecx
mov dword [0x419550], ecx
mov dword [0x41954c], eax
mov dword [0x419554], 0x101
call fcn.004150bf
call fcn.0041515b
cmp dword [0x41af08], 0
je 0x40854e
mov ebx, dword [0x41ae98]
test ebx, ebx
je 0x40854e
mov edi, dword [0x41ae94]
add edi, 0x10
push 0
push dword [edi - 8]
call fcn.00411d73
mov dword [edi], eax
lea edi, [edi + 0x14]
sub ebx, 1
jne 0x40853a
cmp dword [0x41af0c], 0
je 0x408568
test esi, esi
jne 0x408568
push esi
push 1
call fcn.00411d73
mov dword [0x41ae9c], eax
call fcn.00409944
test esi, esi
je 0x408576
call fcn.0041524c
push 0x401284
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41aecc], 0
mov eax, 0x4012b0
pop ecx
jne 0x4085a5
mov eax, 0x401110
cmp dword [0x41af1c], 0
mov ebx, 0x4012c8
mov ecx, ebx
jne 0x4085ba
mov ecx, 0x4012d4
push eax
push dword [0x41ad04]
push dword [0x41ad00]
push ecx
push 0x4012d8
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x14
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41af4c], 0
mov edx, dword [0x41ad60]
mov eax, edx
mov edi, dword [0x41aecc]
pop ecx
mov ecx, dword [0x41ad64]
jne 0x408624
or eax, ecx
jne 0x408632
cmp dword [0x41aee4], eax
jne 0x40866b
mov edx, 0x28a64000
xor ecx, ecx
mov dword [0x41ad60], edx
mov dword [0x41ad64], ecx
jmp 0x408632
or eax, ecx
mov dword [0x41aee4], 1
je 0x40866b
and dword [0x41aee4], 0
test edi, edi
jne 0x40866b
mov esi, dword [0x41ad04]
cmp esi, ecx
jb 0x40866b
mov eax, dword [0x41ad00]
ja 0x408652
cmp eax, edx
jbe 0x40866b
push 0x4012fc
push ecx
sub eax, edx
push edx
sbb esi, ecx
push esi
push eax
push 0x401320
push 0
call fcn.00412812
cmp dword [0x41af1c], 0
je 0x4086b6
test edi, edi
jne 0x4086b6
push 0x401368
call dword [sym.imp.msvcrt.dll_printf]
mov dword [esp], 0x401398
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41aee8], edi
je 0x4086ae
call fcn.0040e968
push 0
call dword [sym.imp.msvcrt.dll_exit]
call fcn.00408cba
cmp dword [0x41af1c], 0
je 0x4086ec
push dword [0x41ad2c]
push dword [0x41ad28]
push dword [0x41ad24]
push dword [0x41ad20]
push 0x4013a0
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x14
jmp 0x408718
push dword [0x41a6a4]
push dword [0x41ad2c]
push dword [0x41ad28]
push dword [0x41ad24]
push dword [0x41ad20]
push 0x4013d0
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x18
push 0x401404
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41aecc], 0
pop ecx
je 0x40875e
cmp dword [0x41af1c], 0
jne 0x40875e
mov edx, dword [0x41aed0]
neg edx
sbb edx, edx
and edx, 0xffd00000
add edx, 0x600000
jmp 0x408760
xor edx, edx
mov dword [0x41955c], edx
add edx, 0x200000
push ecx
call fcn.0041268e
mov dword [0x419560], eax
sub eax, dword [0x41955c]
mov dword [0x419558], eax
call fcn.0040afe8
push 0x10
pop edi
mov edx, edi
xor ecx, ecx
call fcn.00411e0b
cmp dword [0x419124], 0
je 0x4087a4
call fcn.0040f2d9
push 0x11
pop edi
cmp dword [0x41af08], 0
je 0x4087b5
mov ecx, edi
call fcn.0040f708
inc edi
cmp dword [0x41aefc], 0
je 0x4087c6
mov ecx, edi
call fcn.0040f4e3
inc edi
cmp dword [0x419124], 0
je 0x4087d7
mov ecx, edi
call fcn.0040f793
inc edi
cmp dword [0x41af4c], 0
je 0x408868
xor edx, edx
mov ecx, 0x800
inc edx
call fcn.0041245c
mov esi, eax
mov eax, edi
mov byte [esi], 0
mov ecx, dword [0x407084]
mov dword [esi + 1], ecx
mov cl, byte [0x407088]
mov byte [esi + 5], cl
mov ecx, 0x800
mul ecx
mov byte [esi + 6], 1
push edx
mov edx, ecx
mov ecx, esi
push eax
call fcn.004119d9
lea ecx, [edi + 1]
call fcn.0041392c
xor edx, edx
mov ecx, 0x800
inc edx
call fcn.0041245c
mov esi, eax
lea eax, [edi + 2]
mov byte [esi], 0
mov ecx, dword [0x40709c]
mov dword [esi + 1], ecx
mov cl, byte [0x4070a0]
mov byte [esi + 5], cl
mov ecx, 0x800
mul ecx
mov byte [esi + 6], 1
push edx
mov edx, ecx
mov ecx, esi
push eax
call fcn.004119d9
add edi, 3
cmp dword [0x41af08], 0
je 0x408879
push ecx
mov ecx, edi
call fcn.0040f7ff
cmp dword [0x41aefc], 0
je 0x408890
call fcn.0040faee
cmp dword [0x41aefc], 0
jne 0x4088a0
cmp dword [0x41af50], 0
jne 0x4088a0
call fcn.00409ad2
jmp 0x4088ae
cmp dword [0x419124], 0
je 0x4088ae
call fcn.00409c45
cmp dword [0x41af50], 0
jne 0x4088c9
cmp dword [0x41aefc], 0
je 0x4088d7
cmp dword [0x41af00], 0
jne 0x4088d7
cmp dword [0x419124], 0
je 0x4088d7
call fcn.004104df
mov eax, dword [0x41acf0]
or eax, dword [0x41acf4]
je 0x40890b
mov ecx, dword [0x419544]
xor edx, edx
inc edx
call fcn.0041245c
push dword [0x41acf4]
mov edx, dword [0x419544]
mov ecx, eax
push dword [0x41acf0]
call fcn.004119d9
cmp dword [0x41af50], 0
jne 0x40892b
cmp dword [0x41aefc], 0
je 0x408924
call fcn.0040fc75
jmp 0x408934
call fcn.00409db8
jmp 0x408939
cmp dword [0x419124], 0
je 0x408939
call fcn.00409ff9
cmp dword [0x41af4c], 0
je 0x40896c
cmp dword [0x41954c], 0
je 0x408950
call fcn.00411e5d
call fcn.004152ca
call fcn.004143b2
mov ecx, dword [0x41956c]
dec ecx
mov dword [0x419540], ecx
call fcn.00413995
cmp dword [0x41af08], 0
je 0x40899b
xor edi, edi
cmp dword [0x41ae98], edi
jbe 0x40899b
xor esi, esi
mov ecx, dword [0x41ae94]
lea ecx, [ecx + esi]
call fcn.0040f9bd
inc edi
lea esi, [esi + 0x14]
cmp edi, dword [0x41ae98]
jb 0x408981
mov eax, dword [0x41af0c]
test eax, eax
je 0x4089bb
cmp dword [0x41af4c], 0
jne 0x4089b7
call fcn.004118ee
mov eax, dword [0x41af0c]
test eax, eax
jne 0x4089c4
cmp dword [0x41af20], 0
je 0x4089c9
call fcn.00411958
cmp dword [0x41aeb4], 0
je 0x4089df
push 0x401404
call dword [sym.imp.msvcrt.dll_printf]
jmp 0x4089f4
push 0x401408
push 2
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41af20], 0
pop ecx
je 0x408a2a
push 0x40141c
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41aecc], 0
je 0x408b0d
push 0
push 0x64
pop esi
push esi
push dword [0x41ad04]
push dword [0x41ad00]
call fcn.00417f70
push dword [0x41ad14]
push dword [0x41ad10]
push edx
push eax
call fcn.00417fb0
sub esi, eax
push esi
push dword [0x41ad4c]
push dword [0x41ad48]
push dword [0x41ad44]
push dword [0x41ad40]
push 0x401448
call dword [sym.imp.msvcrt.dll_printf]
push 1
call fcn.00417f51
add esp, 0x1c
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41af1c], 0
pop ecx
jne 0x408aa7
mov ebx, 0x4012d4
push dword [0x41ad04]
push dword [0x41ad00]
push ebx
push 0x401490
call dword [sym.imp.msvcrt.dll_printf]
push 1
call fcn.00417f51
add esp, 0x14
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41aee4], 0
pop ecx
jne 0x408b36
mov eax, dword [0x41ad04]
mov edx, dword [0x41ad64]
cmp eax, edx
jb 0x408b36
mov esi, dword [0x41ad60]
mov ecx, dword [0x41ad00]
ja 0x408afb
cmp ecx, esi
jbe 0x408b36
push 0x4014c4
push edx
sub ecx, esi
push esi
sbb eax, edx
push eax
push ecx
jmp 0x40865f
cmp dword [0x41af1c], 0
jne 0x408b1b
mov ebx, 0x4012d4
push dword [0x41ad04]
push dword [0x41ad00]
push ebx
push 0x4014c8
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0x10
mov eax, dword [0x41912c]
mul dword [0x41956c]
and dword [0x41a6a8], 0
push edx
push eax
call fcn.0041674b
cmp dword [0x41aef8], 0
je 0x408b74
push 0x4014f0
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41af3c], 0
je 0x408b99
push 0x4015d0
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41af4c], 0
je 0x408bfe
cmp dword [0x41af54], 0
jne 0x408bc6
cmp dword [0x41af58], 0
jne 0x408bc6
cmp dword [0x41af5c], 0
jne 0x408bc6
cmp dword [0x41aecc], 0
je 0x408bee
push dword [0x419d9c]
push 0x4018c0
call dword [sym.imp.msvcrt.dll_printf]
cmp dword [0x41af58], 0
pop ecx
pop ecx
je 0x408bee
push 0x401908
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41af24], 0
je 0x408c2c
cmp dword [0x41af20], 0
jne 0x408c2c
push 0x401958
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
cmp dword [0x41af1c], 0
je 0x408c41
push 0x401368
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 0x4019a0
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
cmp dword [0x41aee8], 0
pop ecx
je 0x4086ae
jmp 0x4086a9
push 0x401158
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 1
call fcn.00417f51
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fflush]
pop ecx
push 1
jmp 0x4086b0