Function at 0x44ff40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 0x14]
mov edx, eax
and edx, 0x3f
cmp dl, 1
je 0x44ff90
and eax, 0x3f
mov dword [esp + 8], str.invalid_hash_type__d_in_cpp_macro_definition
mov dword [esp + 4], 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0043a680
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x44]
test byte [ecx + 0x15], 1
jne 0x4500c0
mov eax, dword [esp + 0x44]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 4]
movzx ebp, byte [ebx + 0x14]
lea esi, [eax + eax*4]
add esi, esi
test ebp, 1
je 0x450192
movzx ecx, word [ebx + 0x10]
add esi, 6
test ecx, ecx
je 0x44ffe1
mov edi, dword [ebx]
xor eax, eax
lea esi, [esi]
mov edx, dword [edi + eax*4]
add eax, 1
cmp eax, ecx
mov edx, dword [edx + 4]
lea esi, [esi + edx + 1]
jne 0x44ffd0
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x278], 0
je 0x450115
mov dword [esp], ebx
call fcn.00452a90
add esi, eax
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x114], esi
jb 0x4501a0
mov eax, dword [eax + 0x110]
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00445950
test byte [ebx + 0x14], 1
je 0x450085
lea edi, [eax + 1]
mov byte [eax], 0x28
movzx eax, word [ebx + 0x10]
xor esi, esi
cmp esi, eax
jae 0x45007f
mov edx, dword [ebx]
mov ecx, dword [esp + 0x40]
mov ebp, dword [edx + esi*4]
cmp ebp, dword [ecx + 0x2c0]
je 0x450066
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
add edi, dword [ebp + 4]
movzx eax, word [ebx + 0x10]
add esi, 1
cmp esi, eax
jae 0x4500f4
mov byte [edi], 0x2c
movzx eax, word [ebx + 0x10]
add edi, 1
cmp esi, eax
jb 0x450038
lea eax, [edi + 1]
mov byte [edi], 0x29
lea edi, [eax + 1]
mov byte [eax], 0x20
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x278], 0
jne 0x4501d0
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4501e3
mov eax, dword [esp + 0x40]
mov byte [edi], 0
mov eax, dword [eax + 0x110]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x228]
test edx, edx
je 0x44ff59
mov eax, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call edx
test al, al
jne 0x44ff9e
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 0x14]
jmp 0x44ff59
test byte [ebx + 0x14], 2
je 0x450034
mov byte [edi], 0x2e
mov byte [edi + 1], 0x2e
add edi, 3
mov byte [edi - 1], 0x2e
movzx eax, word [ebx + 0x10]
jmp 0x450034
and ebp, 0x20
jne 0x45028b
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x44fffc
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], edx
xor ebp, ebp
mov edx, eax
jmp 0x450178
mov eax, dword [edi + 0xc]
add esi, dword [eax + 4]
movzx eax, word [edi + 6]
mov edx, eax
and edx, 4
cmp dx, 1
sbb esi, 0xffffffff
test al, 8
lea edx, [esi + 3]
cmovne esi, edx
and eax, 1
cmp ax, 1
sbb esi, 0xffffffff
add ebp, 1
cmp ebp, dword [esp + 0x1c]
je 0x44fffc
mov edx, dword [ebx + 4]
mov eax, ebp
shl eax, 4
lea edi, [edx + eax]
cmp byte [edi + 4], 0x50
je 0x450140
mov dword [esp], edi
call fcn.00445910
add esi, eax
jmp 0x450146
add esi, 2
jmp 0x44ffe1
mov eax, dword [esp + 0x40]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x110]
mov dword [esp], eax
call fcn.0046eac0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], esi
jmp 0x450012
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00452af0
mov edi, eax
jmp 0x4500ab
test byte [ebx + 0x14], 0x20
mov eax, dword [ebx + 4]
jne 0x4502c9
xor ebp, ebp
mov ecx, ebx
mov esi, eax
mov ebx, ebp
mov ebp, ecx
jmp 0x450242
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004459b0
mov edi, eax
test byte [esi + 6], 8
je 0x450232
mov byte [edi], 0x20
mov byte [edi + 1], 0x23
add edi, 3
mov byte [edi - 1], 0x23
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jae 0x4500ab
mov esi, dword [ebp + 4]
mov eax, ebx
shl eax, 4
add esi, eax
movzx eax, word [esi + 6]
test al, 1
je 0x45025b
mov byte [edi], 0x20
movzx eax, word [esi + 6]
add edi, 1
test al, 4
je 0x450265
mov byte [edi], 0x23
add edi, 1
cmp byte [esi + 4], 0x50
jne 0x450200
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0xc]
add edi, dword [eax + 4]
jmp 0x45021e
mov ebp, dword [ebx + 0xc]
test ebp, ebp
je 0x4502fc
mov eax, dword [ebx + 4]
xor edx, edx
cmp byte [eax + 4], 0x26
lea ecx, [eax + 0x10]
mov edi, eax
je 0x44fffc
lea esi, [esi]
lea edi, [edi]
add edx, 1
cmp edx, ebp
je 0x4502fc
movzx eax, byte [ecx + 4]
add ecx, 0x10
cmp al, 0x26
jne 0x4502b0
mov eax, edi
jmp 0x45012c
cmp byte [eax + 4], 0x26
je 0x4500ab
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 0x10]
xor esi, esi
lea esi, [esi]
add esi, 1
cmp ebp, esi
je 0x4502fc
movzx ecx, byte [edx + 4]
add edx, 0x10
cmp cl, 0x26
jne 0x4502e0
mov dword [esp + 0x1c], esi
jmp 0x4501f0
mov dword [esp + 8], str.macro_real_token_count
mov dword [esp + 4], 0x4dc
mov dword [esp], str._builds_idf_crosstool_NG_.build_HOST_i686_w64_mingw32_xtensa_esp32s3_elf_src_gcc_libcpp_macro.c
call fcn.0048c200
nop
lea esi, [esi]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
ret