Function at 0x451390
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebp
push esi
push str.QueueDiagnosticsData:_Begin_n
push 2
mov ebp, ecx
push 0x40
call fcn.004048e0
mov esi, dword [esp + 0x28]
add esp, 0xc
test esi, esi
je 0x45172c
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x45172c
push 0x1e
mov ecx, ebp
call fcn.00451110
test eax, eax
je 0x45172c
mov eax, dword [ebp + 0x30]
push ebx
cmp eax, 0x32
push edi
jne 0x4514bf
push str.QueueDiagnosticsData:_Queue_FULL_n
push 1
push 0x40
call fcn.004048e0
lea eax, [ebp + 8]
add esp, 0xc
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov edi, dword [eax]
mov ecx, dword [ecx + 0xc]
test edi, edi
mov dword [esp + 0x1c], ecx
je 0x45143d
mov eax, dword [edi]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
sub eax, 0
je 0x45142a
dec eax
jne 0x451437
mov eax, dword [edi + 8]
test eax, eax
je 0x451437
jmp 0x451431
mov eax, dword [edi + 0xa]
test eax, eax
je 0x451437
push eax
call ebx
add esp, 4
push edi
call ebx
add esp, 4
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x30]
add edx, 4
dec ecx
mov dword [ebp + 0x10], edx
mov eax, edx
mov dword [ebp + 0x30], ecx
je 0x451456
cmp eax, dword [ebp + 0xc]
jne 0x4514bf
mov eax, dword [ebp + 0x14]
lea edx, [eax + 4]
mov dword [ebp + 0x14], edx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 0x30]
add esp, 4
test eax, eax
jne 0x4514a4
lea ebx, [ebp + 8]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
xor edi, edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
lea ebx, [ebp + 0x18]
mov dword [ebp + 0x18], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0x28]
push ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x4514bf
mov eax, dword [ebp + 0x14]
lea ebx, [ebp + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edi, ecx
lea edx, [ecx + 0x1000]
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x10
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x451723
mov edx, esi
mov dword [ebx], 0
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
sub eax, 0
mov dword [ebx + 0xa], 0
je 0x45153e
dec eax
jne 0x451583
xor eax, eax
mov ax, word [ebx + 6]
push eax
call edi
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx + 8], edi
je 0x451583
xor ecx, ecx
xor eax, eax
mov cx, word [ebx + 6]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebx + 8]
xor ecx, ecx
mov cx, word [esi + 6]
mov esi, dword [esi + 8]
jmp 0x451575
xor ecx, ecx
mov cx, word [ebx + 8]
push ecx
call edi
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx + 0xa], edi
je 0x451583
xor ecx, ecx
xor eax, eax
mov cx, word [ebx + 8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebx + 0xa]
xor ecx, ecx
mov cx, word [esi + 8]
mov esi, dword [esi + 0xa]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x30]
lea esi, [ebp + 4]
test eax, eax
je 0x4515c0
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x4515c0
lea ecx, [eax + 4]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x4515b3
test eax, eax
je 0x4515a7
mov dword [eax], ebx
mov ecx, esi
call fcn.00453380
jmp 0x451712
test eax, eax
je 0x451712
jmp 0x451710
push 0x1000
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esi + 0x2c]
add esp, 4
test eax, eax
jne 0x45163c
push 8
mov dword [esi + 0x28], 2
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x24], eax
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x24]
add esp, 4
add ecx, 4
add edi, 0x800
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.00453550
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 4]
mov edi, edx
mov edx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], edx
lea edi, [esi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
jmp 0x451703
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [edx + ecx*4 - 4]
cmp eax, ecx
jae 0x451684
add eax, 4
lea ecx, [esp + 0x10]
mov dword [esi + 0x20], eax
mov dword [eax], edi
mov edx, dword [esi + 0x20]
push edx
push edi
call fcn.00453550
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x451703
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov ecx, esi
sar eax, 2
inc eax
mov dword [esp + 0x24], eax
add eax, eax
push eax
call fcn.004534e0
mov ecx, dword [esp + 0x24]
push eax
lea ecx, [eax + ecx*4]
mov dword [esp + 0x28], ecx
mov dword [ecx], edi
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00453550
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
push eax
push edi
call fcn.00453550
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1c]
test eax, eax
lea ecx, [eax + 4]
mov dword [esi + 0x1c], ecx
je 0x451712
mov dword [eax], ebx
mov ecx, dword [esi + 0x2c]
inc ecx
mov dword [esi + 0x2c], ecx
mov edx, dword [ebp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
call fcn.00451160
pop edi
pop ebx
push str.QueueDiagnosticsData:_End_n
push 2
push 0x40
call fcn.004048e0
add esp, 0xc
pop esi
pop ebp
add esp, 0x10
ret 4