Function at 0x759d5bdf
Capabilities:
Create thread

Disassembly:
push 0x40
push 0x759d5da0
call fcn.759cfd91
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp + 0x18]
mov edi, 0x75bcc940
push edi
call fcn.759b16ea
test al, al
jne 0x759d5d51
push 1
mov ecx, 0x75bcc9a0
call fcn.759d5dc1
mov dword [ebp - 0x40], eax
xor ebx, ebx
cmp eax, ebx
jne 0x759d5cd4
mov eax, dword [ebp + 0xc]
shr eax, 0x1f
and al, 1
mov byte [ebp - 0x41], al
cmp dword [0x75bcc938], ebx
jne 0x759d5d7f
push ebx
push ebx
push 8
pop edi
push edi
call fcn.759b3f62
add esp, 0xc
cmp eax, 1
je 0x759d5d5e
push ebx
push 1
push edi
call fcn.759b3f62
add esp, 0xc
cmp eax, 1
je 0x759d5d5e
mov byte [0x75bcc93c], bl
mov dword [ebp - 4], ebx
push 0x2e0
call fcn.759c6f57
pop ecx
cmp eax, ebx
je 0x759d5d6c
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x48]
mov ecx, eax
call fcn.759d91a4
mov dword [0x75bcc938], eax
cmp eax, ebx
je 0x759d5d73
mov ecx, 0x75bcc9a0
call fcn.759d8c03
test al, al
je 0x759d5d73
push ebx
call fcn.759d0764
pop ecx
test al, al
je 0x759eb19c
cmp byte [ebp - 0x41], bl
jne 0x759eb1a8
mov dword [ebp - 4], 0xfffffffe
push ebx
mov ecx, 0x75bcc9a0
call fcn.759d5dc1
mov edx, dword [0x75bcc938]
cmp edx, ebx
je 0x759d5d8b
cmp dword [ebp - 0x40], ebx
jne 0x759eb2be
xor eax, eax
mov word [ebp - 0x3c], ax
push 7
pop ecx
lea edi, [ebp - 0x3a]
rep stosd dword es:[edi], eax
push dword [edx + 0x10]
push 0x759ca6c8
push 0xf
lea eax, [ebp - 0x3c]
push eax
call fcn.759b4c31
add esp, 0x10
test eax, eax
jl 0x759d5d42
push ebx
push ebx
mov eax, 0x759b7ff8
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x48]
push 0x410
push 4
push 0x15
call fcn.759c26bf
add esp, 0x30
mov dword [0x75bcc940], ebx
mov eax, dword [ebp - 0x40]
call fcn.759cfdd9
ret
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x759d5bff
cmp byte [ebp - 0x41], bl
jne 0x759eb184
jmp 0x759eb190
xor eax, eax
jmp 0x759d5c96
mov dword [ebp - 0x40], 0x643
jmp 0x759d5ccd
mov dword [ebp - 0x40], 0x652
jmp 0x759d5cd4
cmp dword [ebp - 0x40], ebx
jne 0x759eb2f8
jmp 0x759d5cf6
mov dword [ebp - 0x40], 0x675
jmp 0x759d5cd4
mov byte [0x75bcc93c], 1
jmp 0x759d5c6f
mov dword [ebp - 0x40], 0x65f
jmp 0x759d5ccd
push 0xc1007
push dword [0x75bcc938]
call fcn.75a7fbd5
pop ecx
pop ecx
mov ecx, dword [0x75bcc938]
mov dword [ecx + 0xc], eax
mov eax, dword [0x75bcc938]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [0x75bcc938]
cmp dword [eax + 0xc], ebx
je 0x759d5d73
call fcn.759c28d5
mov ecx, dword [0x75bcc938]
mov dword [ecx + 0x2c], eax
mov ecx, dword [0x75bcca68]
cmp ecx, ebx
jne 0x759eb221
push 0x20
call fcn.759c6f57
pop ecx
cmp eax, ebx
je 0x759eb20b
mov ecx, eax
call fcn.759cea68
jmp 0x759eb20d
xor eax, eax
mov ecx, eax
mov dword [0x75bcca68], ecx
cmp ecx, ebx
jne 0x759eb221
mov dword [ebp - 0x40], edi
jmp 0x759d5ccd
push ebx
push 2
push dword [ebp - 0x48]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.75a1df49
push ebx
mov ecx, dword [0x75bcca68]
call fcn.75a3b8c1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x75bcc938]
mov dword [ecx + 0x20], eax
mov eax, dword [0x75bcc938]
cmp dword [eax + 0x20], ebx
je 0x759eb27d
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push 0x75af0648
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x75bcc938]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x75bcc938]
cmp dword [eax + 0x1c], ebx
jne 0x759d5ccd
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
jmp 0x759d5ccd
cmp dword [ebp - 0x40], 0x652
je 0x759d5d8b
mov eax, dword [edx + 0xc]
cmp eax, ebx
je 0x759eb2de
push eax
call sym.msi.dll_MsiCloseHandle
mov edx, dword [0x75bcc938]
cmp edx, ebx
je 0x759eb2eb
push 1
mov ecx, edx
call fcn.759d744a
xor edx, edx
mov dword [0x75bcc938], edx
jmp 0x759d5d8b
xor eax, eax
mov word [ebp - 0x3c], ax
push 7
pop ecx
lea edi, [ebp - 0x3a]
rep stosd dword es:[edi], eax
push dword [ebp - 0x40]
push 0x759ca6c8
push 0xf
lea eax, [ebp - 0x3c]
push eax
call fcn.759b4c31
add esp, 0x10
test eax, eax
jl 0x759d5d42
push ebx
push ebx
mov eax, 0x759b7ff8
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x48]
push 0x411
push 1
jmp 0x759d5d38