Function at 0x4c8700
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a2353
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x18], edi
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov cl, byte [esi + 0x14]
lea edx, [esi + 0x18]
mov byte [edi + 0x14], cl
lea eax, [edi + 0x18]
lea ebx, [edi + 0x68]
mov ecx, dword [edx]
mov dword [esp + 0x14], ebx
mov dword [eax], ecx
mov ebp, 0
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
lea ecx, [edi + 0x24]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
lea eax, [esi + 0x24]
mov edx, dword [esi + 0x24]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
lea edx, [edi + 0x30]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [esi + 0x30]
mov eax, dword [esi + 0x30]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esi + 0x3c]
mov dword [edi + 0x3c], edx
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x44], ecx
mov edx, dword [esi + 0x48]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x50], ecx
mov edx, dword [esi + 0x54]
mov dword [edi + 0x54], edx
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x5c], ecx
mov dl, byte [esi + 0x60]
mov byte [edi + 0x60], dl
mov al, byte [esi + 0x61]
mov byte [edi + 0x61], al
mov cl, byte [esi + 0x62]
mov byte [edi + 0x62], cl
mov edx, dword [esi + 0x64]
mov dword [edi + 0x64], edx
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x68]
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x30], edx
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
jne 0x4c880d
xor eax, eax
jmp 0x4c8820
lea ecx, [edx + edx*2]
shl ecx, 4
push ecx
call fcn.00402b20
mov edx, dword [esp + 0x34]
add esp, 4
lea edx, [edx + edx*2]
mov dword [ebx], eax
shl edx, 4
add edx, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x6c]
push edx
push eax
mov eax, dword [esi + 0x68]
push ecx
push eax
mov dword [esp + 0x38], ebp
call fcn.004c8ce0
add esp, 0x10
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x74]
lea ebx, [edi + 0x8c]
mov dword [edi + 0x74], eax
mov ecx, dword [esi + 0x78]
mov dword [edi + 0x78], ecx
mov edx, dword [esi + 0x7c]
mov dword [edi + 0x7c], edx
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov ecx, dword [esi + 0x84]
mov dword [edi + 0x84], ecx
mov edx, dword [esi + 0x88]
mov dword [edi + 0x88], edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], ebx
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x10], eax
sub eax, ecx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x28], 2
lea ecx, [eax + 1]
cmp ecx, 0xfffffffe
mov dword [esp + 0x30], ecx
ja 0x4c88ef
cmp ecx, ebp
jne 0x4c88d6
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, ecx
mov dword [ebx + 8], eax
jmp 0x4c88f6
push ecx
call fcn.00402b20
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], eax
add eax, ecx
mov dword [ebx + 8], eax
jmp 0x4c88f6
mov ecx, ebx
call fcn.00403040
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.0045a6b0
add esp, 0xc
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.00402970
lea ebx, [edi + 0x98]
mov dword [esp + 0x1c], ebx
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x14], eax
sub eax, ecx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x28], 4
lea ecx, [eax + 1]
cmp ecx, 0xfffffffe
mov dword [esp + 0x30], ecx
ja 0x4c8979
cmp ecx, ebp
jne 0x4c8960
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, ecx
mov dword [ebx + 8], eax
jmp 0x4c8980
push ecx
call fcn.00402b20
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], eax
add eax, ecx
mov dword [ebx + 8], eax
jmp 0x4c8980
mov ecx, ebx
call fcn.00403040
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.0045a6b0
add esp, 0xc
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.00402970
mov eax, dword [esi + 0xa8]
mov edx, dword [esi + 0xa4]
sub eax, edx
mov byte [esp + 0x28], 5
sar eax, 2
mov dword [esp + 0x30], eax
mov dword [edi + 0xa4], ebp
mov dword [edi + 0xa8], ebp
mov dword [edi + 0xac], ebp
jne 0x4c89d1
xor ebx, ebx
jmp 0x4c89e3
shl eax, 2
push eax
call fcn.00402b20
mov ebx, eax
mov eax, dword [esp + 0x34]
add esp, 4
lea ecx, [ebx + eax*4]
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], ecx
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xa4]
sub eax, ecx
sar eax, 2
shl eax, 2
push eax
push ecx
push ebx
mov dword [esp + 0x3c], eax
call fcn.0050a1c0
mov edx, dword [esp + 0x3c]
add esp, 0xc
add edx, ebx
mov dword [edi + 0xa8], edx
mov eax, dword [esi + 0xb0]
lea ebx, [edi + 0xfc]
mov dword [edi + 0xb0], eax
mov ecx, dword [esi + 0xb4]
mov dword [edi + 0xb4], ecx
mov edx, dword [esi + 0xb8]
mov dword [edi + 0xb8], edx
mov eax, dword [esi + 0xbc]
mov dword [edi + 0xbc], eax
mov ecx, dword [esi + 0xc0]
mov dword [edi + 0xc0], ecx
mov edx, dword [esi + 0xc4]
lea eax, [esi + 0xc8]
mov dword [edi + 0xc4], edx
lea ecx, [edi + 0xc8]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
lea edx, [edi + 0xd4]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [esi + 0xd4]
mov eax, dword [esi + 0xd4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esi + 0xe0]
mov dword [edi + 0xe0], edx
mov eax, dword [esi + 0xe4]
lea ecx, [esi + 0xe8]
mov dword [edi + 0xe4], eax
lea edx, [edi + 0xe8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esi + 0xf4]
mov dword [edi + 0xf4], edx
mov eax, dword [esi + 0xf8]
mov dword [edi + 0xf8], eax
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0xfc]
mov dword [esp + 0x10], eax
sub eax, ecx
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x30], ecx
push eax
mov ecx, ebx
mov byte [esp + 0x2c], 7
call fcn.00460a50
mov ebp, dword [ebx]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebp
call fcn.0050a1c0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub ebp, ecx
add esp, 0xc
add ebp, eax
mov ecx, ebx
mov dword [ebx + 4], ebp
call fcn.00402970
mov edx, dword [esi + 0x10c]
mov al, byte [esp + 0x30]
lea ecx, [esp + 0x30]
lea ebx, [edi + 0x108]
push ecx
mov ecx, dword [esi + 0x108]
sub edx, ecx
mov ecx, ebx
sar edx, 1
push edx
mov byte [esp + 0x30], 8
mov byte [esp + 0x38], al
call fcn.004c8c10
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0x108]
mov ebp, dword [ebx]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push ecx
push ebp
mov dword [esp + 0x20], eax
call fcn.0050a1c0
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, ebp
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x114]
mov dword [edi + 0x114], ecx
mov edx, dword [esi + 0x118]
mov dword [edi + 0x118], edx
mov eax, dword [esi + 0x11c]
mov dword [edi + 0x11c], eax
mov ecx, dword [esi + 0x120]
mov dword [edi + 0x120], ecx
mov ecx, dword [esp + 0x20]
mov dword [edi], 0x5aa664
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4