Function at 0x100792e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x83c]
sub esp, 0x83c
push 0xffffffffffffffff
push 0x1015f628
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b900c]
xor eax, ebp
mov dword [ebp + 0x838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ecx
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x10079340
nop word [eax + eax]
mov ecx, esi
call fcn.10003590
add esi, 0x18
cmp esi, edi
jne 0x10079330
mov esi, dword [ebx]
push 0xc
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x4c]
push str.Kernel32.dll
mov dword [ebx + 4], esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.10003600
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.10093360
mov ecx, eax
call fcn.10093420
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x100793ce
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100793c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007964d
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
push 9
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], eax
push str.Psapi.dll
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.10003600
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
call fcn.10093360
mov ecx, eax
call fcn.10093420
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x1007945f
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10079455
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079652
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test esi, esi
je 0x100794fb
test edi, edi
je 0x100794fb
push str.GetModuleFileNameExW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100794a3
push str.GetModuleFileNameExW
push edi
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100794fb
push str.Module32FirstW
push edi
call esi
push str.Module32NextW
push edi
mov ebx, eax
call esi
push str.CreateToolhelp32Snapshot
push edi
mov dword [ebp - 0x30], eax
call esi
mov esi, eax
test esi, esi
je 0x100794fb
test ebx, ebx
je 0x100794fb
cmp dword [ebp - 0x30], 0
je 0x100794fb
push dword [ebp - 0x28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100794fb
push dword [ebp - 0x28]
push 8
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x10079520
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x838]
xor ecx, ebp
call fcn.10109ef1
lea esp, [ebp + 0x83c]
pop ebp
ret
push 0x424
lea eax, [ebp + 4]
push 0
push eax
call fcn.10121fd0
push 0x410
lea eax, [ebp + 0x428]
mov dword [ebp], 0x428
push 0
push eax
call fcn.10121fd0
add esp, 0x18
lea eax, [ebp]
push eax
push esi
call ebx
test eax, eax
je 0x10079635
mov ebx, dword [ebp - 0x2c]
nop
xor eax, eax
mov word [ebp + 0x21e], ax
cmp word [ebp + 0x20], ax
je 0x10079625
push 0x208
mov word [ebp + 0x428], ax
lea eax, [ebp + 0x428]
push eax
push dword [ebp + 0x1c]
push edi
call ebx
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x10079625
add eax, eax
cmp eax, 0x410
jae 0x10079648
xor ecx, ecx
mov word [ebp + eax + 0x428], cx
lea eax, [ebp + 0x428]
push eax
lea ecx, [ebp - 0x24]
call fcn.10003520
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
push eax
call fcn.10033c00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x10079611
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10079607
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007964d
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
lea eax, [ebp]
push eax
push esi
call dword [ebp - 0x30]
test eax, eax
jne 0x10079560
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
jmp 0x100794fd
call fcn.1010a788
call fcn.10129e39
call fcn.10129e39
int3