Function at 0x4128a6
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 0xc
call fcn.00429d33
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x412911
fninit
call fcn.004036ee
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412943
push ebx
call fcn.00429d3f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412957
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x412bd8
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4129ba
push ebx
call fcn.00429d3f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4129cd
mov eax, 0x52c8fc
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4129f3
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004040b2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412a0f
push ebx
call fcn.00429d3f
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
push 1
push 0x1f0001
xor eax, eax
call dword [0x63ef8b]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x412a64
push 0x133
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412a77
push ebx
call fcn.00429d3f
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x412ab8
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x63ef8f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x412ab3
push 0x189
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
jmp 0x412bd0
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412afd
push ebx
call fcn.00429d3f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x412b10
mov eax, 0x52c8fc
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412b36
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004040b2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412b52
push ebx
call fcn.00429d3f
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x412ba5
push 0x23c
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412bb8
push ebx
call fcn.00429d3f
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x412bd8
pop eax
pop ebx
pop ecx
jmp 0x412967
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x412db4
cmp dword [ebp + 0x10], 1
jne 0x412c85
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x52d374
push dword [ebp - 0x20]
push 0x52d377
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412c3b
push ebx
call fcn.00429d3f
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x52d388
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00413532
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412c70
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412c80
push ebx
call fcn.00429d3f
add esp, 4
jmp 0x412d16
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x52d374
push dword [ebp - 0x20]
push 0x52d399
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412cd1
push ebx
call fcn.00429d3f
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x52d388
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00413532
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412d06
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412d16
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x412d49
push 0x441
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x63ef93]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x412d77
push 0x466
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
call fcn.004043ec
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x63ef97]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x412daa
push 0x495
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x412daa
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412df9
push ebx
call fcn.00429d3f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x412e0c
mov eax, 0x52c8fc
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412e32
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404174
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412e4e
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 1
push 0xf001f
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x412e84
push 0x570
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412e97
push ebx
call fcn.00429d3f
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x413070
cmp dword [ebp + 0x10], 1
jne 0x412f41
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x52d374
push dword [ebp - 0x20]
push 0x52d377
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412ef7
push ebx
call fcn.00429d3f
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x52d388
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00413532
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412f2c
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412f3c
push ebx
call fcn.00429d3f
add esp, 4
jmp 0x412fd2
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x52d374
push dword [ebp - 0x20]
push 0x52d399
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412f8d
push ebx
call fcn.00429d3f
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x52d388
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00413532
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412fc2
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412fd2
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413005
push 0x6d6
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x63ef93]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413033
push 0x6fb
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
call fcn.004043ec
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x63ef97]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413066
push 0x72a
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x413066
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4130b5
push ebx
call fcn.00429d3f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4130c8
mov eax, 0x52c8fc
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4130ee
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404174
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41310a
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0x64
push 0
push 4
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41314f
push 0x7dc
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41315f
push ebx
call fcn.00429d3f
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4131a4
push ebx
call fcn.00429d3f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4131b7
mov eax, 0x52c8fc
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4131dd
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404a0a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4131f9
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0
push 0x1f0003
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenEventA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41322f
push 0x879
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413242
push ebx
call fcn.00429d3f
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41341b
cmp dword [ebp + 0x10], 1
jne 0x4132ec
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x52d374
push dword [ebp - 0x20]
push 0x52d377
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4132a2
push ebx
call fcn.00429d3f
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x52d388
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00413532
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4132d7
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4132e7
push ebx
call fcn.00429d3f
add esp, 4
jmp 0x41337d
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x52d374
push dword [ebp - 0x20]
push 0x52d399
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413338
push ebx
call fcn.00429d3f
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x52d388
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.00413532
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41336d
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41337d
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4133b0
push 0x9df
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x63ef93]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4133de
push 0xa04
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
call fcn.004043ec
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x63ef97]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x413411
push 0xa33
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x413411
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402555
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413460
push ebx
call fcn.00429d3f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x413473
mov eax, 0x52c8fc
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413499
push ebx
call fcn.00429d3f
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404a0a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4134b5
push ebx
call fcn.00429d3f
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4134f0
push 0xac7
push 0x40880d6
push 6
call fcn.00429d45
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413500
push ebx
call fcn.00429d3f
add esp, 4
jmp 0x413510
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413520
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00429d3f
add esp, 4
mov esp, ebp
pop ebp
ret 0xc