Function at 0x40b720
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0x10
push 0
push 0x4957e0
call fcn.0041b400
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040a680
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40b756
xor al, al
jmp 0x40b84e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40b77b
xor al, al
jmp 0x40b84e
mov ecx, dword [ebp - 0x18]
call fcn.0040a850
test eax, eax
jne 0x40b78e
xor al, al
jmp 0x40b84e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40b7c1
push 0
mov ecx, dword [0x4957e0]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x14], str.kTvjQOjsTSYbLr6W9gVmLYIme05ShHQ7KHO2QPIdfIVJwjrVOQ49uVbJlE5dWd91De9muHo9lAJ9EWnqKGi8KWo6cQVDbaOADTHGSd5ACNO1bWBksMFYWgpTPdGL3kyEGRSw9vyAhNluIJjQNOtqvt9kaw7Nemwh2QkjyctXlbbguF5rY8bcYCzmRHEoVNhOkfQxocvmIHRue01RvEr3X6wIuOtHY5TSs5tH5Qe65eGRkPB5e19I8FPTo3suKwSmH3rm5UekYLCCGeQmjqn0fxhcLI9UelamEqb0VwXWKujsO3begNqG9hAAEmPKWEbkdcjdhaVBBH8DO8ttTDLzLPsTRxPRffg9LNDtKtnnvh5V28bqsSyDK6l27shQU5Estw9LJTYDJw6fzaz8Xs0mVm3PV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xdrwHn33xI88gur9uQ02lGXzloPYynb6ogMwUSQMqvoeH4jrv5D5FMOyiuafRfXtWjsdb3cNzi79e6plbzdCTlt7ovFCvm3LqkMRsBcsUFGvqDjH5V02d6UUEmqy4tD1c0xqBJbm3rs4lFnbSqOgEcn4KdAAtlK0
xor al, al
jmp 0x40b84e
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040b050
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0040b6d0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40b7f9
push 0
mov edx, dword [0x4957e0]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x40b84e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
call edx
movzx eax, al
test eax, eax
jne 0x40b825
xor al, al
jmp 0x40b84e
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0040b3d0
movzx edx, al
test edx, edx
jne 0x40b84c
push 0
mov eax, dword [0x4957e0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x40b84e
mov al, 1
mov esp, ebp
pop ebp
ret 4