Function at 0x419450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov dword [ebp - 0x28], edx
mov ecx, 0xc
mov edx, dword [0x454e88]
push edi
call fcn.00411890
push 0x1f40
push 4
push dword [0x454e50]
mov dword [ebp - 8], eax
mov dword [eax], 0
mov dword [eax + 4], 0x7d0
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ecx + 8], eax
xor eax, eax
mov ecx, dword [0x4552f0]
mov ebx, dword [ecx + 0x10]
movzx edi, word [ecx + 0x24]
add ebx, dword [0x4552ec]
cmp ax, di
jae 0x4194c4
movzx eax, dx
shl eax, 6
cmp dword [eax + ebx + 4], 2
je 0x4194c4
inc edx
cmp dx, di
jb 0x4194b1
xor ecx, ecx
xor eax, eax
cmp cx, di
jae 0x4194e4
lea ecx, [ecx]
movzx esi, ax
shl esi, 6
add esi, ebx
cmp dword [esi + 4], 0xb
je 0x4194f5
inc eax
cmp ax, di
jb 0x4194d0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], 0x18
jne 0x41995d
cmp dword [esi + 0x3c], ecx
jne 0x41995d
push 0
push 0x18
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.004440a0
mov ecx, dword [esi + 0x18]
add ecx, dword [0x4552ec]
mov dword [ebp - 0x10], ecx
movzx ecx, word [esi + 0x28]
shl ecx, 6
mov dword [ebp - 4], edx
mov edx, 0x6fffffff
mov dword [ebp - 0x20], eax
mov ecx, dword [ecx + ebx + 0x18]
add ecx, dword [0x4552ec]
mov dword [ebp - 0xc], ecx
call fcn.004193a0
mov dword [ebp - 0x24], eax
xor edx, edx
lea esp, [esp]
movzx ecx, dx
shl ecx, 6
cmp dword [ecx + ebx + 4], 0x6ffffffe
je 0x419568
inc edx
cmp dx, di
jb 0x419550
jmp 0x41957b
mov ebx, dword [ecx + ebx + 0x18]
add ebx, dword [0x4552ec]
mov dword [ebp - 0x14], ebx
jne 0x419688
xor esi, esi
cmp dword [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
jb 0x419906
ja 0x4195a1
cmp dword [ebp - 0x20], eax
jbe 0x419906
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
jmp 0x4195b0
lea eax, [eax + eax*2]
cmp word [edx + eax*8 + 6], 0
lea edi, [edx + eax*8]
jne 0x41977c
push 0x218
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x218
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0042b2e0
mov byte [ebx], 1
add esp, 0xc
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov al, byte [edi + 4]
mov byte [ebx + 1], al
add ebx, 0x18
mov ecx, dword [edi]
add ecx, dword [ebp - 0xc]
mov edi, ecx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x419618
sub edi, edx
test ebx, ebx
je 0x41963d
lea eax, [edi + 1]
cmp eax, 0x100
ja 0x41963d
push ebx
mov edx, edi
call fcn.00412960
xor eax, eax
mov word [ebx + edi*2], ax
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x4198a5
test esi, esi
je 0x4198a5
mov edi, dword [esi]
xor ecx, ecx
test edi, edi
je 0x4198a5
mov eax, dword [ebp - 0x14]
movzx ebx, word [edx + eax*2]
mov eax, dword [esi + 8]
jmp 0x419670
mov edx, dword [eax]
cmp word [edx], bx
je 0x419750
inc ecx
add eax, 4
cmp ecx, edi
jb 0x419670
jmp 0x4198a5
mov edx, dword [0x454e88]
mov ecx, 0xc
call fcn.00411890
push 0x28
mov esi, eax
push 4
push dword [0x454e50]
mov dword [esi], 0
mov dword [esi + 4], 0xa
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
lea ebx, [ebx]
mov edi, dword [ebx + 8]
add edi, ebx
push 0xc
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov cx, word [edi + 6]
mov eax, dword [ebp - 0x14]
mov word [ebx], cx
mov ecx, dword [edi + 8]
add ecx, dword [ebp - 0xc]
mov dword [ebx + 4], ecx
mov eax, dword [eax + 4]
add eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x419725
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push dword [esi + 8]
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [esi]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x419738
add edi, eax
jmp 0x4196c5
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x41957d
add ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x4196c0
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4198a5
mov ebx, dword [ebp - 0x18]
mov edi, ecx
add ebx, 0x118
lea edx, [edi + 1]
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x419770
jmp 0x419887
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
je 0x419825
mov al, byte [edi + 4]
and al, 0xf
cmp al, 3
je 0x4198e1
push 0x218
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x218
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0042b2e0
mov byte [ebx], 2
add esp, 0xc
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov al, byte [edi + 4]
mov byte [ebx + 1], al
add ebx, 0x18
mov ecx, dword [edi]
add ecx, dword [ebp - 0xc]
mov edi, ecx
lea edx, [edi + 1]
jmp 0x4197f0
mov al, byte [edi]
inc edi
test al, al
jne 0x4197f0
sub edi, edx
test ebx, ebx
je 0x419815
lea eax, [edi + 1]
cmp eax, 0x100
ja 0x419815
push ebx
mov edx, edi
call fcn.00412960
xor eax, eax
mov word [ebx + edi*2], ax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
call fcn.00413180
jmp 0x4198db
push 0x218
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x218
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0042b2e0
mov byte [ebx], 4
add esp, 0xc
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov al, byte [edi + 4]
mov byte [ebx + 1], al
add ebx, 0x18
mov ecx, dword [edi]
add ecx, dword [ebp - 0xc]
mov edi, ecx
lea edx, [edi + 1]
jmp 0x419880
mov al, byte [edi]
inc edi
test al, al
jne 0x419880
sub edi, edx
test ebx, ebx
je 0x4198a5
lea eax, [edi + 1]
cmp eax, 0x100
ja 0x4198a5
push ebx
mov edx, edi
call fcn.00412960
xor eax, eax
mov word [ebx + edi*2], ax
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x4198d0
add eax, eax
mov dword [ebx + 4], eax
shl eax, 2
push eax
push dword [ebx + 8]
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [ebx]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + ecx*4], edx
inc dword [ebx]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x14], eax
adc edi, 0
mov dword [ebp - 0x1c], edi
cmp edi, ecx
jb 0x4195b0
ja 0x419906
cmp eax, dword [ebp - 0x20]
jb 0x4195b0
test esi, esi
je 0x4194e4
xor edi, edi
cmp dword [esi], edi
jbe 0x419935
mov ebx, dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea ebx, [ebx]
mov eax, dword [esi + 8]
push dword [eax + edi*4]
push 0
push dword [0x454e50]
call ebx
inc edi
cmp edi, dword [esi]
jb 0x419920
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4194e4
call fcn.00411970
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret