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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea ebx, [ebp - 0x6c]
xor eax, eax
push ebp
push 0x531f48
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, edi
mov eax, esi
call fcn.005317b0
lea ecx, [ebp - 0xc]
mov edx, edi
mov eax, esi
call fcn.00531980
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x24]
call fcn.00411e38
mov esi, dword [ebp - 0x70]
call fcn.0041da1c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x74], esi
mov edx, dword [ebp - 0x74]
call fcn.0041d390
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [0x40d2c4]
call fcn.004081c0
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x28]
call fcn.00411e38
mov esi, dword [ebp - 0x78]
call fcn.0041da1c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x74], esi
mov edx, dword [ebp - 0x74]
call fcn.0041d390
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [0x40d2c4]
call fcn.004081c0
call fcn.0041da1c
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0041d390
mov eax, ebx
mov ecx, 8
mov edx, dword [0x54785c]
call fcn.00413a34
mov dword [ebx + 8], 3
mov eax, dword [ebp - 8]
call fcn.00407fb0
mov word [ebx + 0xc], ax
mov dword [ebx + 0x10], 0x40
mov eax, dword [ebp - 0xc]
call fcn.00407fb0
mov word [ebx + 0x14], ax
movzx eax, word [ebx + 0xc]
add eax, dword [ebx + 0x10]
jae 0x531d67
call fcn.00404cbc
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
call fcn.00407fb0
mov word [ebx + 0x1c], ax
movzx eax, word [ebx + 0x14]
add eax, dword [ebx + 0x18]
jae 0x531d84
call fcn.00404cbc
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x18]
call fcn.00407fb0
mov word [ebx + 0x24], ax
movzx eax, word [ebx + 0x1c]
add eax, dword [ebx + 0x20]
jae 0x531da1
call fcn.00404cbc
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x14]
call fcn.00407fb0
mov word [ebx + 0x2c], ax
movzx eax, word [ebx + 0x24]
add eax, dword [ebx + 0x28]
jae 0x531dbe
call fcn.00404cbc
mov dword [ebx + 0x30], eax
mov word [ebx + 0x34], 0
movzx eax, word [ebx + 0x24]
movzx edx, word [ebx + 0x2c]
add eax, edx
jno 0x531dd8
call fcn.00404cbc
mov dword [ebx + 0x38], eax
mov eax, dword [0x547858]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 8]
call fcn.004bc3e8
mov dword [ebx + 8], eax
movzx eax, word [ebx + 0xc]
call fcn.004bc3e4
mov esi, eax
mov word [ebx + 0xc], si
mov word [ebx + 0xe], si
mov eax, dword [ebx + 0x10]
call fcn.004bc3e8
mov dword [ebx + 0x10], eax
movzx eax, word [ebx + 0x14]
call fcn.004bc3e4
mov esi, eax
mov word [ebx + 0x14], si
mov word [ebx + 0x16], si
mov eax, dword [ebx + 0x18]
call fcn.004bc3e8
mov dword [ebx + 0x18], eax
movzx eax, word [ebx + 0x1c]
call fcn.004bc3e4
mov esi, eax
mov word [ebx + 0x1c], si
mov word [ebx + 0x1e], si
mov eax, dword [ebx + 0x20]
call fcn.004bc3e8
mov dword [ebx + 0x20], eax
movzx eax, word [ebx + 0x24]
call fcn.004bc3e4
mov esi, eax
mov word [ebx + 0x24], si
mov word [ebx + 0x26], si
mov eax, dword [ebx + 0x28]
call fcn.004bc3e8
mov dword [ebx + 0x28], eax
movzx eax, word [ebx + 0x2c]
call fcn.004bc3e4
mov esi, eax
mov word [ebx + 0x2c], si
mov word [ebx + 0x2e], si
mov eax, dword [ebx + 0x30]
call fcn.004bc3e8
mov dword [ebx + 0x30], eax
movzx eax, word [ebx + 0x34]
call fcn.004bc3e4
mov esi, eax
mov word [ebx + 0x34], si
mov word [ebx + 0x36], si
mov eax, dword [ebx + 0x38]
call fcn.004bc3e8
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x3c]
call fcn.004bc3e8
mov dword [ebx + 0x3c], eax
lea ecx, [ebp - 4]
mov eax, ebx
mov edx, 0x40
call fcn.004bf1c4
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004c0224
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.004c0224
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004c0224
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.004c0224
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.004c0224
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [0x518a3c]
call fcn.005175d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531f4f
lea eax, [ebp - 0x78]
call fcn.00406968
lea eax, [ebp - 0x70]
call fcn.00406968
lea eax, [ebp - 0x20]
mov edx, dword [0x40d2c4]
mov ecx, 8
call fcn.00407728
ret