Function at 0x1002e6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a31a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100bf364]
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.1002d990
mov ecx, dword [0x1013e434]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013e438]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x100bf4c8], eax
call fcn.100916a0
call fcn.10081e40
mov ecx, 0x100bfbdc
call fcn.100309f0
mov ecx, dword [0x1013e434]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x1013e4a0], edi
test edi, edi
je 0x1002e925
mov eax, dword [0x1013e8f0]
mov dword [0x1013e8f0], ebx
test eax, eax
je 0x1002e78d
push 0x1001afa0
lea esi, [eax - 4]
mov dword [ebp - 4], ebx
push dword [esi]
push 4
push eax
call fcn.100a05cb
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100a04e9
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x1013e4a0]
mov eax, dword [0x1013e8e8]
test eax, eax
je 0x1002e7a4
mov ecx, dword [0x1013e8ec]
mov dword [eax], ecx
mov edi, dword [0x1013e4a0]
mov dword [0x1013e8ec], 0
mov dword [0x1013e8f4], 0
mov byte [0x1013e8f8], 0
mov dword [0x1013e8e8], edi
mov eax, dword [edi]
mov dword [0x1013e8ec], eax
test eax, eax
je 0x1002e8a8
xor esi, esi
mov eax, dword [0x1013e8ec]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1002e805
mov eax, dword [0x100d4cac]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1002e805
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1002e805
test eax, 0x100
jne 0x1002e805
inc esi
jmp 0x1002e7d6
mov dword [0x1013e8f4], esi
test esi, esi
je 0x1002e898
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.10030b60
push eax
mov ecx, 0x1013e8f0
call fcn.100308a0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1002e85c
push 0x1001afa0
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.100a05cb
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100a04e9
add esp, 8
mov esi, dword [0x1013e8f0]
test esi, esi
je 0x1002e898
mov eax, dword [0x1013e8f4]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x1013e8ec]
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 [0x1013e8f8], 1
jmp 0x1002e8ad
cmp byte [0x1013e8f8], 0
je 0x1002e8a8
mov eax, 0x2a
jmp 0x1002e8ad
mov eax, 0x29
cmp dword [0x1013e8ec], 0
je 0x1002e8f5
mov esi, dword [0x1013e8f0]
test esi, esi
je 0x1002e8f5
cmp eax, dword [0x1013e8f4]
ja 0x1002e8f5
mov dword [esi + eax*4], 0x1008c340
mov eax, dword [0x1013e8ec]
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 0x1002e8f5
and ebx, 0xfffffffe
xor eax, eax
cmp byte [0x1013e8f8], al
setne al
add eax, 0x30
cmp dword [0x1013e8ec], 0
je 0x1002e925
mov esi, dword [0x1013e8f0]
test esi, esi
je 0x1002e925
cmp eax, dword [0x1013e8f4]
ja 0x1002e925
mov dword [esi + eax*4], 0x1008c2b0
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.100a04d8
mov esp, ebp
pop ebp
ret