Function at 0x421a40
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 0x421a86
and eax, 0x3f
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], str.invalid_hash_type__d_in_cpp_macro_definition
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.00421fc0
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x44]
test byte [ebx + 0x15], 1
je 0x421ac0
mov ebx, dword [esp + 0x40]
mov edx, dword [ebx + 0x228]
test edx, edx
je 0x421a59
mov eax, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
test al, al
jne 0x421ac0
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 0x14]
jmp 0x421a59
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
jne 0x421bc1
add esi, 2
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x270], 0
je 0x421bf9
mov dword [esp], ebx
call fcn.0042e500
add esi, eax
mov eax, dword [esp + 0x40]
cmp esi, dword [eax + 0x114]
ja 0x421c91
mov eax, dword [eax + 0x110]
mov edx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00423e70
test byte [ebx + 0x14], 1
je 0x421b86
lea edi, [eax + 1]
xor esi, esi
mov byte [eax], 0x28
movzx eax, word [ebx + 0x10]
cmp esi, eax
jae 0x421b80
mov edx, dword [ebx]
mov ebp, dword [edx + esi*4]
mov edx, dword [esp + 0x40]
cmp dword [edx + 0x2b8], ebp
je 0x421b67
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
movzx eax, word [ebx + 0x10]
add edi, dword [ebp + 4]
add esi, 1
cmp esi, eax
jae 0x421c70
mov byte [edi], 0x2c
movzx eax, word [ebx + 0x10]
add edi, 1
cmp esi, eax
jb 0x421b39
lea eax, [edi + 1]
mov byte [edi], 0x29
lea esi, [eax + 1]
mov byte [eax], 0x20
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x270], 0
jne 0x421cc0
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x421cd3
mov eax, dword [esp + 0x40]
mov byte [esi], 0
mov eax, dword [eax + 0x110]
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ecx, word [ebx + 0x10]
add esi, 6
test ecx, ecx
je 0x421ae2
mov edi, dword [ebx]
shl ecx, 2
xor eax, eax
mov edx, dword [edi + eax]
add eax, 4
cmp eax, ecx
mov edx, dword [edx + 4]
lea esi, [esi + edx + 1]
jne 0x421bd7
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x270], 0
jne 0x421af3
and ebp, 0x20
jne 0x421daa
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x421afd
xor edi, edi
jmp 0x421c55
mov eax, dword [ebp + 0xc]
add esi, dword [eax + 4]
movzx eax, word [ebp + 6]
mov ecx, eax
and ecx, 4
cmp cx, 1
sbb esi, 0xffffffff
test al, 8
lea ecx, [esi + 3]
cmovne esi, ecx
and eax, 1
cmp ax, 1
sbb esi, 0xffffffff
add edi, 1
cmp edi, dword [esp + 0x1c]
je 0x421afd
mov ebp, edi
shl ebp, 4
add ebp, dword [ebx + 4]
cmp byte [ebp + 4], 0x50
je 0x421c20
mov dword [esp], ebp
call fcn.00423e30
add esi, eax
jmp 0x421c26
test byte [ebx + 0x14], 2
je 0x421b35
mov byte [edi], 0x2e
add edi, 3
mov byte [edi - 2], 0x2e
mov byte [edi - 1], 0x2e
movzx eax, word [ebx + 0x10]
jmp 0x421b35
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x110]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00439240
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x114], esi
mov dword [ecx + 0x110], eax
jmp 0x421b13
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042e550
mov esi, eax
jmp 0x421bac
test byte [ebx + 0x14], 0x20
mov eax, dword [ebx + 4]
jne 0x421d7b
xor ebp, ebp
mov edi, eax
mov edx, ebp
mov ebp, ebx
mov ebx, edx
jmp 0x421d32
mov eax, dword [esp + 0x40]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00423ed0
mov esi, eax
test byte [edi + 6], 8
je 0x421d22
mov byte [esi], 0x20
add esi, 3
mov byte [esi - 2], 0x23
mov byte [esi - 1], 0x23
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jae 0x421bac
mov edi, dword [ebp + 4]
mov ecx, ebx
shl ecx, 4
add edi, ecx
movzx eax, word [edi + 6]
test al, 1
je 0x421d4b
mov byte [esi], 0x20
movzx eax, word [edi + 6]
add esi, 1
test al, 4
je 0x421d55
mov byte [esi], 0x23
add esi, 1
cmp byte [edi + 4], 0x50
jne 0x421cf0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [edi + 0xc]
add esi, dword [eax + 4]
jmp 0x421d0e
cmp byte [eax + 4], 0x26
je 0x421bac
lea edi, [eax + 0x10]
xor edx, edx
jmp 0x421d9c
movzx ecx, byte [edi + 4]
add edi, 0x10
cmp cl, 0x26
je 0x421dda
add edx, 1
cmp edx, dword [esp + 0x1c]
jne 0x421d90
call fcn.00460000
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x421da5
mov eax, dword [ebx + 4]
cmp byte [eax + 4], 0x26
je 0x421afd
add eax, 0x10
xor edi, edi
jmp 0x421dd1
movzx edx, byte [eax + 4]
add eax, 0x10
cmp dl, 0x26
je 0x421def
add edi, 1
cmp edi, ecx
jne 0x421dc5
jmp 0x421da5
test edx, edx
lea esi, [esi]
je 0x421bac
mov dword [esp + 0x1c], edx
jmp 0x421ce0
mov dword [esp + 0x1c], edi
jmp 0x421c09