Function at 0x11109bc0
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118abc3
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x154], edi
mov word [edi + 0x30], 1
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi], 0x111b64cc
push 0x7d8
mov dword [ebp - 4], ebx
mov dword [0x111f16c0], 0xffffffff
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x11109c3d
mov ecx, eax
call fcn.11108120
mov esi, eax
jmp 0x11109c3f
xor esi, esi
mov dword [edi + 0x24], esi
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xd0], eax
mov eax, 1
mov dword [esi], edi
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0x294], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0x330], ebx
mov eax, dword [0x111b3f34]
mov cl, byte [0x111b3f38]
push 0x111b2a1c
push ebx
push 2
mov byte [ebp - 4], bl
mov dword [0x111f16a8], eax
mov byte [0x111f16ac], cl
call dword [sym.imp.KeRneL32.DLl_OpenEventA]
cmp eax, ebx
je 0x11109d61
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
push 0xf7
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KeRneL32.DLl_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x11109cc8
mov ecx, dword [0x111b64bc]
mov edx, dword [0x111b64c0]
mov dword [eax], ecx
mov cl, byte [0x111b64c4]
mov dword [eax + 4], edx
lea edx, [ebp - 0x110]
push edx
mov byte [eax + 8], cl
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov dword [ebp - 0x150], eax
cmp eax, ebx
je 0x11109d61
push 3
push ebx
push 4
call fcn.11145c70
add esp, 0xc
test eax, eax
je 0x11109d2a
mov eax, dword [ebp - 0x150]
push 0x111b64b4
push eax
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [esi + 0x330], eax
mov ecx, dword [ebp - 0x150]
push 0x111b64a8
push ecx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [esi + 0x118], eax
cmp eax, ebx
je 0x11109d54
mov edx, dword [ebp - 0x150]
mov dword [esi + 0x114], edx
jmp 0x11109d61
mov eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
push 0xd
mov dword [esi + 0x334], ebx
mov dword [esi + 0x338], ebx
call dword [sym.imp.Gdi32.Dll_GetStockObject]
lea ecx, [ebp - 0x14c]
push ecx
push 0x3c
push eax
call dword [sym.imp.Gdi32.Dll_GetObjectA]
xor edx, edx
cmp byte [ebp - 0x135], 0x81
lea eax, [edi + 0x3c]
sete dl
push eax
mov dword [esi + 0x398], edx
call dword [sym.imp.KeRneL32.DLl_InitializeCriticalSection]
push 0x111f160c
call dword [sym.imp.KeRneL32.DLl_InitializeCriticalSection]
push 0x30
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x11109dce
push ebx
mov ecx, eax
call fcn.110f4ab0
jmp 0x11109dd0
xor eax, eax
push ebx
push 1
push 0x111037d0
mov ecx, eax
mov byte [ebp - 4], bl
mov dword [esi + 0x3ec], eax
call fcn.11110040
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
call fcn.1109ee00
test eax, eax
je 0x11109e95
push 0x30
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x11109e1f
push 1
mov ecx, eax
call fcn.110f4ab0
jmp 0x11109e21
xor eax, eax
push ebx
push 1
push 0x111037d0
mov ecx, eax
mov byte [ebp - 4], bl
mov dword [esi + 0x3f0], eax
call fcn.11110040
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
push ebx
push 2
push 6
call fcn.11145c70
add esp, 0xc
test eax, eax
je 0x11109e95
push 0x30
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x11109e74
push 3
mov ecx, eax
call fcn.110f4ab0
jmp 0x11109e76
xor eax, eax
push ebx
push 1
push 0x111037d0
mov ecx, eax
mov byte [ebp - 4], bl
mov dword [esi + 0x3f4], eax
call fcn.11110040
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
cmp dword [0x111ee258], ebx
je 0x11109ea2
call fcn.110fa920
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret