Function at 0x759c7fa5
Capabilities:
Create thread
Resolve function by parsing pe exports
Terminate thread

Disassembly:
push 0x38
push 0x759c81b8
call fcn.759b6430
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xc]
and eax, 0xffff23ff
sub eax, ebx
je 0x759da4da
dec eax
je 0x759da4d3
dec eax
je 0x759da4cc
dec eax
je 0x759d9914
mov eax, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
xor eax, eax
cmp dword [0x75bcc8ec], 2
sete al
push eax
call dword [0x75bccd3c]
cmp eax, ebx
je 0x759e8f12
push ebx
push esi
push dword [ebp + 0xc]
push ebx
mov ecx, edi
call fcn.759c7be4
mov esi, eax
cmp esi, ebx
jne 0x759e8f2a
or dword [ebp + 0xc], 0xffffffff
cmp dword [0x75bcc8ec], 2
jne 0x759cc4b2
mov ecx, dword [0x75bcc938]
cmp ecx, ebx
je 0x759da4e1
call fcn.759cf162
mov dword [ebp - 0x28], eax
mov esi, 0x759b7ff8
cmp dword [0x75bc8ca8], ebx
jne 0x759e8f46
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
push 0x759c81a0
call fcn.759cf62e
pop ecx
pop ecx
test al, al
je 0x759da4eb
cmp dword [ebp - 0x24], ebx
je 0x759da4eb
cmp dword [0x75bc8ca8], ebx
jne 0x759e8f6a
push dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
call fcn.759d8a38
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x759c80e8
mov dword [edi + 0x60], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 1
call fcn.759c9083
pop ecx
mov dword [ebp + 0x10], eax
mov ecx, dword [eax]
push 6
push 1
push eax
call dword [ecx + 0x34]
push dword [ebp + 0x10]
push 0x18000000
mov ecx, edi
call fcn.759d14b0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x54
call fcn.759c81d9
pop ecx
test al, al
jne 0x759e8fa6
mov dword [ebp - 0x1c], ebx
lea eax, [edi + 0x3c]
push eax
push ebx
push dword [ebp + 8]
push 0x759cb14f
push 0xa000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
cmp eax, ebx
je 0x759e8fdc
mov dword [edi + 0x78], ebx
mov dword [ebp - 0x20], ebx
push 0x4ff
push dword [0x75bcc8c8]
push ebx
lea eax, [edi + 0x28]
push eax
push 2
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x759e9029
cmp eax, 0x102
je 0x759da479
cmp eax, 1
je 0x759d1edc
cmp eax, 2
je 0x759e9195
mov dword [ebp - 0x20], ebx
mov dword [edi + 0x78], ebx
mov eax, dword [edi + 0x24]
cmp eax, 0x80000000
je 0x759e91d8
mov dword [edi + 0x50], 0x80000001
push dword [edi + 0x20]
push eax
mov ecx, edi
call fcn.759ca79c
mov dword [edi + 0x50], eax
mov dword [edi + 0x24], 0x80000000
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x759c8125
mov esi, 0x759b7ff8
jmp 0x759c80ab
push dword [ebp + 0xc]
call fcn.759d0be3
pop ecx
jmp 0x759d1f2c
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x1c]
sub eax, 7
je 0x759e9145
dec eax
je 0x759e913c
sub eax, 0x3db
je 0x759e9159
cmp dword [0x75bcc8ec], ebx
je 0x759d1f3d
push ebx
mov ecx, edi
cmp dword [ebp - 0x1c], ebx
je 0x759da4fc
push 1
push ebx
call fcn.759d1078
mov esi, dword [ebp - 0x1c]
cmp dword [ebp + 0xc], 0xffffffff
jne 0x759d1ed1
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.759b6475
ret 0xc
mov ecx, dword [edi + 0x94]
cmp ecx, ebx
je 0x759d1f0f
jmp 0x759e912a
push 2
pop eax
jmp 0x759c7fe8
cmp dword [edi + 0x60], ebx
jne 0x759da499
push dword [0x75bc82c8]
push 0xa000000
mov ecx, edi
call fcn.759ca79c
cmp eax, 2
je 0x759e9081
cmp dword [edi + 0x74], ebx
jne 0x759da4c4
cmp dword [edi + 0x70], ebx
jne 0x759c8125
mov eax, dword [ebp - 0x20]
add eax, dword [0x75bcc8c4]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x75bcc918]
jl 0x759c8125
jmp 0x759e908a
mov dword [edi + 0x74], ebx
jmp 0x759c8122
push 3
jmp 0x759d9916
push 4
jmp 0x759d9916
push 5
jmp 0x759d9916
mov esi, 0x759b7ff8
jmp 0x759c8070
cmp dword [0x75bc8ca8], ebx
jne 0x759e8f88
jmp 0x759c80ab
push ebx
jmp 0x759d1f1d
cmp dword [ebp - 0x28], ebx
jne 0x759c8018
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xfffffffe
jmp 0x759d1f35
mov edi, dword [edi + 0xb4]
cmp edi, ebx
je 0x759d1f2c
push 1
mov ecx, edi
call fcn.75ad1bcd
jmp 0x759d1f2c
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push eax
push 0x759e9350
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
jmp 0x759c8067
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x75a09c2c
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
jmp 0x759c80a0
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x759e9310
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
jmp 0x759c80ab
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push ebx
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call fcn.759cb1c9
add esp, 0x1c
mov esi, eax
push ebx
mov ecx, edi
cmp esi, ebx
je 0x759e8fd0
push 1
jmp 0x759e8fd1
push ebx
push ebx
call fcn.759d1078
jmp 0x759d1f26
cmp dword [0x75bcc8ec], ebx
jne 0x759e8ffd
mov ecx, dword [edi + 0x94]
cmp ecx, ebx
je 0x759e8ffd
push 0x65f
push 0xe27
call fcn.75b5c721
push ebx
push 1
push 1
mov ecx, edi
call fcn.759d1078
cmp dword [ebp + 0xc], 0xffffffff
je 0x759e9018
push dword [ebp + 0xc]
call fcn.759d0be3
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x65f
jmp 0x759d1f35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [0x75bc8ca8], ebx
je 0x759e9053
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push eax
push 0x759e92a8
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
mov ecx, dword [edi + 0xb4]
cmp ecx, ebx
je 0x759e9064
push 1
call fcn.75ad1bcd
cmp dword [ebp + 0xc], 0xffffffff
je 0x759e9073
push dword [ebp + 0xc]
call fcn.759d0be3
pop ecx
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x759d1f35
mov byte [edi + 0x54], 1
jmp 0x759da499
cmp dword [0x75bc8ca8], ebx
je 0x759e90b0
push ebx
push ebx
mov eax, 0x759c2dec
push eax
push eax
push eax
push eax
push eax
push eax
push 0x759e928c
push ebx
push ebx
push 9
call fcn.759de326
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x759c811f
push ebx
push 0xf000125
mov ecx, edi
call fcn.759ca79c
cmp eax, 4
je 0x759c811f
mov esi, 0x75bccac0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3e3
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0xb4]
cmp ecx, ebx
je 0x759e9106
push 1
call fcn.75ad1bcd
push ebx
push 1
push 1
mov ecx, edi
call fcn.759d1078
cmp dword [ebp + 0xc], 0xffffffff
je 0x759e9279
push dword [ebp + 0xc]
call fcn.759d0be3
pop ecx
jmp 0x759e9279
push dword [ebp - 0x1c]
push 0xe27
call fcn.75b5c721
jmp 0x759d1f0f
mov dword [ebp - 0x1c], 0xe
jmp 0x759e9159
push ebx
push 0xf000010
mov ecx, edi
call fcn.759ca79c
mov dword [ebp - 0x1c], 0x3e3
mov ecx, dword [edi + 0xb4]
cmp ecx, ebx
je 0x759e916a
push 1
call fcn.75ad1bcd
cmp dword [0x75bcc8ec], ebx
jne 0x759e9189
mov ecx, dword [edi + 0x94]
cmp ecx, ebx
je 0x759e9189
push dword [ebp - 0x1c]
push 0xe27
call fcn.75b5c721
push ebx
push 1
push 1
mov ecx, edi
jmp 0x759d1f1e
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x759c8125
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.759cf105
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x759e9195
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x759e9195
cmp dword [0x75bc8ca8], ebx
je 0x759c8125
push ebx
push ebx
mov eax, 0x759c2dec
push eax
push eax
push eax
push eax
push eax
push eax
push 0x75a09b8c
push ebx
push ebx
push 9
call fcn.759de326
add esp, 0x30
jmp 0x759c8125
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x643
jmp 0x759d1f35