Function at 0x67078980
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebp
mov bp, word [esp + 0x34]
push esi
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx + 0x20]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [esi + 0xc]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x14]
lea edx, [eax + edx*2]
push edx
push ecx
mov dword [esp + 0x24], ecx
call fcn.6706b970
add esp, 0x10
test eax, eax
jne 0x67078cdd
cmp bp, 0xffff
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 6]
push ebx
movzx ebx, word [eax + 0xc]
push edi
movzx edi, word [eax]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
je 0x670789ee
cmp bp, cx
jb 0x67078cd6
mov edx, dword [esi + 0xc]
movzx ebp, di
cmp ebp, edx
ja 0x67078cd6
movzx ebx, bx
movzx ebp, cx
add ebp, ebx
add ebp, edx
cmp ebp, dword [esi + 4]
ja 0x67078cd6
test di, di
je 0x67078b0c
mov edx, dword [eax + 2]
mov dword [esp + 0x2c], edx
mov dx, word [esi + 0xc]
sub dx, 1
test di, di
mov dword [esp + 0x18], 0
movzx ebx, dx
jbe 0x67078b0c
jmp 0x67078a40
mov edx, dword [esi + 0x14]
mov ebp, dword [esp + 0x3c]
movzx edi, bx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + edi*8]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
call fcn.6706b970
add esp, 0x10
test eax, eax
je 0x67078ab4
cmp eax, 0xffff
jne 0x67078cdb
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x28]
sub eax, edx
add edi, 1
cmp edi, eax
je 0x67078cd6
mov edx, dword [esi + 0x14]
add ebx, 0xffff
movzx edi, bx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + edi*8]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
call fcn.6706b970
add esp, 0x10
test eax, eax
jne 0x67078a68
mov ecx, dword [esi + 0x14]
mov edi, dword [esp + 0x18]
movzx eax, bx
lea edx, [esp + 0x14]
push edx
lea eax, [eax + eax*8]
movzx edx, word [ecx + eax*2]
movzx eax, di
lea ecx, [eax*8]
sub ecx, eax
add ecx, dword [esp + 0x30]
push edx
push ecx
call fcn.6707a950
add esp, 0xc
test eax, eax
jne 0x67078cdb
add edi, 1
add ebx, 0xffff
cmp di, word [esp + 0x28]
mov dword [esp + 0x18], edi
jb 0x67078a40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 8]
movzx ebx, word [esi + 0xc]
xor ebp, ebp
test cx, cx
mov dword [esp + 0x2c], edx
jbe 0x67078bd4
movzx edi, bx
cmp edi, dword [esi + 0xc]
jbe 0x67078b87
lea ebx, [ebx]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x14]
push ecx
lea edx, [edi + edi*8]
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.6706b970
add esp, 0x10
test eax, eax
je 0x67078b87
cmp eax, 0xffff
jne 0x67078cdb
movzx eax, bp
sub edi, eax
movzx eax, word [esp + 0x20]
add edi, eax
movzx eax, word [esp + 0x24]
add edi, eax
cmp edi, dword [esi + 4]
je 0x67078cd6
add ebx, 1
movzx edi, bx
cmp edi, dword [esi + 0xc]
ja 0x67078b30
movzx eax, bx
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x14]
push ecx
movzx ecx, word [eax + edx*2]
movzx eax, bp
lea edx, [eax*8]
sub edx, eax
add edx, dword [esp + 0x30]
push ecx
push edx
call fcn.6707a950
add esp, 0xc
test eax, eax
jne 0x67078cdb
add ebp, 1
add ebx, 1
cmp bp, word [esp + 0x20]
jb 0x67078b22
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
cmp word [esp + 0x24], 0
mov edx, dword [eax + 0xe]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], 0
jbe 0x67078cb2
nop
mov edx, dword [esi + 0x14]
mov ebp, dword [esp + 0x3c]
movzx edi, bx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + edi*8]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
call fcn.6706b970
add esp, 0x10
test eax, eax
je 0x67078c61
cmp eax, 0xffff
jne 0x67078cdb
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x24]
sub edi, edx
add edi, eax
cmp edi, dword [esi + 4]
je 0x67078cd6
mov edx, dword [esi + 0x14]
add ebx, 1
movzx edi, bx
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + edi*8]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
call fcn.6706b970
add esp, 0x10
test eax, eax
jne 0x67078c18
mov ecx, dword [esi + 0x14]
mov edi, dword [esp + 0x18]
movzx eax, bx
lea edx, [esp + 0x14]
push edx
lea eax, [eax + eax*8]
movzx edx, word [ecx + eax*2]
movzx eax, di
lea ecx, [eax*8]
sub ecx, eax
add ecx, dword [esp + 0x30]
push edx
push ecx
call fcn.6707a950
add esp, 0xc
test eax, eax
jne 0x67078cdb
add edi, 1
add ebx, 1
cmp di, word [esp + 0x24]
mov dword [esp + 0x18], edi
jb 0x67078bf0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [eax + 0x14]
movzx eax, word [eax + 0x12]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
call fcn.67075340
add esp, 0x14
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
ret
mov eax, 0xffff
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
ret