Function at 0x431350
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 0x4313a0
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.00436be0
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 0x4314d0
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 0x4315a2
movzx ecx, word [ebx + 0x10]
add esi, 6
test ecx, ecx
je 0x4313f1
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 0x4313e0
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x262], 0
je 0x431525
mov dword [esp], ebx
call fcn.00432b30
add esi, eax
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x114], esi
jb 0x4315b0
mov eax, dword [eax + 0x110]
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00440ce0
test byte [ebx + 0x14], 1
je 0x431495
lea edi, [eax + 1]
mov byte [eax], 0x28
movzx eax, word [ebx + 0x10]
xor esi, esi
cmp esi, eax
jae 0x43148f
mov edx, dword [ebx]
mov ecx, dword [esp + 0x40]
mov ebp, dword [edx + esi*4]
cmp ebp, dword [ecx + 0x2ac]
je 0x431476
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 0x431504
mov byte [edi], 0x2c
movzx eax, word [ebx + 0x10]
add edi, 1
cmp esi, eax
jb 0x431448
lea eax, [edi + 1]
mov byte [edi], 0x29
lea edi, [eax + 1]
mov byte [eax], 0x20
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x262], 0
jne 0x4315e0
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4315f3
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 + 0x224]
test edx, edx
je 0x431369
mov eax, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call edx
test al, al
jne 0x4313ae
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 0x14]
jmp 0x431369
test byte [ebx + 0x14], 2
je 0x431444
mov byte [edi], 0x2e
mov byte [edi + 1], 0x2e
add edi, 3
mov byte [edi - 1], 0x2e
movzx eax, word [ebx + 0x10]
jmp 0x431444
and ebp, 0x20
jne 0x43169b
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x43140c
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], edx
xor ebp, ebp
mov edx, eax
jmp 0x431588
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 0x43140c
mov edx, dword [ebx + 4]
mov eax, ebp
shl eax, 4
lea edi, [edx + eax]
cmp byte [edi + 4], 0x50
je 0x431550
mov dword [esp], edi
call fcn.00440ca0
add esi, eax
jmp 0x431556
add esi, 2
jmp 0x4313f1
mov eax, dword [esp + 0x40]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x110]
mov dword [esp], eax
call fcn.004791b0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], esi
jmp 0x431422
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00432b90
mov edi, eax
jmp 0x4314bb
test byte [ebx + 0x14], 0x20
mov eax, dword [ebx + 4]
jne 0x4316d9
xor ebp, ebp
mov ecx, ebx
mov esi, eax
mov ebx, ebp
mov ebp, ecx
jmp 0x431652
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.00440d40
mov edi, eax
test byte [esi + 6], 8
je 0x431642
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 0x4314bb
mov esi, dword [ebp + 4]
mov eax, ebx
shl eax, 4
add esi, eax
movzx eax, word [esi + 6]
test al, 1
je 0x43166b
mov byte [edi], 0x20
movzx eax, word [esi + 6]
add edi, 1
test al, 4
je 0x431675
mov byte [edi], 0x23
add edi, 1
cmp byte [esi + 4], 0x50
jne 0x431610
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 0x43162e
mov ebp, dword [ebx + 0xc]
test ebp, ebp
je 0x43170c
mov eax, dword [ebx + 4]
xor edx, edx
cmp byte [eax + 4], 0x26
lea ecx, [eax + 0x10]
mov edi, eax
je 0x43140c
lea esi, [esi]
lea edi, [edi]
add edx, 1
cmp edx, ebp
je 0x43170c
movzx eax, byte [ecx + 4]
add ecx, 0x10
cmp al, 0x26
jne 0x4316c0
mov eax, edi
jmp 0x43153c
cmp byte [eax + 4], 0x26
je 0x4314bb
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 0x10]
xor esi, esi
lea esi, [esi]
add esi, 1
cmp ebp, esi
je 0x43170c
movzx ecx, byte [edx + 4]
add edx, 0x10
cmp cl, 0x26
jne 0x4316f0
mov dword [esp + 0x1c], esi
jmp 0x431600
mov dword [esp + 8], str.macro_real_token_count
mov dword [esp + 4], 0x42e
mov dword [esp], str..._.._.._.._src_gcc_6.4.0_libcpp_macro.c
call fcn.00424940
nop
nop
nop
nop
nop
nop
nop
nop