Function at 0x746040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x746048
push ebx
push esi
push edi
mov eax, 0x737394
call fcn.0040c404
mov ebx, dword [0x755b98]
xor eax, eax
push ebp
push 0x74634c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00404bfc
mov dl, 1
mov eax, 0x746368
call fcn.0042a310
test al, al
je 0x7460bd
mov eax, dword [ebx]
xor edx, edx
call fcn.0056cc00
mov eax, dword [ebx]
call fcn.0056aee0
mov eax, dword [ebx]
xor edx, edx
call fcn.0056a8d8
mov ecx, dword [0x755464]
mov eax, dword [ebx]
mov edx, dword [0x7328b0]
call fcn.0056aef8
mov eax, dword [ebx]
call fcn.0056b05c
call fcn.00407c5c
push 0x746378
push 0xffffffffffffffff
push 0
call fcn.0040fd38
mov edx, dword [0x755b6c]
mov dword [edx], eax
call sub.KERNEL32.DLL_GetLastError_2
cmp eax, 0xb7
jne 0x7460f7
push 0x10
push 0x7463a0
push 0x7463cc
push 0
call sub.user32.dll_MessageBoxW
call fcn.00407c5c
mov dl, 1
mov eax, 0x74640c
call fcn.0042a310
test al, al
je 0x746164
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
call fcn.0056b908
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00423274
mov eax, dword [ebp - 0x14]
call fcn.004048bc
call fcn.00404880
mov eax, dword [ebx]
call fcn.0056aee0
mov eax, dword [ebx]
mov dl, 1
call fcn.0056cc00
mov eax, dword [ebx]
mov edx, 0x746428
call fcn.0056a8d8
mov ecx, dword [0x755690]
mov eax, dword [ebx]
mov edx, dword [0x734998]
call fcn.0056aef8
mov eax, dword [ebx]
call fcn.0056b05c
call fcn.00407c5c
mov eax, dword [0x7556d8]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.0056b908
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00423274
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x755950]
call fcn.00408348
call fcn.005b5860
call fcn.00425cdc
mov eax, dword [0x755ed0]
fcomp qword [eax]
wait
fnstsw ax
sahf
je 0x746201
mov eax, dword [0x7556d8]
xor edx, edx
mov dword [eax], edx
xor ecx, ecx
mov dl, 1
mov eax, dword [0x7339ac]
call fcn.00733be4
mov dword [0x7553ac], eax
mov eax, dword [0x7553ac]
mov eax, dword [eax + 4]
mov edx, dword [0x7556d8]
mov dword [edx], eax
mov eax, dword [0x755e40]
movzx eax, byte [eax]
mov edx, dword [0x7559cc]
mov byte [edx], al
mov eax, dword [0x7555dc]
mov byte [eax], 1
call fcn.00425cdc
mov eax, dword [0x755ed0]
fstp qword [eax]
wait
call fcn.005b5400
call fcn.005b550c
mov dl, 1
mov eax, 0x74646c
call fcn.0042a310
test al, al
jne 0x74629d
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00404b9c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00423238
mov edx, dword [ebp - 0x24]
mov eax, dword [0x7557d0]
call fcn.00408348
mov edx, dword [0x7557d0]
mov edx, dword [edx]
mov eax, dword [0x755410]
mov ecx, 0x74647c
call fcn.00409108
mov edx, dword [0x7557d0]
mov edx, dword [edx]
mov eax, dword [0x755de4]
mov ecx, 0x7464a0
call fcn.00409108
mov eax, dword [ebx]
call fcn.0056aee0
mov eax, dword [ebx]
mov dl, 1
call fcn.0056cc00
mov eax, dword [ebx]
mov edx, 0x7464c4
call fcn.0056a8d8
mov ecx, dword [0x7555d8]
mov eax, dword [ebx]
mov edx, dword [0x716724]
call fcn.0056aef8
mov eax, dword [ebx]
call fcn.0056b05c
jmp 0x7462a2
call fcn.005f7200
call fcn.005b550c
mov eax, dword [0x755b6c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
push ebp
push 0x746327
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x7553ac], 0
je 0x7462fd
push 0x2710
mov eax, dword [0x7556d8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x7462fd
push 0
mov eax, dword [0x7556d8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov eax, dword [0x7553ac]
call fcn.004062e0
push 0x2710
mov eax, dword [0x755650]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x74631d
push 0
call sub.KERNEL32.DLL_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x746331
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x746353
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00407fc8
ret