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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x41bab1
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x41ca7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
add esi, esi
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.00408040
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x40]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov ecx, 0x41ca90
call fcn.0040806c
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x38]
push edx
mov eax, dword [eax]
call dword [eax + 0x16c]
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ecx, esi
mov edx, dword [ebp - 0x1c]
call fcn.00404280
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 4]
call fcn.00408040
mov eax, dword [ebx + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
push 1
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov ecx, 0x41ca90
call fcn.0040806c
mov eax, dword [ebp - 0x4c]
push eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [eax]
call dword [eax + 0x16c]
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ecx, esi
mov edx, dword [ebp - 0x20]
call fcn.00404280
lea ecx, [ebp - 0x54]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 8]
call fcn.00408040
mov eax, dword [ebx + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x24], eax
push 2
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x60]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov ecx, 0x41ca90
call fcn.0040806c
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x58]
push edx
mov eax, dword [eax]
call dword [eax + 0x16c]
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ecx, esi
mov edx, dword [ebp - 0x24]
call fcn.00404280
lea ecx, [ebp - 0x64]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0xc]
call fcn.00408040
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x28], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x70]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov ecx, 0x41ca90
call fcn.0040806c
mov eax, dword [ebp - 0x6c]
push eax
lea edx, [ebp - 0x68]
push edx
mov eax, dword [eax]
call dword [eax + 0x16c]
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ecx, esi
mov edx, dword [ebp - 0x28]
call fcn.00404280
lea ecx, [ebp - 0x74]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0x10]
call fcn.00408040
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
push 1
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x80]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov ecx, 0x41ca90
call fcn.0040806c
mov eax, dword [ebp - 0x7c]
push eax
lea edx, [ebp - 0x78]
push edx
mov eax, dword [eax]
call dword [eax + 0x16c]
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ecx, esi
mov edx, dword [ebp - 0x2c]
call fcn.00404280
lea ecx, [ebp - 0x84]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x14]
call fcn.00408040
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x30], eax
push 2
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x90]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov ecx, 0x41ca90
call fcn.0040806c
mov eax, dword [ebp - 0x8c]
push eax
lea edx, [ebp - 0x88]
push edx
mov eax, dword [eax]
call dword [eax + 0x16c]
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ecx, esi
mov edx, dword [ebp - 0x30]
call fcn.00404280
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x41256c]
call fcn.00412970
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x41256c]
call fcn.00412970
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x41256c]
call fcn.00412970
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x98]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x98]
push eax
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x415794]
call fcn.00419820
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xa0]
push eax
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x415794]
call fcn.00419820
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 2
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xa8]
push eax
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x415794]
call fcn.00419820
lea ecx, [ebp - 0xac]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0xac]
lea eax, [ebx + 0x18]
call fcn.00408040
lea ecx, [ebp - 0xb0]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0xb0]
lea eax, [ebx + 0x1c]
call fcn.00408040
lea ecx, [ebp - 0xb4]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0xb4]
lea eax, [ebx + 0x20]
call fcn.00408040
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, 1
mov eax, dword [0x417bbc]
call fcn.00419874
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, 1
mov eax, dword [0x417bbc]
call fcn.00419874
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov ecx, 1
mov eax, dword [0x417bbc]
call fcn.00419874
lea ecx, [ebp - 0xb8]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0xb8]
lea eax, [ebx + 0x30]
call fcn.00408040
lea ecx, [ebp - 0xbc]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0xbc]
lea eax, [ebx + 0x34]
call fcn.00408040
lea ecx, [ebp - 0xc0]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0xc0]
lea eax, [ebx + 0x38]
call fcn.00408040
push 2
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xc8]
push eax
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xc4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push 0
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xd0]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xd0]
push eax
lea edx, [ebp - 0xcc]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xd8]
push eax
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xd4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
push 2
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xe0]
push eax
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 2
push 0
push 0
mov eax, dword [ebx + 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xe8]
push eax
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xe4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xf0]
push eax
lea edx, [ebp - 0xec]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
push 2
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0xf8]
push eax
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xf4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x100]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x100]
push eax
lea edx, [ebp - 0xfc]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0xfc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x108]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x104]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x104]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
lea ecx, [ebp - 0x10c]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x10c]
lea eax, [ebx + 0x3c]
call fcn.00408040
lea ecx, [ebp - 0x110]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x110]
lea eax, [ebx + 0x40]
call fcn.00408040
lea ecx, [ebp - 0x114]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x114]
lea eax, [ebx + 0x44]
call fcn.00408040
push 2
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x11c]
push eax
lea edx, [ebp - 0x118]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x118]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push 0
mov eax, dword [ebx + 0x3c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x124]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x124]
push eax
lea edx, [ebp - 0x120]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x120]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x128]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
push 2
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x134]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x130]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x130]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 2
push 0
push 0
mov eax, dword [ebx + 0x40]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x13c]
push eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x138]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x144]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x140]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x140]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
push 2
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x148]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x148]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x44]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x154]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x154]
push eax
lea edx, [ebp - 0x150]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x150]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x158]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x158]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
lea ecx, [ebp - 0x160]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x160]
lea eax, [ebx + 0x48]
call fcn.00408040
lea ecx, [ebp - 0x164]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x164]
lea eax, [ebx + 0x4c]
call fcn.00408040
lea ecx, [ebp - 0x168]
mov edx, esi
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x168]
lea eax, [ebx + 0x50]
call fcn.00408040
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push 0
mov eax, dword [ebx + 0x48]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 2
push 0
push 0
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.0041989c
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x41256c]
call fcn.00412970
mov edx, dword [ebp - 0x16c]
lea eax, [ebx + 0x54]
call fcn.00408040
push 2
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x174]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x170]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x170]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x178]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x178]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x17c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x17c]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x81
push 4
mov eax, dword [ebx + 0x54]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x184]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x184]
push eax
lea edx, [ebp - 0x180]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x180]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x18c]
push edx
mov eax, dword [eax]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x18c]
push eax
lea edx, [ebp - 0x188]
push edx
mov eax, dword [eax]
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x188]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, eax
mov eax, dword [0x4183c4]
pop ecx
call fcn.004198d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ca85
lea eax, [ebp - 0x18c]
call fcn.00408028
lea eax, [ebp - 0x188]
call fcn.00408028
lea eax, [ebp - 0x184]
call fcn.00408028
lea eax, [ebp - 0x180]
call fcn.00408028
lea eax, [ebp - 0x17c]
mov edx, dword [0x4129c8]
mov ecx, 3
call fcn.00406780
lea eax, [ebp - 0x170]
mov edx, dword [0x412478]
mov ecx, 5
call fcn.00406780
lea eax, [ebp - 0x15c]
call fcn.00408028
lea eax, [ebp - 0x158]
call fcn.00408028
lea eax, [ebp - 0x154]
call fcn.00408028
lea eax, [ebp - 0x150]
call fcn.00408028
lea eax, [ebp - 0x14c]
call fcn.00408028
lea eax, [ebp - 0x148]
call fcn.00408028
lea eax, [ebp - 0x144]
call fcn.00408028
lea eax, [ebp - 0x140]
call fcn.00408028
lea eax, [ebp - 0x13c]
call fcn.00408028
lea eax, [ebp - 0x138]
call fcn.00408028
lea eax, [ebp - 0x134]
call fcn.00408028
lea eax, [ebp - 0x130]
call fcn.00408028
lea eax, [ebp - 0x12c]
call fcn.00408028
lea eax, [ebp - 0x128]
call fcn.00408028
lea eax, [ebp - 0x124]
call fcn.00408028
lea eax, [ebp - 0x120]
call fcn.00408028
lea eax, [ebp - 0x11c]
call fcn.00408028
lea eax, [ebp - 0x118]
mov edx, dword [0x412478]
mov ecx, 4
call fcn.00406780
lea eax, [ebp - 0x108]
call fcn.00408028
lea eax, [ebp - 0x104]
call fcn.00408028
lea eax, [ebp - 0x100]
call fcn.00408028
lea eax, [ebp - 0xfc]
call fcn.00408028
lea eax, [ebp - 0xf8]
call fcn.00408028
lea eax, [ebp - 0xf4]
call fcn.00408028
lea eax, [ebp - 0xf0]
call fcn.00408028
lea eax, [ebp - 0xec]
call fcn.00408028
lea eax, [ebp - 0xe8]
call fcn.00408028
lea eax, [ebp - 0xe4]
call fcn.00408028
lea eax, [ebp - 0xe0]
call fcn.00408028
lea eax, [ebp - 0xdc]
call fcn.00408028
lea eax, [ebp - 0xd8]
call fcn.00408028
lea eax, [ebp - 0xd4]
call fcn.00408028
lea eax, [ebp - 0xd0]
call fcn.00408028
lea eax, [ebp - 0xcc]
call fcn.00408028
lea eax, [ebp - 0xc8]
call fcn.00408028
lea eax, [ebp - 0xc4]
mov edx, dword [0x412478]
mov ecx, 7
call fcn.00406780
lea eax, [ebp - 0xa8]
call fcn.00408028
lea eax, [ebp - 0xa4]
call fcn.00408028
lea eax, [ebp - 0xa0]
call fcn.00408028
lea eax, [ebp - 0x9c]
call fcn.00408028
lea eax, [ebp - 0x98]
call fcn.00408028
lea eax, [ebp - 0x94]
call fcn.00408028
lea eax, [ebp - 0x90]
call fcn.00408028
lea eax, [ebp - 0x8c]
call fcn.00408028
lea eax, [ebp - 0x88]
mov edx, dword [0x412478]
mov ecx, 2
call fcn.00406780
lea eax, [ebp - 0x80]
call fcn.00408028
lea eax, [ebp - 0x7c]
call fcn.00408028
lea eax, [ebp - 0x78]
mov edx, dword [0x412478]
mov ecx, 2
call fcn.00406780
lea eax, [ebp - 0x70]
call fcn.00408028
lea eax, [ebp - 0x6c]
call fcn.00408028
lea eax, [ebp - 0x68]
mov edx, dword [0x412478]
mov ecx, 2
call fcn.00406780
lea eax, [ebp - 0x60]
call fcn.00408028
lea eax, [ebp - 0x5c]
call fcn.00408028
lea eax, [ebp - 0x58]
mov edx, dword [0x412478]
mov ecx, 2
call fcn.00406780
lea eax, [ebp - 0x50]
call fcn.00408028
lea eax, [ebp - 0x4c]
call fcn.00408028
lea eax, [ebp - 0x48]
mov edx, dword [0x412478]
mov ecx, 2
call fcn.00406780
lea eax, [ebp - 0x40]
call fcn.00408028
lea eax, [ebp - 0x3c]
call fcn.00408028
lea eax, [ebp - 0x38]
mov edx, dword [0x412478]
mov ecx, 2
call fcn.00406780
lea eax, [ebp - 0xc]
mov edx, dword [0x412478]
mov ecx, 3
call fcn.00406780
ret