Function at 0x674e80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
je 0x6753ad
lea eax, [esp + 0x30]
mov edx, ebx
call fcn.00673e90
test al, al
je 0x6753ad
mov eax, dword [esp + 0x30]
add eax, ebx
cmp esi, 0x10
mov dword [esp + 0x28], eax
jb 0x6753ad
mov eax, dword [ebx + 0xc]
bswap eax
mov dword [ebx + 0xc], eax
add ebx, 0x10
cmp eax, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], edi
jle 0x6753ad
mov edi, ebx
jmp 0x674ef4
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
sub eax, edi
cmp eax, 0x10
mov ecx, 1
mov dword [esp + 0x1c], eax
jb 0x6753ad
mov edx, dword [edi]
bswap edx
mov dword [edi], edx
mov eax, dword [edi + 4]
bswap eax
mov dword [edi + 4], eax
mov dx, word [edi + 0xe]
lea eax, [edi + 8]
mov bh, dl
mov dword [esp + 0x20], eax
mov bl, dh
mov word [eax + 6], bx
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, 0x696e3332
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
ja 0x675062
je 0x67504b
cmp eax, 0x61766331
ja 0x674fd9
je 0x674fd0
cmp eax, 0x616c6177
ja 0x674fa4
je 0x674f97
cmp eax, 0x2e6d7033
je 0x674f8e
cmp eax, 0x4e4f4e45
je 0x6750dc
cmp eax, 0x61632d33
jne 0x67512b
mov dword [esp + 0x10], 8
jmp 0x67512b
mov dword [esp + 0x10], ecx
jmp 0x67512b
mov dword [esp + 0x10], 0xf
jmp 0x67512b
cmp eax, 0x61706373
je 0x674fc3
cmp eax, 0x61763031
jne 0x67512b
mov dword [esp + 0x14], 0x17
jmp 0x67512b
mov dword [esp + 0x14], 0x1a
jmp 0x67512b
mov dword [esp + 0x14], ecx
jmp 0x67512b
cmp eax, 0x68657631
ja 0x675015
je 0x67503e
cmp eax, 0x65632d33
je 0x674f81
cmp eax, 0x666c3332
je 0x675008
cmp eax, 0x666c3634
jne 0x67512b
mov dword [esp + 0x10], 0xd
jmp 0x67512b
mov dword [esp + 0x10], 0xc
jmp 0x67512b
cmp eax, 0x68766331
je 0x67503e
cmp eax, 0x696e3234
jne 0x67512b
mov dword [esp + 0x10], 6
mov dword [esi + 0x131], 0x18
jmp 0x67512b
mov dword [esp + 0x14], 0x14
jmp 0x67512b
mov dword [esp + 0x10], 6
mov dword [esi + 0x131], 0x20
jmp 0x67512b
cmp eax, 0x72617720
ja 0x6750be
je 0x6750dc
cmp eax, 0x6d6a7062
ja 0x67509a
je 0x67508d
cmp eax, 0x6a706567
je 0x67508d
cmp eax, 0x6c70636d
je 0x6750dc
cmp eax, 0x6d6a7061
jne 0x67512b
mov dword [esp + 0x14], 9
jmp 0x67512b
sub eax, 0x6d703461
je 0x6750b4
sub eax, 0x15
jne 0x67512b
mov dword [esp + 0x14], 0xb
jmp 0x67512b
mov dword [esp + 0x10], 2
jmp 0x67512b
cmp eax, 0x74776f73
ja 0x67510b
je 0x6750fa
cmp eax, 0x73323633
je 0x6750f0
cmp eax, 0x73616d72
je 0x6750e6
cmp eax, 0x736f7774
jne 0x67512b
mov dword [esp + 0x10], 6
jmp 0x67512b
mov dword [esp + 0x10], 9
jmp 0x67512b
mov dword [esp + 0x14], 0x18
jmp 0x67512b
mov dword [esp + 0x10], 6
mov byte [esi + 0x135], 1
jmp 0x67512b
cmp eax, 0x756c6177
je 0x675123
cmp eax, 0x76703039
jne 0x67512b
mov dword [esp + 0x14], 0x16
jmp 0x67512b
mov dword [esp + 0x10], 0xe
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x30]
mov edx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00673e90
test al, al
je 0x6753ad
mov esi, dword [esp + 0x34]
xor eax, eax
cmp eax, esi
jb 0x6753ad
mov edi, dword [esp + 0x30]
ja 0x675168
cmp dword [esp + 0x1c], edi
jb 0x6753ad
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xa4]
cmp ecx, 0x74657874
jg 0x6752ed
je 0x6752db
cmp ecx, 0x68696e74
je 0x6752ac
cmp ecx, 0x736f756e
jne 0x675357
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [edi + 0x136], ecx
call fcn.00677290
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x9c]
cmp dword [edi + 0x30], ecx
je 0x6751d7
cmp ecx, 0x736f756e
jne 0x6751d2
cmp dword [edx + 0x98], 0
je 0x6751d7
cmp ecx, 0xffffffff
jne 0x6751f4
movzx edx, word [eax + 0x1a]
mov dword [edi + 0x12c], edx
mov cl, byte [eax + 0x10]
mov byte [edi + 0x130], cl
movzx edx, word [eax + 0x12]
mov dword [edi + 0x131], edx
mov ecx, dword [esp + 0x30]
add ecx, 0xffffffdc
adc esi, 0xffffffff
mov dword [esp + 0x24], esi
jne 0x675208
test ecx, ecx
jbe 0x67520b
lea ebx, [eax + 0x1c]
movzx eax, word [eax + 8]
cmp ax, 1
jne 0x675225
test ebx, ebx
je 0x6753ad
add ebx, 0x10
jmp 0x675357
cmp ax, 2
jne 0x675357
test ebx, ebx
je 0x6753ad
mov eax, ebx
mov edi, ebx
call fcn.006772e0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x9c]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x30], eax
je 0x675266
cmp eax, 0x736f756e
jne 0x675261
cmp dword [ecx + 0x98], 0
je 0x675266
cmp eax, 0xffffffff
jne 0x675286
fld qword [ebx + 4]
call fcn.006b24a0
mov dword [esi + 0x12c], eax
mov al, byte [ebx + 0xc]
mov byte [esi + 0x130], al
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x131], ecx
add ebx, 0x24
cmp dword [esp + 0x10], 6
jne 0x675357
test byte [edi + 0x18], 2
je 0x675357
mov edx, esi
mov byte [edx + 0x135], 1
jmp 0x675357
mov eax, dword [esp + 0x20]
mov cx, word [eax + 6]
mov dh, cl
mov dl, ch
mov word [eax + 6], dx
mov eax, edi
add eax, 0xffffffef
adc esi, 0xffffffff
mov dword [esp + 0x24], esi
jne 0x6752d2
test eax, eax
jbe 0x675357
mov ebx, dword [esp + 0x18]
add ebx, 0x11
jmp 0x675357
mov esi, dword [esp + 0x20]
mov ax, word [esi + 6]
mov ch, al
mov cl, ah
mov word [esi + 6], cx
jmp 0x675357
cmp ecx, 0x76696465
jne 0x675357
mov edx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [edi + 0x13c], edx
call fcn.00677210
movzx ecx, word [eax + 0x18]
mov dword [edi + 0x12c], ecx
movzx edx, word [eax + 0x1a]
mov dword [edi + 0x130], edx
mov edx, dword [eax + 0x20]
lea ecx, [edi + 0x134]
mov dword [ecx], edx
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x138], eax
mov edi, ecx
call fcn.00641280
mov eax, dword [esp + 0x30]
add eax, 0xffffffaa
adc esi, 0xffffffff
mov dword [esp + 0x24], esi
jne 0x675350
test eax, eax
jbe 0x675357
mov ebx, dword [esp + 0x18]
add ebx, 0x56
mov ecx, dword [esp + 0x30]
add dword [esp + 0x18], ecx
test ebx, ebx
je 0x675396
mov eax, dword [esp + 0x28]
cmp eax, ebx
jb 0x6753ad
lea edx, [ebx + 8]
cmp eax, edx
jb 0x675396
mov ecx, dword [ebx]
bswap ecx
mov dword [ebx], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
bswap edx
push ecx
sub eax, ebx
mov dword [ebx + 4], edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push edx
mov ecx, ebx
call fcn.00675510
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
jl 0x674ef0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc