Function at 0x10050da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a4b5
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1006b040]
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 ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xb4], ebx
lea edi, [ebx + 8]
mov byte [ebx], 0
mov dword [ebp - 0x30], edi
push 0x30
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10056caf
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov dword [ebp - 0x34], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10056caf
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
add edi, 0x28
push 0x3ec
mov dword [ebp - 0x34], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 3
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov ecx, esi
push 0x1007e060
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 4
lea edi, [ebx + 0x34]
push 0x3ec
mov dword [ebp - 0x34], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x34], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 5
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
push 0
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
movq qword [ebx + 0x44], xmm0
push 4
mov byte [ebx + 0x4c], 0
call fcn.10056caf
mov dword [eax], 0
mov dword [ebx + 0x48], eax
mov dword [ebp - 4], 7
lea edi, [ebx + 0x50]
mov dword [ebp - 0x34], edi
push 0x30
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10056caf
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
mov dword [edi + 8], 0
mov byte [ebp - 4], 8
lea esi, [edi + 0xc]
mov dword [ebp - 0x30], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10056caf
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 0xa
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
add edi, 0x28
push 0x3ec
mov dword [ebp - 0x30], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 0xb
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
mov ecx, esi
push 0x1007e060
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 0xc
lea edi, [ebx + 0x7c]
push 0x3ec
mov dword [ebp - 0x30], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 0xd
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
push 0
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
movq qword [ebx + 0x8c], xmm0
mov byte [ebx + 0x94], 0
push 4
call fcn.10056caf
mov dword [eax], 0
mov dword [ebx + 0x90], eax
add ebx, 0x98
mov dword [ebp - 0x34], ebx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 0x11
lea edi, [ebx + 0x38]
push 0x3ec
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebp - 0x30], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 0x12
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov ecx, esi
push 0x1007e060
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 0x13
lea edi, [ebx + 0x3c]
push 0x3ec
mov dword [ebp - 0x30], edi
call fcn.10056caf
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 0x14
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
push 0
push 0
push 0x1000
call fcn.1004af00
mov dword [edi], eax
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
movq qword [ebx + 0x4c], xmm0
push 4
mov word [ebx + 0x54], 1
call fcn.10056caf
add esp, 4
mov dword [eax], 0
mov dword [ebx + 0x50], eax
mov byte [ebp - 4], 0x16
mov ebx, dword [ebp - 0x38]
mov word [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov byte [ebx + 0x111], 0
call fcn.1004c8e0
push 0x11
mov dword [ebx + 0x114], eax
call fcn.100517a0
mov dword [ebx + 0x20], eax
lea ecx, [ebx + 0x24]
lea eax, [ebp - 0xb8]
cmp ecx, eax
je 0x10051186
mov eax, dword [ecx]
mov dword [ecx], 0
test eax, eax
je 0x10051186
push eax
call fcn.100573bd
add esp, 4
push 0x10
call fcn.100517a0
mov dword [ebx + 0x68], eax
lea ecx, [ebp - 0xc0]
lea eax, [ebx + 0x6c]
cmp eax, ecx
je 0x100511b2
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
je 0x100511b2
push ecx
call fcn.100573bd
add esp, 4
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x58], al
mov al, byte [ebp - 0x1b]
mov byte [ebp - 0x57], al
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0x56], al
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x55], al
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x54], al
mov al, byte [ebp - 0x17]
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x10064098
mov dword [ebp - 0x5c], 0x10051840
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x3c], eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x38], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x10051214
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x24], eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebx + 8]
call fcn.10052b90
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
je 0x10051244
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xec]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1005125b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [ebp - 0x18]
mov byte [ebp - 0xa8], al
mov al, byte [ebp - 0x17]
mov byte [ebp - 0xa7], al
mov al, byte [ebp - 0x16]
mov byte [ebp - 0xa6], al
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x10064168
mov dword [ebp - 0xac], 0x10051d60
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x8c], eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x38], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x8c]
test edx, edx
je 0x100512c6
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x24], eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebx + 0x50]
call fcn.100527b0
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x100512f6
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x114]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x10051313
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0xb0]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x80], al
mov al, byte [ebp - 0x17]
mov byte [ebp - 0x7f], al
mov al, byte [ebp - 0x16]
mov byte [ebp - 0x7e], al
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x7d], al
lea eax, [ebp - 0x88]
mov dword [ebp - 0x64], eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 0x88], 0x100640b4
mov dword [ebp - 0x84], 0x10051d80
mov dword [ebp - 0x7c], ebx
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x38], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x10051378
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x24], eax
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, eax
call fcn.100525d0
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x100513a7
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x13c]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100513c6
mov edx, dword [ecx]
lea eax, [ebp - 0x88]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [ebx + 0x4c], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualQuery]
jne 0x10051440
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebx + 0x20]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
je 0x100513f5
cmp eax, 0x20
je 0x100513f5
cmp eax, 0x40
je 0x100513f5
cmp eax, 0x80
jne 0x1005143b
push ecx
mov ecx, dword [ebx + 0x20]
lea edx, [ebx + 0x34]
call fcn.10045690
add esp, 4
test al, al
je 0x1005143b
mov eax, dword [ebx + 0x34]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x1005143b
push 1
lea ecx, [ebx + 8]
call fcn.10052d70
test al, al
mov eax, dword [sym.imp.KERNEL32.dll_VirtualQuery]
je 0x10051440
mov byte [ebx + 0x4c], 1
jmp 0x10051440
mov eax, dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp byte [ebx + 0x94], 0
jne 0x100514b3
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebx + 0x68]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
je 0x1005146d
cmp eax, 0x20
je 0x1005146d
cmp eax, 0x40
je 0x1005146d
cmp eax, 0x80
jne 0x100514b3
push ecx
mov ecx, dword [ebx + 0x68]
lea edx, [ebx + 0x7c]
call fcn.10045690
add esp, 4
test al, al
je 0x100514b3
mov eax, dword [ebx + 0x7c]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x100514b3
push 1
lea ecx, [ebx + 0x50]
call fcn.10052990
test al, al
mov eax, ebx
je 0x100514b5
mov byte [ebx + 0x94], 1
jmp 0x100514b5
mov eax, ebx
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.10056ca1
mov esp, ebp
pop ebp
ret