Function at 0x1002ddc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d4c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b9008]
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.1002c780
mov ecx, dword [0x10112028]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1011202c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x100b92e0], eax
call fcn.1008ff90
call fcn.1007fb20
mov ecx, 0x100b9a2c
call fcn.100302c0
mov ecx, dword [0x10112028]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
jne 0x1002de6d
lea edi, [ebx + 1]
mov esi, 0x100ce624
lea ebx, [edi + 0x3f]
mov ecx, dword [0x1011202c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test esi, esi
je 0x1002de5e
mov byte [esi + 0x848], 0
inc edi
add esi, 0x10a0
sub ebx, 1
jne 0x1002de45
mov ebx, dword [ebp - 0x30]
mov ecx, dword [0x10112028]
mov dword [0x100cd4c4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x10112090], edi
test edi, edi
je 0x1002e07f
mov eax, dword [0x101124e4]
mov dword [0x101124e4], 0
test eax, eax
je 0x1002dee3
push 0x1001a910
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 4
push eax
call fcn.1009b386
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1009b348
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x10112090]
mov eax, dword [0x101124dc]
test eax, eax
je 0x1002defa
mov ecx, dword [0x101124e0]
mov dword [eax], ecx
mov edi, dword [0x10112090]
mov dword [0x101124e0], 0
mov dword [0x101124e8], 0
mov byte [0x101124ec], 0
mov dword [0x101124dc], edi
mov eax, dword [edi]
mov dword [0x101124e0], eax
test eax, eax
je 0x1002e002
xor esi, esi
nop dword [eax]
mov eax, dword [0x101124e0]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1002df5f
mov eax, dword [0x100ce4cc]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1002df5f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1002df5f
test eax, 0x100
jne 0x1002df5f
inc esi
jmp 0x1002df30
mov dword [0x101124e8], esi
test esi, esi
je 0x1002dff2
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.100304e0
push eax
mov ecx, 0x101124e4
call fcn.1002ff20
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1002dfb6
push 0x1001a910
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.1009b386
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1009b348
add esp, 8
mov esi, dword [0x101124e4]
test esi, esi
je 0x1002dff2
mov eax, dword [0x101124e8]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x101124e0]
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 [0x101124ec], 1
jmp 0x1002e007
cmp byte [0x101124ec], 0
je 0x1002e002
mov eax, 0x2a
jmp 0x1002e007
mov eax, 0x29
cmp dword [0x101124e0], 0
je 0x1002e04f
mov esi, dword [0x101124e4]
test esi, esi
je 0x1002e04f
cmp eax, dword [0x101124e8]
ja 0x1002e04f
mov dword [esi + eax*4], 0x10089fe0
mov eax, dword [0x101124e0]
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 0x1002e04f
and ebx, 0xfffffffe
xor eax, eax
cmp byte [0x101124ec], al
setne al
add eax, 0x30
cmp dword [0x101124e0], 0
je 0x1002e07f
mov esi, dword [0x101124e4]
test esi, esi
je 0x1002e07f
cmp eax, dword [0x101124e8]
ja 0x1002e07f
mov dword [esi + eax*4], 0x10089f50
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.1009b337
mov esp, ebp
pop ebp
ret