Function at 0x10079230
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x83c]
sub esp, 0x83c
push 0xffffffffffffffff
push 0x1015f548
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 0x10079290
nop word [eax + eax]
mov ecx, esi
call fcn.100035a0
add esi, 0x18
cmp esi, edi
jne 0x10079280
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.10003610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.100932a0
mov ecx, eax
call fcn.10093360
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1007931e
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10079314
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007959d
push edx
push ecx
call fcn.1010a1d5
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.10003610
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
call fcn.100932a0
mov ecx, eax
call fcn.10093360
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x100793af
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100793a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100795a2
push edx
push ecx
call fcn.1010a1d5
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 0x1007944b
test edi, edi
je 0x1007944b
push str.GetModuleFileNameExW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100793f3
push str.GetModuleFileNameExW
push edi
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1007944b
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 0x1007944b
test ebx, ebx
je 0x1007944b
cmp dword [ebp - 0x30], 0
je 0x1007944b
push dword [ebp - 0x28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1007944b
push dword [ebp - 0x28]
push 8
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x10079470
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.10109e31
lea esp, [ebp + 0x83c]
pop ebp
ret
push 0x424
lea eax, [ebp + 4]
push 0
push eax
call fcn.10121f10
push 0x410
lea eax, [ebp + 0x428]
mov dword [ebp], 0x428
push 0
push eax
call fcn.10121f10
add esp, 0x18
lea eax, [ebp]
push eax
push esi
call ebx
test eax, eax
je 0x10079585
mov ebx, dword [ebp - 0x2c]
nop
xor eax, eax
mov word [ebp + 0x21e], ax
cmp word [ebp + 0x20], ax
je 0x10079575
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 0x10079575
add eax, eax
cmp eax, 0x410
jae 0x10079598
xor ecx, ecx
mov word [ebp + eax + 0x428], cx
lea eax, [ebp + 0x428]
push eax
lea ecx, [ebp - 0x24]
call fcn.10003530
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
push eax
call fcn.10033c60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x10079561
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10079557
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007959d
push edx
push ecx
call fcn.1010a1d5
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 0x100794b0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
jmp 0x1007944d
call fcn.1010a6c8
call fcn.10129d79
call fcn.10129d79
int3