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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x5191c8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ba8
mov edi, dword [0x52a9f0]
xor eax, eax
push ebp
push 0x51968d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x5196a4
mov eax, dword [ebp - 4]
call fcn.00519b08
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, 0x5196b0
call fcn.00519b08
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408b1c
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0040474c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00408b1c
mov edx, dword [ebp - 0x18]
lea eax, [edi + 0x10]
call fcn.0040474c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00408b1c
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 0x20]
call fcn.0040474c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00408b1c
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0x18]
call fcn.0040474c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
call fcn.00408b1c
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0x28]
call fcn.0040474c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
call fcn.00408b1c
mov edx, dword [ebp - 0x28]
lea eax, [edi + 8]
call fcn.0040474c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
call fcn.00408b1c
mov edx, dword [ebp - 0x2c]
lea eax, [edi + 0x30]
call fcn.0040474c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
call fcn.00408b1c
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0x38]
call fcn.0040474c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
call fcn.00408b1c
mov edx, dword [ebp - 0x34]
lea eax, [edi + 0x40]
call fcn.0040474c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.00408b1c
mov edx, dword [ebp - 0x38]
lea eax, [edi + 0x48]
call fcn.0040474c
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
call fcn.00408b1c
mov edx, dword [ebp - 0x3c]
lea eax, [edi + 0x50]
call fcn.0040474c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
call fcn.00408b1c
mov edx, dword [ebp - 0x40]
lea eax, [edi + 0x58]
call fcn.0040474c
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
call fcn.00408b1c
mov edx, dword [ebp - 0x44]
lea eax, [edi + 0x60]
call fcn.0040474c
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, 0x5196b0
call fcn.00519b08
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408b1c
mov eax, dword [ebp - 8]
cmp byte [eax], 0x24
je 0x5193aa
mov eax, dword [ebp - 0x10]
call fcn.004058f8
mov esi, eax
test esi, esi
jl 0x5193aa
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + ebx*4]
mov edx, 0x5196bc
call fcn.00404a04
inc ebx
dec esi
jne 0x519390
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408b1c
mov eax, dword [ebp - 0x48]
call fcn.00409058
mov dword [edi + 0x64], eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00408b1c
mov eax, dword [ebp - 0x4c]
call fcn.00409058
mov dword [edi + 0x68], eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.00408b1c
mov eax, dword [ebp - 0x50]
call fcn.00409058
mov dword [edi + 0x6c], eax
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00408b1c
mov eax, dword [ebp - 0x54]
call fcn.00409058
mov dword [edi + 0x70], eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00408b1c
mov eax, dword [ebp - 0x58]
call fcn.00409058
mov dword [edi + 0x74], eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
call fcn.00408b1c
mov eax, dword [ebp - 0x5c]
call fcn.00409058
mov dword [edi + 0x78], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
call fcn.00408b1c
mov eax, dword [ebp - 0x60]
call fcn.00409058
mov dword [edi + 0x7c], eax
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
call fcn.00408b1c
mov eax, dword [ebp - 0x64]
call fcn.00409058
mov dword [edi + 0x80], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
call fcn.00408b1c
mov eax, dword [ebp - 0x68]
call fcn.00409058
mov dword [edi + 0x84], eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
call fcn.00408b1c
mov eax, dword [ebp - 0x6c]
call fcn.00409058
mov dword [edi + 0x88], eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, 0x5196b0
call fcn.00519b08
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408b1c
mov eax, dword [ebp - 8]
cmp byte [eax], 0x24
je 0x5194ff
mov eax, dword [ebp - 0x10]
call fcn.004058f8
mov esi, eax
test esi, esi
jl 0x5194ff
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + ebx*4]
mov edx, 0x5196bc
call fcn.00404a04
inc ebx
dec esi
jne 0x5194e5
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408b1c
mov eax, dword [ebp - 0x70]
call fcn.00409058
mov edx, dword [0x52a968]
mov dword [edx], eax
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408b1c
mov eax, dword [ebp - 0x74]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx], eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00408b1c
mov eax, dword [ebp - 0x78]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 8], eax
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.00408b1c
mov eax, dword [ebp - 0x7c]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00408b1c
mov eax, dword [ebp - 0x80]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 4], eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00408b1c
mov eax, dword [ebp - 0x84]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 0x10], eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
call fcn.00408b1c
mov eax, dword [ebp - 0x88]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 0x14], eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
call fcn.00408b1c
mov eax, dword [ebp - 0x8c]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 0x18], eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
call fcn.00408b1c
mov eax, dword [ebp - 0x90]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 0x1c], eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
call fcn.00408b1c
mov eax, dword [ebp - 0x94]
call fcn.00409058
mov edx, dword [0x52a7f0]
mov dword [edx + 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519694
lea eax, [ebp - 0x94]
mov edx, 0x21
call fcn.0040471c
lea eax, [ebp - 0x10]
mov edx, dword [0x495940]
mov ecx, 2
call fcn.004051f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040471c
ret