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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ecb1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], 0xff
mov dword [esi + 0x90], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
push 0x24
mov byte [ebp - 4], 7
mov dword [esi], ebx
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4ae12e
mov ecx, eax
call fcn.00412010
jmp 0x4ae130
xor eax, eax
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 7
call fcn.0040cd60
mov ecx, 0x553818
call fcn.004175a0
mov eax, dword [0x552af4]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x14], ecx
mov ecx, 0x553818
call fcn.004175a0
mov edx, dword [0x552af4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x4ae173
xor ecx, ecx
jmp 0x4ae189
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x4ae17f
mov edx, dword [ecx + 0xc]
jmp 0x4ae181
xor edx, edx
mov ecx, dword [esi + 0xc]
imul ecx, edx
add ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push 1
push ebx
push edx
push eax
call fcn.0040fb20
cmp al, bl
jne 0x4ae1b2
push 0x533160
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 1
call fcn.004f4775
push 0x24
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4ae1d0
mov ecx, eax
call fcn.00412010
jmp 0x4ae1d2
xor eax, eax
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.0040cd60
mov ecx, 0x553818
call fcn.004175a0
mov edx, dword [0x552af4]
mov eax, dword [edx + 0x1c]
mov ecx, 0x553818
mov dword [ebp - 0x18], eax
call fcn.004175a0
mov ecx, dword [0x552af4]
mov eax, dword [esi + 0x20]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x14], edx
cmp eax, ebx
jne 0x4ae216
xor ecx, ecx
jmp 0x4ae22c
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x4ae222
mov edx, dword [ecx + 0xc]
jmp 0x4ae224
xor edx, edx
mov ecx, dword [esi + 0x24]
imul ecx, edx
add ecx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 1
push ebx
push eax
push edx
call fcn.0040fb20
cmp al, bl
jne 0x4ae255
push 0x533160
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 1
call fcn.004f4775
push 0x24
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x4ae273
mov ecx, eax
call fcn.00412010
jmp 0x4ae275
xor eax, eax
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 7
call fcn.0040cd60
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
mov edx, dword [ecx + 0x1c]
mov ecx, 0x553818
mov dword [ebp - 0x18], edx
call fcn.004175a0
mov eax, dword [0x552af4]
mov ecx, dword [eax + 0x18]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x14], ecx
cmp eax, ebx
jne 0x4ae2b8
xor ecx, ecx
jmp 0x4ae2ce
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
je 0x4ae2c4
mov edx, dword [ecx + 0xc]
jmp 0x4ae2c6
xor edx, edx
mov ecx, dword [esi + 0x30]
imul ecx, edx
add ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push 1
push 1
push edx
push eax
call fcn.0040fb20
cmp al, bl
jne 0x4ae2f8
push 0x533160
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 1
call fcn.004f4775
push 0x80
call fcn.004f4b27
add esp, 4
cmp eax, ebx
je 0x4ae314
mov dword [eax], vtable.Graphics::CDirtyRect.0
mov dword [eax + 0x7c], ebx
jmp 0x4ae316
xor eax, eax
push eax
lea ecx, [esi + 0x48]
call fcn.00430a50
lea ecx, [esi + 0x38]
call fcn.004762a0
mov ecx, 0x553818
mov byte [esi + 0x94], 1
call fcn.004175a0
mov edx, dword [0x552af4]
mov edi, dword [edx + 0x1c]
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
mov ecx, dword [ecx + 0x18]
xor eax, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret