Function at 0x1007a520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x83c]
sub esp, 0x83c
push 0xffffffffffffffff
push 0x101625b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101bd00c]
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 0x1007a580
nop word [eax + eax]
mov ecx, esi
call fcn.10003590
add esi, 0x18
cmp esi, edi
jne 0x1007a570
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.10094580
mov ecx, eax
call fcn.10094640
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1007a60e
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a604
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a88d
push edx
push ecx
call fcn.1010cf95
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.10094580
mov ecx, eax
call fcn.10094640
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x1007a69f
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a892
push edx
push ecx
call fcn.1010cf95
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 0x1007a73b
test edi, edi
je 0x1007a73b
push str.GetModuleFileNameExW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1007a6e3
push str.GetModuleFileNameExW
push edi
call esi
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1007a73b
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 0x1007a73b
test ebx, ebx
je 0x1007a73b
cmp dword [ebp - 0x30], 0
je 0x1007a73b
push dword [ebp - 0x28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x1007a73b
push dword [ebp - 0x28]
push 8
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007a760
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.1010cbf1
lea esp, [ebp + 0x83c]
pop ebp
ret
push 0x424
lea eax, [ebp + 4]
push 0
push eax
call fcn.10124cd0
push 0x410
lea eax, [ebp + 0x428]
mov dword [ebp], 0x428
push 0
push eax
call fcn.10124cd0
add esp, 0x18
lea eax, [ebp]
push eax
push esi
call ebx
test eax, eax
je 0x1007a875
mov ebx, dword [ebp - 0x2c]
nop
xor eax, eax
mov word [ebp + 0x21e], ax
cmp word [ebp + 0x20], ax
je 0x1007a865
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 0x1007a865
add eax, eax
cmp eax, 0x410
jae 0x1007a888
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.10034aa0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x1007a851
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007a847
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a88d
push edx
push ecx
call fcn.1010cf95
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 0x1007a7a0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
jmp 0x1007a73d
call fcn.1010d489
call fcn.1012cb39
call fcn.1012cb39
int3