Function at 0x101bb2e0
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x10
push 4
mov esi, ecx
call fcn.10434a32
mov ebx, eax
lea edi, [esi + 0x3d8]
add esp, 8
test ebx, ebx
je 0x101bb73a
mov dword [ebx], 0xffffffff
mov dword [edi], ebx
test byte [0x11cd362c], 1
je 0x101bb40b
cmp dword [0x11cd3624], 0
jne 0x101bb335
mov ecx, 0x11cd3610
call fcn.100f5b00
test al, al
je 0x101bb40b
mov edx, dword [0x11cd3618]
xor eax, eax
test edx, edx
je 0x101bb40b
mov ecx, dword [0x11cd3614]
add ecx, 4
nop
cmp dword [ecx], 0xae6839
je 0x101bb365
inc eax
add ecx, 0x10
cmp eax, edx
jb 0x101bb350
jmp 0x101bb40b
mov ecx, dword [0x11cd3614]
add eax, eax
mov eax, dword [ecx + eax*8 + 0xc]
cmp eax, 0x18f3902d
jne 0x101bb40b
xor edi, edi
nop
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push 0x1046c610
push eax
call fcn.100cb130
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x101bb3a5
add eax, 0xc
jmp 0x101bb3aa
mov eax, 0x10469160
push 0
push 0
push 1
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 4]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x101bb3ea
test ecx, ecx
je 0x101bb3df
or eax, eax
lock xadd dword [ecx], eax
jne 0x101bb3df
push ecx
call fcn.10450877
add esp, 4
inc edi
cmp edi, 0x3e8
jb 0x101bb380
jmp 0x101bb400
test ecx, ecx
je 0x101bb400
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x101bb400
push ecx
call fcn.10450877
add esp, 4
cmp dword [ebx], 0xffffffff
lea edi, [esi + 0x3d8]
jne 0x101bb41d
push 4
push dword [edi]
call fcn.1045088a
add esp, 8
mov dword [edi], 0
mov eax, dword [edi]
test eax, eax
je 0x101bb434
push 0x1046c8e0
push 0
push esi
push eax
call fcn.101b8020
add esp, 0x10
mov eax, dword [0x11d21c18]
mov dword [esi + 0x3e0], eax
mov eax, dword [0x11d21c18]
test eax, eax
jne 0x101bb458
or dword [esi + 0x3ec], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1046c900
push eax
call edi
call eax
mov ebx, eax
mov eax, 0xa0
cmp ebx, eax
cmovbe ebx, eax
push ebx
call fcn.10450898
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x101bb740
push ebx
push 0
push eax
call fcn.10425c00
add esp, 0xc
push 0x1046c920
push dword [esi + 0x3e0]
call edi
mov ebx, dword [ebp - 4]
push ebx
call eax
add esp, 4
mov dword [esi + 0x3e4], ebx
push 0x1046aa70
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
push 0x1046ad70
push ebx
call edi
mov dword [esi + 0x420], eax
test eax, eax
je 0x101bb448
push 0x1046ad90
push ebx
call edi
mov dword [esi + 0x424], eax
test eax, eax
je 0x101bb448
push 0x1046c940
push ebx
call edi
mov dword [esi + 0x428], eax
test eax, eax
je 0x101bb448
push 0x1046c960
push ebx
call edi
mov dword [esi + 0x42c], eax
test eax, eax
je 0x101bb448
push 0x1046c980
push ebx
call edi
mov dword [esi + 0x430], eax
test eax, eax
je 0x101bb448
push 0x1046c9a0
push ebx
call edi
push 0x1046c9c0
push ebx
mov dword [esi + 0x434], eax
call edi
push 0x1046c9e0
push ebx
mov dword [esi + 0x438], eax
call edi
mov dword [esi + 0x43c], eax
test eax, eax
je 0x101bb448
push 0x1046ca00
push ebx
call edi
push 0x1046ca20
push ebx
mov dword [esi + 0x440], eax
call edi
mov dword [esi + 0x444], eax
test eax, eax
je 0x101bb448
push 0x1046ca40
push ebx
call edi
mov dword [esi + 0x448], eax
test eax, eax
je 0x101bb448
push 0x1046ca60
push ebx
call edi
mov dword [esi + 0x44c], eax
test eax, eax
je 0x101bb448
push 0x1046ca90
push ebx
call edi
push 0x1046cac0
push ebx
mov dword [esi + 0x450], eax
call edi
push 0x1046caf0
push ebx
mov dword [esi + 0x454], eax
call edi
mov dword [esi + 0x458], eax
test eax, eax
je 0x101bb448
push 0x10
push 0x3c
call fcn.10434a32
mov edi, eax
add esp, 8
test edi, edi
je 0x101bb724
push 0x3c
push 0
push edi
call fcn.10425c00
add esp, 0xc
mov dword [esi + 0x3e8], edi
push 0x3c
push 0
push edi
call fcn.10425c00
mov eax, dword [esi + 0x3e8]
add esp, 0xc
mov ecx, dword [0x11d0c5b8]
mov dword [eax], 0x101b81c0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 4], 0x101b81e0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 8], 0x101b8200
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x24], 0x101b8220
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x28], 0x101b8240
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0xc], 0x101b8260
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x10], 0x101b82c0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x14], 0x101b8380
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x34], 0x101b83a0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x38], 0x101b83c0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x1c], 0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x2c], 0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x30], 0
mov eax, dword [esi + 0x3e8]
mov dword [eax + 0x20], 0
mov eax, dword fs:[0x2c]
push dword [esi + 0x3e8]
push esi
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0x3e4]
mov byte [edi + 0x15], 1
mov eax, dword [eax]
call eax
add esp, 8
mov dword [esi + 0x3dc], eax
mov byte [edi + 0x15], 0
test eax, eax
jne 0x101bb44f
or dword [esi + 0x3ec], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x3e8], 0
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret