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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6bab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xcc], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x134], 0
movups xmmword [esi + 0x13c], xmm0
movq qword [esi + 0x14c], xmm0
mov dword [esi + 0x154], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 0
xor eax, eax
mov dword [esi + 0x1d0], 0
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0
mov dword [esi + 0x204], 0
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 0
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], eax
mov dword [esi + 0x228], eax
mov dword [esi + 0x224], eax
mov dword [esi + 0x22c], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x230], eax
mov dword [esi + 0x238], eax
lea ecx, [esi + 0x248]
push eax
call fcn.10053080
mov byte [ebp - 4], 4
lea eax, [esi + 0x2fc]
mov ecx, 2
nop word [eax + eax]
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10056a90
push 0x328
push ecx
push esi
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebx + 0xc]
add esp, 0xc
mov ecx, edi
call fcn.10054dc0
mov edx, edi
mov dword [esi], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10056ad3
sub edx, ecx
mov ecx, edi
push 0
lea eax, [edx + 1]
xor edx, edx
mov dword [esi + 0x4c], eax
call fcn.10054fd0
mov dword [esi + 4], eax
add esp, 4
mov edi, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc8]
cmp edi, ecx
jne 0x10056b68
inc edi
test ecx, ecx
je 0x10056b13
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10056b18
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10056b68
lea ecx, [edi*4]
call fcn.100575c0
mov edx, dword [esi + 0xcc]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x10056b5c
mov ecx, dword [esi + 0xc4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0xcc]
add esp, 0xc
call fcn.100575e0
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xcc], eax
mov dword [esi + 0xc8], edi
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xc4]
mov eax, dword [esi + 4]
push ecx
push str.MOVE
mov dword [ecx + edx*4], eax
mov ecx, esi
inc dword [esi + 0xc4]
call fcn.10056ce0
mov dword [esi + 0x50], eax
lea ecx, [esi + 0x248]
mov eax, dword [ebx + 8]
add eax, 0x2f5c
mov dword [esi + 0x244], ecx
mov dword [esi + 0x68], 0x7f7fffff
mov dword [esi + 0x6c], 0x7f7fffff
mov dword [esi + 0x70], 0x3f000000
mov dword [esi + 0x74], 0x3f000000
mov word [esi + 0xa4], 0xffff
mov dword [esi + 0xa8], 0xffffffff
mov word [esi + 0xb1], 0xf0f
mov byte [esi + 0xb0], 0xf
mov dword [esi + 0xbc], 0x7f7fffff
mov dword [esi + 0xc0], 0x7f7fffff
mov dword [esi + 0xb4], 0x7f7fffff
mov dword [esi + 0xb8], 0x7f7fffff
mov dword [esi + 0x218], 0xffffffff
mov dword [esi + 0x21c], 0xbf800000
mov dword [esi + 0x23c], 0x3f800000
mov dword [esi + 0x240], 0xffffffff
mov dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0x244]
mov eax, dword [esi]
mov dword [ecx + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8