Function at 0x10038f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067d38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
lea esi, [edi + 0x30]
mov dword [ebp - 0x34], edi
push 0x18
mov dword [ebp - 0x28], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10064172
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0
sub eax, ecx
mov dword [ebp - 0x30], 0x2fc
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
sar eax, 2
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10038fe5
push eax
lea ecx, [ebp - 0x1c]
call fcn.100193b0
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x28]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
sub esp, 0xc
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x28], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x1003903e
push eax
mov ecx, esi
call fcn.100193b0
mov edi, dword [esi]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x28]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov edi, dword [ebp - 0x24]
mov dword [ecx + 4], eax
call fcn.10013080
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x10039234
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x10039234
lea ecx, [edi + 0x30]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov word [edi + 0x24], ax
mov dword [edi + 0x28], eax
mov byte [edi + 0x2c], al
call fcn.1003b0e0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, edi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
call fcn.10039270
cmp dword [0x1007fad0], 0
jne 0x100390f0
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100390f0
push 4
push eax
call esi
test eax, eax
jne 0x100390f0
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x5c
push eax
call esi
test eax, eax
jne 0x100390f0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x5c
mov dword [ebp - 0x24], eax
je 0x100390f0
mov eax, dword [eax]
push 4
push eax
mov dword [0x1007fad0], eax
call esi
test eax, eax
jne 0x100390f0
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x100396c0
cmp dword [0x1007fac8], 0
jne 0x10039140
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10039140
push 4
push eax
call esi
test eax, eax
jne 0x10039140
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x6c
push eax
call esi
test eax, eax
jne 0x10039140
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x6c
mov dword [ebp - 0x24], eax
je 0x10039140
mov eax, dword [eax]
push 4
push eax
mov dword [0x1007fac8], eax
call esi
test eax, eax
jne 0x10039140
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10039760
cmp dword [0x1007fac0], 0
jne 0x10039190
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10039190
push 4
push eax
call esi
test eax, eax
jne 0x10039190
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x7c
push eax
call esi
test eax, eax
jne 0x10039190
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x7c
mov dword [ebp - 0x24], eax
je 0x10039190
mov eax, dword [eax]
push 4
push eax
mov dword [0x1007fac0], eax
call esi
test eax, eax
jne 0x10039190
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10039ef0
cmp dword [0x1007fab8], 0
jne 0x100391e4
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100391e4
push 4
push eax
call esi
test eax, eax
jne 0x100391e4
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x84
push eax
call esi
test eax, eax
jne 0x100391e4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x84
mov dword [ebp - 0x24], eax
je 0x100391e4
mov eax, dword [eax]
push 4
push eax
mov dword [0x1007fab8], eax
call esi
test eax, eax
jne 0x100391e4
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1003a600
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10039217
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1003920d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039263
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064164
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov dword [edi], 0
test edx, edx
je 0x10039217
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1003920d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003920d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3