Function at 0x421730
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 0x421776
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.00421cb0
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 0x4217b0
mov ebx, dword [esp + 0x40]
mov edx, dword [ebx + 0x228]
test edx, edx
je 0x421749
mov eax, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
test al, al
jne 0x4217b0
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 0x14]
jmp 0x421749
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 0x4218b1
add esi, 2
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x270], 0
je 0x4218e9
mov dword [esp], ebx
call fcn.0042e1f0
add esi, eax
mov eax, dword [esp + 0x40]
cmp esi, dword [eax + 0x114]
ja 0x421981
mov eax, dword [eax + 0x110]
mov edx, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00423b60
test byte [ebx + 0x14], 1
je 0x421876
lea edi, [eax + 1]
xor esi, esi
mov byte [eax], 0x28
movzx eax, word [ebx + 0x10]
cmp esi, eax
jae 0x421870
mov edx, dword [ebx]
mov ebp, dword [edx + esi*4]
mov edx, dword [esp + 0x40]
cmp dword [edx + 0x2b8], ebp
je 0x421857
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 0x421960
mov byte [edi], 0x2c
movzx eax, word [ebx + 0x10]
add edi, 1
cmp esi, eax
jb 0x421829
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 0x4219b0
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4219c3
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 0x4217d2
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 0x4218c7
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x270], 0
jne 0x4217e3
and ebp, 0x20
jne 0x421a9a
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4217ed
xor edi, edi
jmp 0x421945
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 0x4217ed
mov ebp, edi
shl ebp, 4
add ebp, dword [ebx + 4]
cmp byte [ebp + 4], 0x50
je 0x421910
mov dword [esp], ebp
call fcn.00423b20
add esi, eax
jmp 0x421916
test byte [ebx + 0x14], 2
je 0x421825
mov byte [edi], 0x2e
add edi, 3
mov byte [edi - 2], 0x2e
mov byte [edi - 1], 0x2e
movzx eax, word [ebx + 0x10]
jmp 0x421825
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x110]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0043e330
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x114], esi
mov dword [ecx + 0x110], eax
jmp 0x421803
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0042e240
mov esi, eax
jmp 0x42189c
test byte [ebx + 0x14], 0x20
mov eax, dword [ebx + 4]
jne 0x421a6b
xor ebp, ebp
mov edi, eax
mov edx, ebp
mov ebp, ebx
mov ebx, edx
jmp 0x421a22
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.00423bc0
mov esi, eax
test byte [edi + 6], 8
je 0x421a12
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 0x42189c
mov edi, dword [ebp + 4]
mov ecx, ebx
shl ecx, 4
add edi, ecx
movzx eax, word [edi + 6]
test al, 1
je 0x421a3b
mov byte [esi], 0x20
movzx eax, word [edi + 6]
add esi, 1
test al, 4
je 0x421a45
mov byte [esi], 0x23
add esi, 1
cmp byte [edi + 4], 0x50
jne 0x4219e0
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 0x4219fe
cmp byte [eax + 4], 0x26
je 0x42189c
lea edi, [eax + 0x10]
xor edx, edx
jmp 0x421a8c
movzx ecx, byte [edi + 4]
add edi, 0x10
cmp cl, 0x26
je 0x421aca
add edx, 1
cmp edx, dword [esp + 0x1c]
jne 0x421a80
call fcn.0046a410
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x421a95
mov eax, dword [ebx + 4]
cmp byte [eax + 4], 0x26
je 0x4217ed
add eax, 0x10
xor edi, edi
jmp 0x421ac1
movzx edx, byte [eax + 4]
add eax, 0x10
cmp dl, 0x26
je 0x421adf
add edi, 1
cmp edi, ecx
jne 0x421ab5
jmp 0x421a95
test edx, edx
lea esi, [esi]
je 0x42189c
mov dword [esp + 0x1c], edx
jmp 0x4219d0
mov dword [esp + 0x1c], edi
jmp 0x4218f9