Function at 0x100309b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d99c0]
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 esi, ecx
mov ecx, 0x100f6d80
call fcn.10030e80
mov ecx, dword [0x100f699c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100f69a0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi + 4], eax
call fcn.100aac30
mov ecx, 0x100f7858
call fcn.10092700
lea ecx, [esi + 0x3fc]
call fcn.10031e70
mov ecx, dword [0x100f699c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x100f6a08], edi
test edi, edi
je 0x10030c1a
mov eax, dword [0x100f6fdc]
xor esi, esi
mov dword [0x100f6fdc], esi
test eax, eax
je 0x10030a8c
push 0x1001fbd0
push dword [eax - 4]
mov dword [ebp - 4], esi
lea esi, [eax - 4]
push 4
push eax
call fcn.100adebc
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ae00f
mov edi, dword [0x100f6a08]
add esp, 8
mov esi, dword [0x100f6fdc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x100f6fd4]
test ecx, ecx
je 0x10030aa9
mov eax, dword [0x100f6fd8]
mov dword [ecx], eax
mov edi, dword [0x100f6a08]
mov esi, dword [0x100f6fdc]
xor cl, cl
mov dword [0x100f6fd8], 0
mov dword [0x100f6fe0], 0
mov byte [0x100f6fe4], cl
mov dword [0x100f6fd4], edi
mov eax, dword [edi]
mov dword [0x100f6fd8], eax
test eax, eax
je 0x10030bc7
xor esi, esi
nop dword [eax]
mov eax, dword [0x100f6fd8]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x10030b0f
mov eax, dword [0x100f68f0]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x10030b0f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x10030b0f
test eax, 0x100
jne 0x10030b0f
inc esi
jmp 0x10030ae0
mov dword [0x100f6fe0], esi
test esi, esi
je 0x10030bb0
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1002ed50
add esp, 8
mov ecx, 0x100f6fdc
push eax
call fcn.1002ebe0
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10030b6d
push 0x1001fbd0
push dword [ebx - 4]
lea esi, [ebx - 4]
mov dword [ebp - 4], 1
push 4
push ebx
call fcn.100adebc
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ae00f
add esp, 8
mov esi, dword [0x100f6fdc]
test esi, esi
je 0x10030bb6
mov eax, dword [0x100f6fe0]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x100f6fd8]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov cl, 1
add esi, 4
mov eax, 0x2a
mov dword [edi], esi
mov esi, dword [0x100f6fdc]
mov byte [0x100f6fe4], cl
jmp 0x10030bcc
mov esi, dword [0x100f6fdc]
mov cl, byte [0x100f6fe4]
test cl, cl
je 0x10030bc7
mov eax, 0x2a
jmp 0x10030bcc
mov eax, 0x29
cmp dword [0x100f6fd8], 0
je 0x10030bf4
test esi, esi
je 0x10030bf4
cmp eax, dword [0x100f6fe0]
ja 0x10030bf4
mov dword [esi + eax*4], 0x1009f1b0
mov cl, byte [0x100f6fe4]
mov esi, dword [0x100f6fdc]
xor eax, eax
test cl, cl
setne al
add eax, 0x30
cmp dword [0x100f6fd8], 0
je 0x10030c1a
test esi, esi
je 0x10030c1a
cmp eax, dword [0x100f6fe0]
ja 0x10030c1a
mov dword [esi + eax*4], 0x1009f210
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.100ae337
mov esp, ebp
pop ebp
ret