Function at 0x1002f180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100ba364]
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.1002e400
mov ecx, dword [0x100ee314]
mov dword [0x100ecbf0], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100ee318]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x100f3374], eax
call fcn.1008c9a0
call fcn.1001c420
mov esi, 0x100ba45c
nop word [eax + eax]
mov ecx, esi
call fcn.1002e5f0
add esi, 0x7d0
cmp esi, 0x100d985c
jne 0x1002f1f0
mov dword [0x100f32d4], ebx
mov dword [0x100f32d0], ebx
mov dword [0x100f32cc], ebx
call fcn.1007c640
mov ecx, 0x100f53e8
call fcn.100314c0
mov ecx, dword [0x100ee314]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x100ee37c], edi
test edi, edi
je 0x1002f42f
mov eax, dword [0x100ee72c]
mov dword [0x100ee72c], ebx
test eax, eax
je 0x1002f28e
push fcn.10017c50
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 4
push eax
call fcn.100991ed
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1009910b
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x100ee37c]
mov eax, dword [0x100ee724]
test eax, eax
je 0x1002f2a5
mov ecx, dword [0x100ee728]
mov dword [eax], ecx
mov edi, dword [0x100ee37c]
mov dword [0x100ee728], 0
mov dword [0x100ee730], 0
mov byte [0x100ee734], 0
mov dword [0x100ee724], edi
mov eax, dword [edi]
mov dword [0x100ee728], eax
test eax, eax
je 0x1002f3b2
xor esi, esi
nop word [eax + eax]
mov eax, dword [0x100ee728]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1002f30f
mov eax, dword [0x100eded8]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1002f30f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1002f30f
test eax, 0x100
jne 0x1002f30f
inc esi
jmp 0x1002f2e0
mov dword [0x100ee730], esi
test esi, esi
je 0x1002f3a2
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.10031b20
push eax
mov ecx, 0x100ee72c
call fcn.10031370
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1002f366
push fcn.10017c50
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.100991ed
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1009910b
add esp, 8
mov esi, dword [0x100ee72c]
test esi, esi
je 0x1002f3a2
mov eax, dword [0x100ee730]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x100ee728]
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 [0x100ee734], 1
jmp 0x1002f3b7
cmp byte [0x100ee734], 0
je 0x1002f3b2
mov eax, 0x2a
jmp 0x1002f3b7
mov eax, 0x29
cmp dword [0x100ee728], 0
je 0x1002f3ff
mov esi, dword [0x100ee72c]
test esi, esi
je 0x1002f3ff
cmp eax, dword [0x100ee730]
ja 0x1002f3ff
mov dword [esi + eax*4], 0x10086cd0
mov eax, dword [0x100ee728]
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 0x1002f3ff
and ebx, 0xfffffffe
xor eax, eax
cmp byte [0x100ee734], al
setne al
add eax, 0x30
cmp dword [0x100ee728], 0
je 0x1002f42f
mov esi, dword [0x100ee72c]
test esi, esi
je 0x1002f42f
cmp eax, dword [0x100ee730]
ja 0x1002f42f
mov dword [esi + eax*4], 0x10086c40
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.100990c9
mov esp, ebp
pop ebp
ret