Function at 0x402190
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x4021b3
push 0xf0
push str.srchashes_sha2_sha256.c
push str.md___NULL
call fcn.00406420
add esp, 0xc
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4021d1
push 0xf1
push str.srchashes_sha2_sha256.c
push str.out___NULL
call fcn.00406420
add esp, 0xc
mov ecx, dword [esi + 0x28]
cmp ecx, 0x40
jb 0x4021e2
pop edi
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x2c], 0x80
inc dword [esi + 0x28]
mov eax, dword [esi + 0x28]
cmp eax, 0x38
jbe 0x402228
cmp eax, 0x40
jae 0x402214
mov byte [esi + eax + 0x2c], 0
inc dword [esi + 0x28]
mov eax, dword [esi + 0x28]
cmp eax, 0x40
jb 0x402204
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.00402370
add esp, 8
mov dword [esi + 0x28], 0
cmp dword [esi + 0x28], 0x38
jae 0x402241
nop
mov eax, dword [esi + 0x28]
mov byte [eax + esi + 0x2c], 0
inc dword [esi + 0x28]
cmp dword [esi + 0x28], 0x38
jb 0x402230
movzx eax, byte [esi + 7]
mov byte [esi + 0x64], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x66], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x69], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x6a], al
movzx eax, byte [esi]
mov byte [esi + 0x6b], al
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.00402370
movzx eax, byte [esi + 0xb]
add esp, 8
mov byte [edi], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 1], al
movzx eax, byte [esi + 9]
mov byte [edi + 2], al
movzx eax, byte [esi + 8]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 4], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 8], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 9], al
movzx eax, byte [esi + 0x11]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [edi + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x13], al
movzx eax, byte [esi + 0x1f]
mov byte [edi + 0x14], al
movzx eax, byte [esi + 0x1e]
mov byte [edi + 0x15], al
movzx eax, byte [esi + 0x1d]
mov byte [edi + 0x16], al
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x17], al
movzx eax, byte [esi + 0x23]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x22]
mov byte [edi + 0x19], al
movzx eax, byte [esi + 0x21]
mov byte [edi + 0x1a], al
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x1b], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x1c], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x1d], al
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x1e], al
movzx eax, byte [esi + 0x24]
mov byte [edi + 0x1f], al
xor eax, eax
pop edi
pop esi
pop ebp
ret