Function at 0x4016c0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43e111
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea esi, [ebp + 0x1e8]
mov dword [esp + 0x14], esi
push 1
lea ecx, [esi + 0x1dc]
mov byte [esp + 0x24], 0x1e
call fcn.00403320
mov eax, dword [esi + 0x1d4]
mov ecx, dword [esi + 0x1d0]
lea edi, [esi + 0x1cc]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x28], 0x1d
call fcn.00403370
mov eax, dword [edi + 4]
push eax
call fcn.0043359c
add esp, 4
lea ecx, [esi + 0x1bc]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [esp + 0x20], 0x1c
call fcn.004030c0
push 1
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x24], 0x1b
call fcn.00403320
push 1
lea ecx, [esi + 0x198]
mov byte [esp + 0x24], 0x1a
call fcn.00403320
push 1
lea ecx, [esi + 0x188]
mov byte [esp + 0x24], 0x19
call fcn.00403320
push 1
lea ecx, [esi + 0x178]
mov byte [esp + 0x24], 0x18
call fcn.00403320
mov byte [esp + 0x20], 0x17
push 1
lea ecx, [esi + 0x168]
call fcn.00403320
push 1
lea ecx, [esi + 0x158]
mov byte [esp + 0x24], 0x16
call fcn.00403320
push 1
lea ecx, [esi + 0x138]
mov byte [esp + 0x24], 0x15
call fcn.00403320
push 1
lea ecx, [esi + 0x128]
mov byte [esp + 0x24], 0x14
call fcn.00403320
push 1
lea ecx, [esi + 0x118]
mov byte [esp + 0x24], 0x13
call fcn.00403320
push 1
lea ecx, [esi + 0x108]
mov byte [esp + 0x24], 0x12
call fcn.00403320
push 1
lea ecx, [esi + 0xf8]
mov byte [esp + 0x24], 0x11
call fcn.00403320
push 1
lea ecx, [esi + 0xe8]
mov byte [esp + 0x24], 0x10
call fcn.00403320
push 1
lea ecx, [esi + 0xd8]
mov byte [esp + 0x24], 0xf
call fcn.00403320
push 1
lea ecx, [esi + 0xc8]
mov byte [esp + 0x24], 0xe
call fcn.00403320
push 1
lea ecx, [esi + 0xb8]
mov byte [esp + 0x24], 0xd
call fcn.00403320
push 1
lea ecx, [esi + 0xa8]
mov byte [esp + 0x24], 0xc
call fcn.00403320
push 1
lea ecx, [esi + 0x98]
mov byte [esp + 0x24], 0xb
call fcn.00403320
push 1
lea ecx, [esi + 0x88]
mov byte [esp + 0x24], 0xa
call fcn.00403320
push 1
lea ecx, [esi + 0x74]
mov byte [esp + 0x24], 9
call fcn.00403320
push 1
lea ecx, [esi + 0x64]
mov byte [esp + 0x24], 8
call fcn.00403320
push 1
lea ecx, [esi + 0x50]
mov byte [esp + 0x24], 7
call fcn.00403320
push 1
lea ecx, [esi + 0x40]
mov byte [esp + 0x24], 6
call fcn.00403320
push 1
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 5
call fcn.00403320
push 1
lea ecx, [esi + 0x20]
mov byte [esp + 0x24], 4
call fcn.00403320
mov byte [esp + 0x20], 3
push 1
lea ecx, [esi + 0x10]
call fcn.00403320
push 1
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.00403320
mov eax, dword [ebp + 0x1dc]
cmp eax, ebx
je 0x40192b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x401922
cmp al, 0xff
je 0x401922
dec al
mov byte [ecx], al
jmp 0x40192b
push ecx
call fcn.0043359c
add esp, 4
mov dword [ebp + 0x1dc], ebx
mov dword [ebp + 0x1e0], ebx
mov dword [ebp + 0x1e4], ebx
mov eax, dword [ebp + 0x1cc]
cmp eax, ebx
je 0x401964
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40195b
cmp al, 0xff
je 0x40195b
dec al
mov byte [ecx], al
jmp 0x401964
push ecx
call fcn.0043359c
add esp, 4
mov ecx, ebp
mov dword [ebp + 0x1cc], ebx
mov dword [ebp + 0x1d0], ebx
mov dword [ebp + 0x1d4], ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.0043a544
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret