Function at 0x670acdf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], 0
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0xc]
push dword [esp + 0x2c]
mov dword [esp + 0xc], edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*4]
push eax
push edx
call fcn.670a78d0
add esp, 0x10
test eax, eax
jne 0x670acffe
mov ax, word [esp + 0x1c]
cmp ax, 8
je 0x670ace46
movzx eax, ax
test eax, 0xff00
je 0x670ace4e
mov dword [esp + 0xc], 1
push edi
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
movzx eax, word [eax + ecx*4]
push eax
lea eax, [edi + 4]
push eax
call fcn.670b6440
add esp, 0xc
test eax, eax
jne 0x670acffd
mov ax, word [esp + 0x28]
cmp ax, word [edi + 0x12]
jb 0x670ace98
push 0x1570
call fcn.670b5cc0
add esp, 4
pop edi
pop esi
add esp, 0x14
ret
movzx ecx, ax
mov eax, dword [edi]
push ebx
push ebp
mov edi, dword [eax + ecx*8]
movzx eax, word [eax + ecx*8 + 4]
mov ecx, 0xffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], eax
test ax, ax
je 0x670acff9
mov bp, word [esp + 0x38]
mov ecx, dword [esi + 0xc]
movzx edx, word [edi + 6]
movzx ebx, cx
lea eax, [ecx + edx]
cmp eax, dword [esi + 4]
ja 0x670acfd7
mov eax, dword [edi]
mov ecx, 0xffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x14], eax
cmp bp, cx
je 0x670acefc
cmp bp, dx
jb 0x670acff9
lea eax, [ebx + 1]
mov ebp, 1
movzx ebx, ax
nop word [eax + eax]
cmp bp, word [edi + 6]
jae 0x670ad003
lea eax, [esp + 0x28]
movzx edi, bx
push eax
mov eax, dword [esi + 0x14]
push dword [esp + 0x38]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x1c]
call fcn.670a78d0
add esp, 0x10
test eax, eax
je 0x670acf86
cmp eax, 0xffff
jne 0x670acffb
mov ecx, dword [esp + 0x2c]
movzx eax, bp
movzx ecx, word [ecx + 6]
sub ecx, eax
add ecx, edi
cmp ecx, dword [esi + 4]
je 0x670acfce
inc ebx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x14]
push dword [esp + 0x38]
movzx edi, bx
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x1c]
call fcn.670a78d0
add esp, 0x10
test eax, eax
jne 0x670acf40
mov ax, word [esp + 0x28]
cmp ax, 8
je 0x670acfa9
mov ecx, 0xff00
test ax, cx
mov eax, dword [esp + 0x14]
mov ecx, 0
cmove eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
movzx eax, bp
movzx edx, word [ecx + eax*2 - 2]
movzx eax, bx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
cmp dword [eax + ecx*4], edx
jne 0x670acfd2
inc ebp
inc ebx
jmp 0x670acf10
mov edi, dword [esp + 0x2c]
mov bp, word [esp + 0x38]
mov eax, dword [esp + 0x1c]
add edi, 8
add eax, 0xffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], eax
test ax, ax
jne 0x670acec2
mov ecx, 0xffff
mov eax, ecx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x670ad03b
cmp dword [ecx], 0
je 0x670ad03b
xor eax, eax
cmp word [esp + 0x14], ax
setne al
lea eax, [eax*4 + 4]
push eax
movzx eax, word [edi + 4]
push eax
push ecx
call fcn.670a7760
add esp, 0xc
test eax, eax
je 0x670ad03b
cmp eax, 0xffff
jne 0x670acffb
mov edx, dword [esi + 0xc]
add edi, 4
movzx ecx, bp
add ecx, edx
movzx eax, bx
cmp eax, ecx
jne 0x670ad0ae
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
cmp word [eax + ecx*4 + 0xe], 0
je 0x670ad082
push 0xffff
push 0xffff
push edi
push 1
push ebp
push esi
call fcn.670a6410
add esp, 0x18
test eax, eax
je 0x670ad15f
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
push esi
call fcn.670a6550
movzx eax, ax
push eax
push 0xffff
push edi
push 1
push ebp
push esi
call fcn.670a6410
add esp, 0x1c
test eax, eax
je 0x670ad15f
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
push esi
call fcn.670a6550
movzx ebp, ax
movzx eax, word [edi]
push ebp
push 0xffff
push eax
push esi
call fcn.670a6300
add esp, 0x14
test eax, eax
jne 0x670acffb
mov ebx, dword [esp + 0x2c]
xor edi, edi
movzx eax, word [ebx + 6]
dec eax
test eax, eax
jle 0x670ad15f
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
push dword [esp + 0x38]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x1c]
call fcn.670a78d0
add esp, 0x10
test eax, eax
je 0x670ad14c
mov eax, dword [esi + 0xc]
push ebp
push edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
push dword [eax + ecx*4]
push esi
call fcn.670a6300
add esp, 0x10
test eax, eax
jne 0x670acffb
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xc]
push dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*4]
push eax
push dword [esp + 0x1c]
call fcn.670a78d0
add esp, 0x10
test eax, eax
jne 0x670ad107
inc dword [esi + 0xc]
inc edi
movzx ecx, word [ebx + 6]
mov edx, dword [esi + 0xc]
dec ecx
movzx eax, di
cmp eax, ecx
jl 0x670ad0e4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret