Function at 0x405a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
push 0x10
push 0
push 0x47a4b4
call fcn.00409d10
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004048f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x405a76
xor al, al
jmp 0x405b79
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x405a9b
xor al, al
jmp 0x405b79
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004047c0
test eax, eax
jne 0x405ab2
xor al, al
jmp 0x405b79
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x405add
push 0
mov eax, dword [0x47a4b4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x405b79
mov dword [ebp - 0x18], str.wuDBpVyRmvEnj2tV1tC8r3qu2WAnqjzm1MhaAHfQExgBmwhnYeTaFHUQutHIqkf1tRlw9ibtjEcSxC7yXNtJaJ12miOYee5CWODDm06iiEOOvwbpJ46yQyfF7J1iR9QSuMotfUQu6VmzbGjY7YUhqrj5KIegDr0Lc3dSCWs2JpXFJX0BVzvvjt3jOJhT9Syo8U5K5R5wKCF8EunJ3WMPHAp4lQSIcwd7qLnPXg1jcHnrEKb6kk5LBwwNRHGETKiua8TTmxFrCjUvHxPzCW8MKQEEtxb7DhOgwwLC9VDC7IYI4YohPb1jDXasL9JV3bmnCAAGYvClfM9TgzwwTqgIx8CKOVFr1Nb1E3hFfbtH9UUj45yNIdKluo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UKekRu3iBXLM6sSN5znHlIgcliENvO3gLRwxf9RhabPSizVQNFJGPfkADbu1VORtxYUi2WEdubn8y4XbXri5stWqm2ifXQDhr5PuhSLSSjuIrsWyOUGPaQAQxW6qLA9weKAwfjeiEYCSc61s7Jng58kchajuizlM9alevQIC8HCIVao476KdFmU1CVHhd8jlX4dTSwxgE2KkrEwgCL8VDVI2FEvDYqgdYL9gtBCOzDDLjpUBT8DaWBKdzJgjQty21a2wBLx4fei1V6hqL6l3PqFHqHW2M5HemJAlTYy26D92ocpFzcdeOKLQnbVtxTlRRxuOhxvUuJYIB1i49v4LDkYdBNYgEqhLRchtQ3U7Qv2UeJ10QIEelbTzgmcYoXppgVlm3uUgDWQsDiQyy5zyfGIQyE9bOEN0pw3Uy8j9heq65v9yEpneSwjgGBIlLsFr
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.00406040
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004072d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x405b1c
push 0
mov ecx, dword [0x47a4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x405b79
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
movzx ecx, al
test ecx, ecx
jne 0x405b48
xor al, al
jmp 0x405b79
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.00406420
movzx eax, al
test eax, eax
jne 0x405b77
mov dword [ebp - 0x1c], str.vSw4VnIuoHjXOGaPtpvlmMxM2IGyJA92sNS8pt3EErz4lnu6vv3ekfQfvOshcFfXjbpD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3ik773zI6lWANGz0kyYLteN6q8Ebudclt9eA8m8MPibSbfiLdRlQK6ekD2gL87mtEvoLGQzatoE1OdqaeuGH1tPKjQzWUMqaEAblsWlQj65p9tFCPyWRg3uARGCJg9iLOTBab7eLrIka2MP7r5TkV80l1Vna3TEf6PK7r7vzp2RjixtWQYWn5Hp7AeMgQ3fQXtsWByMQF4CVxA4lQNmry39xlYFCNTFSYPmo9UM6RaBaOSN6Ppr7xX8c47tMM7yUFpuGWq5asFGg6c8vvSrsg5dhqieGouDaYSDro2zhHcRoGRiPdYn8JlUml63prxjyckuXcWnARhGTQ8D34t5FtAapwlNAUvF4cpgPcKdYnlbdGLQQrpJf9CVLAA9Xt9rAi4xkq2PMzBaVY29O78MDEjib99AtwKSTfvfg8m9EM1kKcHmqjc5i5uqNJ7u878RFhdzcLn4Fgi9yx7S3JuKjJ2y8PlY74yPt3T6gYHCkgUWlS4HUx7gp8PX6Us4LRSMJHzGhCYTtUaUgOTmclspXWM31mRxxG
push 0
mov ecx, dword [0x47a4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x405b79
mov al, 1
mov esp, ebp
pop ebp
ret 8