Function at 0x100795df
Capabilities:
Create thread

Disassembly:
push 0x254
mov eax, 0x1045a1c1
call fcn.1043ac1f
mov esi, ecx
mov dword [0x1077e378], 5
call fcn.1007d5f1
push 0x1008eb83
call fcn.10438564
pop ecx
mov dword [ebp - 0x1f0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x1e9], bl
mov byte [ebp - 4], 1
lea eax, [ebp - 0x260]
push eax
call fcn.1007870b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.1007d14c
mov byte [ebp - 4], 3
call fcn.10089bc5
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 5
mov byte [ebp - 0x1f1], 1
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x260]
call fcn.1007a42c
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.1007a42c
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 9
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x10781544], eax
cmp dword [0x10781544], ebx
jne 0x100796be
mov dword [ebp - 0x214], str._1580
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x128]
call fcn.100783c3
push 0x10725f48
lea eax, [ebp - 0x128]
push eax
call fcn.1043aaeb
push ebx
push ebx
push esi
push fcn.100791f1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1078153c], eax
cmp dword [0x1078153c], ebx
jne 0x10079704
mov dword [ebp - 0x1fc], str._1581
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0xe0]
call fcn.100783c3
push 0x10725f48
lea eax, [ebp - 0xe0]
jmp 0x100796b8
mov byte [ebp - 0x1e9], 1
call fcn.10078cb4
lea eax, [ebp - 0x74]
push eax
call fcn.10079afa
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x10079725
mov eax, dword [eax]
push eax
push ebx
push 0x120000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x1f8], esi
mov byte [ebp - 4], 0xc
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.1007a42c
test esi, esi
jne 0x10079811
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x1b8]
call fcn.1007b04b
mov esi, eax
mov byte [ebp - 4], 0xe
mov dword [esp], str._1582
lea ecx, [ebp - 0x188]
call fcn.10079c5c
mov byte [ebp - 4], 0xf
push 0x10528298
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.1007b005
pop ecx
mov byte [ebp - 4], 0x10
push esi
mov edx, eax
lea ecx, [ebp - 0x1e8]
call fcn.1007b0ba
pop ecx
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x100797d7
mov eax, dword [eax]
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0xbc]
call fcn.100783c3
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xbc], vtable.._AV2626______________.0
mov byte [ebp - 4], 0x11
push 0x10726014
lea eax, [ebp - 0xbc]
jmp 0x100796b8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100798e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x170]
call fcn.1007b04b
mov esi, eax
mov byte [ebp - 4], 0x14
mov dword [esp], str._1583
lea ecx, [ebp - 0x1d0]
call fcn.10079c5c
mov byte [ebp - 4], 0x15
push 0x105282b0
mov edx, eax
lea ecx, [ebp - 0x1a0]
call fcn.1007b005
pop ecx
mov byte [ebp - 4], 0x16
push esi
mov edx, eax
lea ecx, [ebp - 0x158]
call fcn.1007b0ba
pop ecx
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 0x10
jb 0x100798a7
mov eax, dword [eax]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x98]
call fcn.100783c3
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x98], vtable.._AV2626______________.0
mov byte [ebp - 4], 0x17
push 0x10726014
lea eax, [ebp - 0x98]
jmp 0x100796b8
push 0x40
call fcn.10437946
pop ecx
mov dword [ebp - 0x208], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x1007993b
mov edx, dword [0x1078153c]
mov ecx, dword [ebp - 0x208]
mov dword [ecx], vtable.._AV2640__________________________________________.0
mov dword [ecx + 4], ebx
mov byte [ecx + 8], bl
mov byte [ebp - 4], 0x1a
mov dword [ecx], vtable.._AV2805______________________________________________.0
mov dword [ecx + 0xc], ebx
mov byte [ecx + 0x10], bl
lea eax, [ecx + 0x18]
mov dword [ebp - 0x244], eax
mov dword [eax], ebx
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1c
mov dword [ecx + 0x38], edx
mov byte [ebp - 4], 0x19
jmp 0x1007993d
mov ecx, ebx
mov byte [ebp - 4], 0xc
push ecx
call fcn.1007b122
mov esi, dword [0x1077e950]
mov dword [esi + 4], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x10079987
mov dword [ebp - 0x20c], str._1584
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x104]
call fcn.100783c3
push 0x10725f48
lea eax, [ebp - 0x104]
jmp 0x100796b8
call fcn.1008e6bb
mov byte [esi + 8], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test al, al
je 0x100799a0
call fcn.1007cf88
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], ebx
mov eax, dword [0x1060527c]
test eax, eax
je 0x100799d1
push 2
lea ecx, [ebp - 0x230]
push ecx
push ecx
call eax
add esp, 0xc
mov eax, 0x100791db
test eax, eax
je 0x100799e4
mov dword [ebp - 0x230], eax
mov al, 1
jmp 0x100799e6
mov al, bl
test al, al
je 0x100799fa
mov eax, 0x1060527c
or eax, 1
mov dword [ebp - 0x238], eax
jmp 0x10079a00
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x1e
mov ecx, dword [0x1077e950]
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x238]
push eax
add ecx, 0x18
call fcn.10282eaa
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x238]
call fcn.1007a489
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1f8]
call fcn.10079df5
jmp 0x10079a95
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1f0]
call fcn.10438564
mov dword [ebp - 0x1f0], ebx
mov al, byte [ebp - 0x1e9]
jmp 0x10079af3
pop ecx
call fcn.1043ab71
ret