Function at 0x402b27
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 0x402b92
call fcn.004036ee
mov dword [ebp - 0x20], eax
call 0x4037bd
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x28], eax
call fcn.00403a4b
mov dword [ebp - 0x2c], eax
call fcn.00403d67
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0042a9d0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
mov ecx, 5
call fcn.00402555
add esp, 0x14
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402c17
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402c27
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402c37
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402c47
push ebx
call fcn.00429d3f
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402c5b
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 0x402edc
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 0x402cbe
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 0x402cd1
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 0x402cf7
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 0x402d13
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 0x402d68
push 0x16b
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402d7b
push ebx
call fcn.00429d3f
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402dbc
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x63ef8f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x402db7
push 0x1c1
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
jmp 0x402ed4
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 0x402e01
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 0x402e14
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 0x402e3a
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 0x402e56
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 0x402ea9
push 0x274
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402ebc
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 0x402edc
pop eax
pop ebx
pop ecx
jmp 0x402c6b
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x403554
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 0x402f2e
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 0x402f41
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 0x402f67
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 0x402f83
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 0x402fb9
push 0x392
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402fcc
push ebx
call fcn.00429d3f
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x403132
cmp dword [ebp + 0x14], 2
jge 0x403128
cmp dword [ebp + 0x14], 0
jne 0x40308a
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 0x52c969
push dword [ebp - 0x20]
push 0x52c96c
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403036
push ebx
call fcn.00429d3f
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x52c984
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x403067
mov eax, 0x52c8fc
push eax
push 4
mov ebx, 0x300
call fcn.0042a6b0
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40308a
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 0x4030bd
push 0x4a5
push 0x40880d3
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 0x4030eb
push 0x4ca
push 0x40880d3
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 0x40311e
push 0x4f9
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x40311e
mov eax, 0
jmp 0x4036ca
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 0x403177
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 0x40318a
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 0x4031b0
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 0x4031cc
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 0x403211
push 0x5c3
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403221
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 0x403266
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 0x403279
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 0x40329f
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 0x4032bb
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 0x4032f1
push 0x660
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403304
push ebx
call fcn.00429d3f
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x40346a
cmp dword [ebp + 0x14], 2
jge 0x403460
cmp dword [ebp + 0x14], 0
jne 0x4033c2
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 0x52c969
push dword [ebp - 0x20]
push 0x52c96c
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40336e
push ebx
call fcn.00429d3f
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x52c984
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40339f
mov eax, 0x52c8fc
push eax
push 4
mov ebx, 0x300
call fcn.0042a6b0
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4033c2
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 0x4033f5
push 0x786
push 0x40880d3
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 0x403423
push 0x7ab
push 0x40880d3
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 0x403456
push 0x7da
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x403456
mov eax, 0
jmp 0x4036ca
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 0x4034af
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 0x4034c2
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 0x4034e8
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 0x403504
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 0x40353f
push 0x886
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40354f
push ebx
call fcn.00429d3f
add esp, 4
jmp 0x4036b0
cmp dword [ebp + 0x14], 2
jge 0x4036a6
cmp dword [ebp + 0x14], 0
jne 0x403608
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 0x52c969
push dword [ebp - 0x20]
push 0x52c96c
mov ecx, 3
call fcn.00402555
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4035b4
push ebx
call fcn.00429d3f
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x52c984
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4035e5
mov eax, 0x52c8fc
push eax
push 4
mov ebx, 0x300
call fcn.0042a6b0
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403608
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 0x40363b
push 0x98f
push 0x40880d3
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 0x403669
push 0x9b4
push 0x40880d3
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 0x40369c
push 0x9e3
push 0x40880d3
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x40369c
mov eax, 0
jmp 0x4036ca
mov eax, 1
jmp 0x4036ca
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4036db
push ebx
call fcn.00429d3f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14