Function at 0x4012c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0
mov ebx, 0x104
call fcn.00403190
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x108
call fcn.00403230
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x40622d
push dword [ebp - 0x14]
mov ecx, 3
call fcn.004010fa
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401340
push ebx
call fcn.00402f50
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401350
push ebx
call fcn.00402f50
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401363
mov eax, 0x40622f
push eax
push 1
mov ebx, 0x268
call fcn.004032d0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401389
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40139d
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0x80000005
push 0
push 0x406230
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4013c6
mov eax, 0x40625c
push eax
push 3
mov ebx, 0x1ac
call fcn.00403340
add esp, 0x28
mov dword [ebp - 8], eax
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x168
call fcn.00403440
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401e43
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401419
push ebx
call fcn.00402f50
add esp, 4
push 0x406264
push dword [ebp - 0x18]
call fcn.00401156
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401447
push ebx
call fcn.00402f50
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x401b1b
mov dword [ebp - 0x14], esp
push 0x21
push 0x406289
push 0x406294
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401484
push 6
call fcn.00402f62
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jne 0x4014a0
push 0
call fcn.00402f3e
add esp, 4
jmp 0x401ad2
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.00403710
add esp, 0x10
lea eax, [ebp - 4]
push eax
call fcn.00402010
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4014d8
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x40625c
xor ecx, ecx
test eax, eax
je 0x4014ea
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x4014fb
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x401512
dec eax
test ecx, ecx
je 0x401512
call fcn.004011f3
add esp, 0xc
test eax, eax
jne 0x401555
mov dword [ebp - 0x14], esp
push 0x10
push 0x406289
push 0x4063a4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401550
push 6
call fcn.00402f62
add esp, 4
jmp 0x401ad2
cmp dword [ebp - 8], 0xffffffff
jne 0x4015ee
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x168
call fcn.00403440
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x4063ba
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4015a8
push ebx
call fcn.00402f50
add esp, 4
mov dword [ebp - 0x1c], esp
push 0x10
push 0x406289
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4015d9
push 6
call fcn.00402f62
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4015e9
push ebx
call fcn.00402f50
add esp, 4
jmp 0x401ad2
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x198
call fcn.00403820
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4063cc]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0040129f
push 0x80000301
push 0
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401644
mov eax, 0x40625c
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401658
mov eax, 0x40625c
push eax
push 3
mov ebx, 0x1ac
call fcn.00403340
add esp, 0x28
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40167e
push ebx
call fcn.00402f50
add esp, 4
cmp dword [ebp - 0x34], 0xffffffff
je 0x401717
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x168
call fcn.00403440
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x4063d4
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4016d1
push ebx
call fcn.00402f50
add esp, 4
mov dword [ebp - 0x1c], esp
push 0x10
push 0x406289
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x401702
push 6
call fcn.00402f62
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401712
push ebx
call fcn.00402f50
add esp, 4
jmp 0x401ad2
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
call fcn.004028dd
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40174c
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401760
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x40622f
push dword [ebp - 0xc]
call fcn.00401156
add esp, 8
cmp eax, 0
jne 0x4017b5
mov dword [ebp - 0x14], esp
push 0x10
push 0x406289
push 0x4063f4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4017b0
push 6
call fcn.00402f62
add esp, 4
jmp 0x401ad2
call fcn.00402e0a
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4017e3
push ebx
call fcn.00402f50
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.00401e43
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4017ff
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401813
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40182a
mov eax, 0x40622f
push eax
push 1
mov ebx, 0x198
call fcn.00403820
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401859
mov eax, 0x40625c
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40186d
mov eax, 0x40625c
push eax
push 3
mov ebx, 0x1ac
call fcn.00403340
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401893
push ebx
call fcn.00402f50
add esp, 4
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4017b5
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x194
call fcn.004038e0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4018d1
mov eax, 0x40622f
push eax
push 1
mov ebx, 0x198
call fcn.00403820
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4018fa
mov eax, 0x40625c
push eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401922
mov eax, 0x40625c
push eax
push 4
mov ebx, 0x1b4
call fcn.004038f0
add esp, 0x34
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401948
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40195c
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
mov ebx, 0x104
call fcn.00403190
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x108
call fcn.00403230
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x406402
push dword [ebp - 0x14]
mov ecx, 3
call fcn.004010fa
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4019b5
push ebx
call fcn.00402f50
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4019c5
push ebx
call fcn.00402f50
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4019d8
mov eax, 0x40625c
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4019ec
mov eax, 0x40622f
push eax
push 2
mov ebx, 0x26c
call fcn.00403a60
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401a12
push ebx
call fcn.00402f50
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x401a9f
push 0
mov ebx, 0x108
call fcn.00403230
add esp, 4
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x40640f
mov ecx, 2
call fcn.004010fa
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401a59
push ebx
call fcn.00402f50
add esp, 4
mov dword [ebp - 0x1c], esp
push 0x40
push dword [ebp - 0x18]
push 0x40641b
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x401a8a
push 6
call fcn.00402f62
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a9a
push ebx
call fcn.00402f50
add esp, 4
jmp 0x401ad2
mov dword [ebp - 0x14], esp
push 0x10
push 0x406289
push 0x406424
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401ad2
push 6
call fcn.00402f62
add esp, 4
mov dword [ebp - 0x14], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401af1
push 6
call fcn.00402f62
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401b44
mov eax, 0x40625c
push eax
push 3
mov ebx, 0x1a8
call fcn.00403b00
add esp, 0x28
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401b6d
mov eax, 0x40625c
push eax
push 1
mov ebx, 0x168
call fcn.00403440
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401b93
push ebx
call fcn.00402f50
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.00401e43
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401baf
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401bc3
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x194
call fcn.004038e0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
push 0x406230
push 1
mov ebx, 0x194
call fcn.004038e0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00403b50
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401c36
mov eax, 0x40625c
push eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401c5e
mov eax, 0x40625c
push eax
push 4
mov ebx, 0x1b4
call fcn.004038f0
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401c84
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401c98
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
call fcn.004028dd
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401cd1
push ebx
call fcn.00402f50
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401ce5
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401cfc
mov eax, 0x40622f
push eax
push 1
mov ebx, 0x150
call fcn.00403b80
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401d25
mov eax, 0x40622f
push eax
push 1
mov ebx, 0x150
call fcn.00403b80
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.00401156
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401d68
push ebx
call fcn.00402f50
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401d78
push ebx
call fcn.00402f50
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x401d8c
mov eax, 0
jmp 0x401d96
mov eax, 1
jmp 0x401d96
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401da7
push ebx
call fcn.00402f50
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401db7
push ebx
call fcn.00402f50
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401dc7
push ebx
call fcn.00402f50
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret