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

Disassembly:
mov eax, 0x4616b5
call fcn.004571ec
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 0x14], esi
je 0x40b2f3
mov dword [esi + 0x10], 0x469b9c
mov dword [esi + 0x14], 0x469b94
mov dword [esi + 0x460], ebx
mov dword [esi + 0x464], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0040b640
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 + 0x44], ebx
push 1
lea eax, [ebp + 0xb]
pop edi
lea ecx, [esi + 0x58]
push edi
push eax
mov byte [ebp - 4], 7
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 8
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 9
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 0xa
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 0xb
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0xc
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x148]
mov byte [ebp - 4], 0xd
call fcn.0040487b
mov byte [ebp - 4], 0xe
push edi
lea eax, [ebp - 0xd]
lea ecx, [esi + 0x170]
push eax
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x198]
mov byte [ebp - 4], 0xf
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x1c0]
mov byte [ebp - 4], 0x10
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x1e8]
mov byte [ebp - 4], 0x11
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x210]
mov byte [ebp - 4], 0x12
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x238]
mov byte [ebp - 4], 0x13
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x260]
mov byte [ebp - 4], 0x14
call fcn.0040487b
lea ecx, [esi + 0x288]
lea eax, [ebp + 0xb]
push ebx
push eax
mov byte [ebp - 4], 0x15
mov dword [ecx], 0x469494
mov dword [ecx + 0x20], 0x46948c
call fcn.00404ab9
lea ecx, [esi + 0x2b0]
lea eax, [ebp - 0xd]
push ebx
push eax
mov byte [ebp - 4], 0x16
mov dword [ecx], 0x469494
mov dword [ecx + 0x20], 0x46948c
call fcn.00404ab9
mov cl, byte [ebp + 0xb]
lea eax, [esi + 0x2e8]
mov byte [esi + 0x2d9], bl
mov byte [esi + 0x2e0], bl
mov byte [esi + 0x2e1], bl
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x300], ebx
mov byte [ebp - 4], 0x18
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x304], ebx
mov byte [esi + 0x308], bl
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x30c]
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x334]
mov byte [ebp - 4], 0x19
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x35c]
mov byte [ebp - 4], 0x1a
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x384]
mov byte [ebp - 4], 0x1b
call fcn.0040487b
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0x3b4]
mov byte [ebp - 4], 0x1c
call fcn.0040487b
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [esi + 0x3e0]
mov byte [ebp - 4], 0x1d
call fcn.0040487b
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x408]
mov byte [ebp - 4], 0x1e
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0040b6c9
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x418]
push ebx
mov ecx, edi
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0x1f
mov eax, dword [eax + esi + 0x10]
mov dword [edi + 0xc], 0x469b88
mov dword [edi + 0x10], ebx
mov dword [ebp + 8], eax
mov dword [edi + 0x14], ebx
call fcn.0040beea
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [eax + edi + 0xc], ecx
mov al, byte [ebp + 0xb]
lea edi, [esi + 0x430]
push ebx
push ebx
mov ecx, edi
mov byte [ebp - 4], 0x20
mov byte [edi], al
call fcn.00405919
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [ebp - 4], 0x21
mov dword [esi + 0x43c], ebx
mov dword [esi + 0x440], ebx
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0x448]
mov dword [esi + 0x444], ebx
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0040b752
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x458], ebx
mov dword [esi + 0x45c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4