Function at 0x100240a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f55b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1012be80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd4], 0
xorps xmm0, xmm0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x150], 0
movups xmmword [edi + 0x158], xmm0
mov dword [ebp - 4], 0
movups xmmword [edi + 0x168], xmm0
mov dword [edi + 0x178], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1cc], 0
movq qword [edi + 0x1d0], xmm0
mov dword [edi + 0x1d8], 0
mov word [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
xor eax, eax
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x250], eax
mov dword [edi + 0x254], eax
mov dword [edi + 0x268], eax
mov dword [edi + 0x264], eax
mov dword [edi + 0x26c], eax
mov dword [edi + 0x274], eax
mov dword [edi + 0x270], eax
mov dword [edi + 0x278], eax
lea ecx, [edi + 0x288]
push eax
call fcn.10022c40
mov dword [edi + 0x330], 0
mov dword [edi + 0x338], 0
push 0x35c
mov dword [edi + 0x334], 0
mov dword [edi + 0x33c], 0
mov dword [edi + 0x340], 0
mov dword [edi + 0x344], 0
push 0
mov dword [edi + 0x348], 0
push edi
mov byte [ebp - 4], 4
mov dword [edi + 0x34c], 0
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10024510
mov eax, dword [0x1012d8e4]
sub esi, ecx
test eax, eax
je 0x10024528
inc dword [eax + 0x370]
push dword [0x1012d908]
inc esi
push esi
call dword [0x1012adf8]
push esi
mov esi, dword [ebp + 0xc]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, esi
mov dword [edi], eax
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024550
sub ecx, edx
push 0
push 0
push esi
lea eax, [ecx + 1]
mov dword [edi + 0x44], eax
call fcn.1002bb90
mov dword [edi + 4], eax
add esp, 0xc
mov ecx, dword [edi + 0xc8]
mov esi, dword [edi + 0xc4]
cmp esi, ecx
jne 0x10024620
inc esi
test ecx, ecx
je 0x10024593
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10024598
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10024620
mov eax, dword [0x1012d8e4]
test eax, eax
je 0x100245b0
inc dword [eax + 0x370]
push dword [0x1012d908]
lea eax, [esi*4]
push eax
call dword [0x1012adf8]
mov edx, dword [edi + 0xcc]
add esp, 8
mov dword [ebp + 0xc], eax
test edx, edx
je 0x10024614
mov ecx, dword [edi + 0xc4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0xcc]
add esp, 0xc
test ecx, ecx
je 0x10024601
mov eax, dword [0x1012d8e4]
test eax, eax
je 0x10024601
dec dword [eax + 0x370]
push dword [0x1012d908]
push ecx
call dword [0x1012adfc]
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [edi + 0xcc], eax
mov dword [edi + 0xc8], esi
mov edx, dword [edi + 0xc4]
mov ecx, dword [edi + 0xcc]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc4]
mov ecx, dword [edi + 0xc4]
mov eax, dword [edi + 0xcc]
push dword [eax + ecx*4 - 4]
push 0
push str.MOVE
call fcn.1002bb90
mov ecx, dword [0x1012d8e4]
add esp, 0xc
cmp dword [ecx + 0x1aa4], eax
jne 0x1002466b
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x1002467a
mov byte [ecx + 0x1ae0], 1
mov dword [edi + 0x48], eax
lea ecx, [edi + 0x288]
mov eax, dword [ebp + 8]
add eax, 0x1938
mov dword [edi + 0x284], ecx
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov dword [edi + 0x68], 0x3f000000
mov dword [edi + 0x6c], 0x3f000000
mov word [edi + 0x98], 0xffff
mov dword [edi + 0x9c], 0xffffffff
mov dword [edi + 0xb0], 0xf
mov dword [edi + 0xac], 0xf
mov dword [edi + 0xa8], 0xf
mov dword [edi + 0xbc], 0x7f7fffff
mov dword [edi + 0xc0], 0x7f7fffff
mov dword [edi + 0xb4], 0x7f7fffff
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0x258], 0xffffffff
mov dword [edi + 0x25c], 0xbf800000
mov dword [edi + 0x27c], 0x3f800000
mov dword [edi + 0x280], 0xffffffff
mov dword [ecx + 0x2c], eax
mov ecx, dword [edi + 0x284]
mov eax, dword [edi]
mov dword [ecx + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8