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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], esp
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xdc], 0x524c90
lea eax, [esi + 0xd8]
mov ecx, dword fs:[0]
mov dword [esi + 0xd8], ecx
mov dword fs:[0], eax
lea eax, [esi + 8]
mov byte [esi + 6], 1
mov dword [esi + 0xe0], 1
push eax
call fcn.0056da90
add esp, 4
movsd xmm2, qword [esi + 0x1a]
movsd xmm1, qword [esi + 0x22]
movzx edx, word [esi + 0x4a]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
movsd xmm0, qword [esi + 0x12]
mov edi, dword [ebp + 8]
movsd qword [esi + 0x98], xmm2
movsd qword [esi + 0xa0], xmm1
movsd xmm2, qword [esi + 0x2a]
movsd xmm1, qword [esi + 0x32]
mov word [esi + 0xc8], dx
mov edx, eax
movsd qword [esi + 0x90], xmm0
xor edx, 3
or edx, ecx
mov dh, byte [esi + 0x10]
mov dl, byte [esi + 0x11]
movsd qword [esi + 0xa8], xmm2
movsd qword [esi + 0xb0], xmm1
movsd xmm2, qword [esi + 0x3a]
movsd xmm1, qword [esi + 0x42]
movsd qword [esi + 0xb8], xmm2
movsd qword [esi + 0xc0], xmm1
jne 0x5249aa
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov word [edi + 8], 0x100
mov dword [esi + 0xe0], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi], 3
call fcn.0040b460
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xe0], 0xffffffff
call fcn.0040b170
mov eax, dword [esi + 0xd8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x524b35
mov edi, dword [ebp + 0xc]
movzx ebx, word [esi + 0x4c]
movsd xmm0, qword [esi + 0xc0]
movsd xmm1, qword [esi + 0x98]
mov dword [esi + 0xe0], 2
movzx edi, word [edi + 0x54]
test di, di
cmove edi, ebx
movzx ebx, byte [esi + 0x4f]
movsd qword [esi + 0x42], xmm0
movsd xmm0, qword [esi + 0xb8]
movsd qword [esi + 0x1a], xmm1
movsd qword [esi + 0x3a], xmm0
movsd xmm0, qword [esi + 0xb0]
mov byte [esi + 7], bl
movzx ebx, word [esi + 0xc8]
movsd qword [esi + 0x32], xmm0
movsd xmm0, qword [esi + 0xa8]
mov word [esi + 0x4a], bx
movsd qword [esi + 0x2a], xmm0
movsd xmm0, qword [esi + 0xa0]
movsd qword [esi + 0x22], xmm0
movsd xmm0, qword [esi + 0x90]
movsd qword [esi + 0x12], xmm0
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov byte [esi + 0x10], dh
mov byte [esi + 0x11], dl
movzx edx, byte [esi + 7]
mov word [esi + 0x4c], di
mov byte [esi + 0x4e], 3
movsd xmm1, qword [ecx + 0x30]
movsd xmm2, qword [ecx + 0x28]
movsd xmm0, qword [ecx + 0x38]
mov byte [esi + 0x4f], dl
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [esi + 0x78], xmm2
movsd xmm2, qword [ecx + 0x18]
movsd qword [esi + 0x88], xmm0
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esi + 0x68], xmm2
movsd xmm2, qword [ecx]
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [ecx + 8]
lea ecx, [esi + 8]
movsd qword [esi + 0x50], xmm2
movsd qword [esi + 0x58], xmm1
call fcn.0040b460
movsd xmm1, qword [esi + 0x80]
movsd xmm2, qword [esi + 0x78]
movsd xmm0, qword [esi + 0x88]
movsd qword [esi + 0x38], xmm1
movsd xmm1, qword [esi + 0x70]
movsd qword [esi + 0x30], xmm2
movsd xmm2, qword [esi + 0x68]
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [esi + 0x60]
movsd qword [esi + 0x20], xmm2
movsd xmm2, qword [esi + 0x50]
movsd qword [esi + 0x18], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 8], xmm2
movsd qword [esi + 0x10], xmm1
push 0x48
lea eax, [esi + 8]
push eax
mov edi, dword [ebp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xe0], 0xffffffff
call fcn.0040b170
mov eax, dword [esi + 0xd8]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret