Function at 0x10030150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea440
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101040b4]
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
xor ebx, ebx
mov dword [ebp - 0x30], ebx
call fcn.1002e240
mov ecx, dword [0x1013b4ac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013b4b0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x10122b60], eax
call fcn.100dbb80
call fcn.10021a40
mov esi, 0x1010fa5c
mov ecx, esi
call fcn.1002e430
add esi, 0x47c
cmp esi, 0x1012195c
jne 0x100301b4
mov eax, dword [0x10122f88]
mov dword [0x10122f8c], eax
mov dword [0x10140704], ebx
mov dword [0x10140700], ebx
mov dword [0x101406fc], ebx
call fcn.100c8b10
mov ecx, 0x10122f94
call fcn.100327d0
mov ecx, dword [0x1013b4ac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x1013b514], edi
test edi, edi
je 0x100303f4
mov eax, dword [0x1013b8e4]
mov dword [0x1013b8e4], ebx
test eax, eax
je 0x1003025c
push 0x1001ec30
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 4
push eax
call fcn.100e7876
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100e7838
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x1013b514]
mov eax, dword [0x1013b8dc]
test eax, eax
je 0x10030273
mov ecx, dword [0x1013b8e0]
mov dword [eax], ecx
mov edi, dword [0x1013b514]
mov dword [0x1013b8e0], 0
mov dword [0x1013b8e8], 0
mov byte [0x1013b8ec], 0
mov dword [0x1013b8dc], edi
mov eax, dword [edi]
mov dword [0x1013b8e0], eax
test eax, eax
je 0x10030377
xor esi, esi
mov eax, dword [0x1013b8e0]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x100302d4
mov eax, dword [0x1013b378]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x100302d4
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x100302d4
test eax, 0x100
jne 0x100302d4
inc esi
jmp 0x100302a5
mov dword [0x1013b8e8], esi
test esi, esi
je 0x10030367
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.10032bb0
push eax
mov ecx, 0x1013b8e4
call fcn.10032590
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1003032b
push 0x1001ec30
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.100e7876
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100e7838
add esp, 8
mov esi, dword [0x1013b8e4]
test esi, esi
je 0x10030367
mov eax, dword [0x1013b8e8]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x1013b8e0]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 0x2a
add esi, 4
mov dword [edi], esi
mov byte [0x1013b8ec], 1
jmp 0x1003037c
cmp byte [0x1013b8ec], 0
je 0x10030377
mov eax, 0x2a
jmp 0x1003037c
mov eax, 0x29
cmp dword [0x1013b8e0], 0
je 0x100303c4
mov esi, dword [0x1013b8e4]
test esi, esi
je 0x100303c4
cmp eax, dword [0x1013b8e8]
ja 0x100303c4
mov dword [esi + eax*4], 0x100d5ee0
mov eax, dword [0x1013b8e0]
mov ecx, dword [eax + 0xa4]
neg ecx
sbb ecx, ecx
add ecx, 2
mov ebx, ecx
mov eax, ecx
and ebx, 0xfffffffd
and al, 2
cmove ebx, ecx
test bl, 1
je 0x100303c4
and ebx, 0xfffffffe
xor eax, eax
cmp byte [0x1013b8ec], al
setne al
add eax, 0x30
cmp dword [0x1013b8e0], 0
je 0x100303f4
mov esi, dword [0x1013b8e4]
test esi, esi
je 0x100303f4
cmp eax, dword [0x1013b8e8]
ja 0x100303f4
mov dword [esi + eax*4], 0x100d5e50
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.100e7827
mov esp, ebp
pop ebp
ret