Function at 0x10107880
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c42ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x120
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc0]
call fcn.10107660
mov byte [ebp - 0xc0], 0
mov byte [ebp - 0xbf], 1
lea eax, [ebp - 0xc0]
push eax
call fcn.1000d300
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov al, byte [eax + 8]
mov byte [ebp - 0x20], al
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0xb0], eax
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
mov al, byte [ebp - 0x20]
mov byte [edx + 8], al
mov ecx, dword [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.1010f490
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
call fcn.1010f5a0
mov eax, dword [ebx + 0x80]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebx + 0x7c]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebx + 0x78]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x74]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebx + 0x70]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebx + 0x6c]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x68]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebx + 0x64]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebx + 0x60]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x5c]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebx + 0x58]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebx + 0x54]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x50]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebx + 0x4c]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x70], eax
mov edx, dword [ebx + 0x48]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x44]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, dword [ebx + 0x40]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebx + 0x3c]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x38]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ebx + 0x30]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x2c]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x90], eax
mov ecx, dword [ebx + 0x28]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x94], eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x20]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebx + 0x1c]
push ecx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0xa0], eax
mov edx, dword [ebx + 0x18]
push edx
call fcn.1000d300
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.1000d300
add esp, 4
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.1010f660
add esp, 0x74
mov dword [ebp - 0xac], eax
movzx eax, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 0xac]
push ecx
movzx edx, byte [ebp - 0x11]
push edx
lea ecx, [ebp - 0x30]
call fcn.1010f890
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebx + 8]
call fcn.1010c470
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100f6dc0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x7c