Function at 0x1003f720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c72e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100e7008]
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
xor ebx, ebx
mov dword [ebp - 0x30], ebx
call fcn.1003ea30
mov ecx, dword [0x101d0174]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101d0178]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi], eax
call fcn.100b8710
call fcn.100a9270
lea ecx, [esi + 0x7b4]
mov byte [0x101afb3c], bl
call fcn.10041d40
mov ecx, dword [0x101d0174]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x101d01e0], edi
test edi, edi
je 0x1003f98f
mov eax, dword [0x101d0614]
mov dword [0x101d0614], ebx
test eax, eax
je 0x1003f7f3
push fcn.10027ed0
lea esi, [eax - 4]
mov dword [ebp - 4], ebx
push dword [esi]
push 4
push eax
call fcn.100c5072
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100c4f90
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x101d01e0]
mov eax, dword [0x101d060c]
test eax, eax
je 0x1003f80a
mov ecx, dword [0x101d0610]
mov dword [eax], ecx
mov edi, dword [0x101d01e0]
mov dword [0x101d0610], 0
mov dword [0x101d0618], 0
mov byte [0x101d061c], 0
mov dword [0x101d060c], edi
mov eax, dword [edi]
mov dword [0x101d0610], eax
test eax, eax
je 0x1003f912
xor esi, esi
nop dword [eax]
mov eax, dword [0x101d0610]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1003f86f
mov eax, dword [0x101cf460]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1003f86f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1003f86f
test eax, 0x100
jne 0x1003f86f
inc esi
jmp 0x1003f840
mov dword [0x101d0618], esi
test esi, esi
je 0x1003f902
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.10042100
push eax
mov ecx, 0x101d0614
call fcn.100419a0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1003f8c6
push fcn.10027ed0
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.100c5072
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100c4f90
add esp, 8
mov esi, dword [0x101d0614]
test esi, esi
je 0x1003f902
mov eax, dword [0x101d0618]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x101d0610]
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 [0x101d061c], 1
jmp 0x1003f917
cmp byte [0x101d061c], 0
je 0x1003f912
mov eax, 0x2a
jmp 0x1003f917
mov eax, 0x29
cmp dword [0x101d0610], 0
je 0x1003f95f
mov esi, dword [0x101d0614]
test esi, esi
je 0x1003f95f
cmp eax, dword [0x101d0618]
ja 0x1003f95f
mov dword [esi + eax*4], 0x100b17c0
mov eax, dword [0x101d0610]
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 0x1003f95f
and ebx, 0xfffffffe
xor eax, eax
cmp byte [0x101d061c], al
setne al
add eax, 0x30
cmp dword [0x101d0610], 0
je 0x1003f98f
mov esi, dword [0x101d0614]
test esi, esi
je 0x1003f98f
cmp eax, dword [0x101d0618]
ja 0x1003f98f
mov dword [esi + eax*4], 0x100b1350
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.100c4f7f
mov esp, ebp
pop ebp
ret