Function at 0x412030
Capabilities:
Terminate process

Disassembly:
push 0x20c
mov eax, 0x4323f0
call fcn.0042d90d
mov esi, dword [ebp + 8]
call fcn.00406e99
push dword [ebp + 0xc]
xor edi, edi
push edi
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
jne 0x41206c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4124e6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x412083
push 0x57
pop eax
jmp 0x4124e6
lea eax, [ebp - 0x74]
push eax
push 0x18
lea eax, [ebp - 0x1b0]
push eax
push edi
push esi
call dword [0x4408e4]
test eax, eax
jne 0x4120a7
mov eax, dword [ebp - 0x1ac]
mov dword [0x4403f8], eax
call fcn.0040107c
test eax, eax
je 0x4120ee
push esi
call fcn.0040b682
pop ecx
test eax, eax
jne 0x4120ee
call fcn.0040c715
push dword [0x4403e8]
push dword [ebp + 0xc]
push edi
push dword [0x4403e0]
call fcn.004010b5
add esp, 0x10
test eax, eax
jne 0x4120e0
push 2
jmp 0x41207d
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 4
call fcn.0041a35c
pop ecx
cmp eax, edi
je 0x412101
lea ecx, [ebp - 0x54]
mov dword [eax], ecx
jmp 0x412103
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], edi
call fcn.00415da4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edi
push dword [ebp + 0xc]
lea ebx, [ebp - 0x54]
mov dword [ebp - 4], 1
call fcn.0041132c
pop ecx
push 4
call fcn.0041a35c
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x41213c
lea ecx, [ebp - 0x6c]
mov dword [eax], ecx
jmp 0x41213e
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
mov byte [ebp - 4], 3
call fcn.00411c35
add esp, 0xc
push 0xa
pop ecx
xor eax, eax
mov dword [ebp - 0x198], ebx
lea edi, [ebp - 0x194]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push 0x2c
lea eax, [ebp - 0x198]
push eax
push 3
push esi
call dword [0x4408e4]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x174]
push esi
push dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], ebx
call fcn.0040c8d9
push dword [ebp + 0xc]
call fcn.00402895
pop ecx
mov dword [ebp - 0x18], ebx
jmp 0x4121b0
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
push esi
push 1
lea esi, [ebp - 0x10c]
call fcn.00416ea7
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x412403
lea eax, [ebp - 0x16c]
push eax
call fcn.0040b350
push 4
mov byte [ebp - 4], 4
call fcn.0041a35c
pop ecx
cmp eax, ebx
je 0x4121f9
lea ecx, [ebp - 0x8c]
mov dword [eax], ecx
jmp 0x4121fb
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x20]
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 6
call fcn.0040d077
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00411a84
push 0x68
call fcn.0041a35c
pop ecx
cmp eax, ebx
je 0x412257
push ebx
lea edi, [ebp - 0x16c]
mov esi, eax
call fcn.0040eba1
jmp 0x412259
xor eax, eax
mov esi, dword [ebp + 8]
push ebx
push ebx
push eax
xor eax, eax
call fcn.00406da9
cmp dword [ebp - 0xfc], 1
mov dword [ebp - 0x28], eax
jbe 0x41239c
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xfc]
jae 0x41239c
push dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x20]
lea esi, [ebp - 0xd4]
push ebx
call fcn.00416ea7
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x412390
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040b350
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ebx, [ebp - 0x214]
mov byte [ebp - 4], 7
call fcn.0040d4f9
mov byte [ebp - 0x11], al
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
mov eax, ebx
push eax
call fcn.00411a84
push 0x68
call fcn.0041a35c
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x412324
push ebx
lea edi, [ebp - 0x214]
mov esi, eax
call fcn.0040eba1
jmp 0x412326
xor eax, eax
mov esi, dword [ebp + 8]
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x28]
call fcn.00406da9
cmp byte [ebp - 0x11], bl
je 0x412365
mov eax, dword [ebp - 0x204]
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x34]
adc dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
add ecx, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa4], eax
lea edi, [ebp - 0x1bc]
mov byte [ebp - 4], 6
call fcn.0040174e
lea edi, [ebp - 0x1c0]
call fcn.0040174e
cmp byte [ebp - 0x11], bl
jne 0x4122c4
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
xor ebx, ebx
inc dword [ebp - 0x38]
cmp dword [ebp - 0x2c], ebx
jne 0x412279
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x18], edx
lea esi, [ebp - 0x8c]
cmp edx, eax
jb 0x4123e4
call fcn.004156d7
lea edi, [ebp - 0x114]
mov byte [ebp - 4], 3
call fcn.0040174e
lea edi, [ebp - 0x118]
call fcn.0040174e
cmp dword [ebp - 0x2c], ebx
jne 0x4121ad
jmp 0x412403
call fcn.004156d7
lea edi, [ebp - 0x114]
mov byte [ebp - 4], 3
call fcn.0040174e
lea edi, [ebp - 0x118]
call fcn.0040174e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [ebp - 0x6c]
call fcn.004112b5
mov ecx, dword [ebp + 0x10]
push 0x439788
lea edi, [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
call fcn.004015ab
push 0x438ca4
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004015ab
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
mov byte [ebp - 4], 9
call fcn.004016e0
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x41245a
mov eax, dword [eax]
jmp 0x41245c
xor eax, eax
push eax
mov eax, dword [ebp + 8]
call fcn.00405f5a
mov esi, dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x24]
call fcn.0040174e
lea edi, [ebp - 0x28]
call fcn.0040174e
lea edi, [ebp - 0x1c]
call fcn.0040174e
mov eax, dword [ebp + 8]
push 1
call fcn.00405f5a
push eax
call esi
push eax
call fcn.004106de
pop ecx
pop ecx
lea esi, [ebp - 0x6c]
call fcn.004156d7
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], eax
mov dword [ebp - 0x3c], ebx
cmp ecx, dword [ebp - 0x40]
je 0x4124cf
mov esi, dword [ecx]
push ecx
call fcn.0041a268
pop ecx
mov ecx, esi
cmp esi, dword [ebp - 0x40]
jne 0x4124bf
push dword [ebp - 0x40]
call fcn.0041a268
pop ecx
push dword [ebp - 0x54]
mov dword [ebp - 0x40], ebx
call fcn.0041a268
pop ecx
xor eax, eax
call fcn.0042d9e5
ret