Function at 0x7746e345
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x7746e44e
cmp dword [ebx], 0x5c
jb 0x7746e44e
call fcn.7746c084
movzx ecx, word [ebx + 0x36]
mov esi, eax
or esi, 0x8000
and esi, ecx
mov dword [edi + 0xa0], esi
call fcn.7746c084
test esi, eax
jne 0x7746e53e
test dword [ebx + 0x58], 0x1000
je 0x7746e552
or dword [edi + 0x34], 0x8000
test dword [ebx + 0x58], 0x2000
je 0x7746e552
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov dl, 1
push eax
push 0xd
call fcn.7746a4d2
test eax, eax
js 0x7746e537
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x7746e439
movzx eax, word [esi + 0x14]
lea edx, [esi + 0x18]
and dword [ebp - 4], 0
add edx, eax
movzx eax, word [esi + 6]
test eax, eax
je 0x7746e439
mov eax, dword [ecx + 0xc]
movzx ecx, word [esi + 6]
mov dword [ebp - 0x14], eax
sub eax, dword [edx + 0xc]
cmp eax, dword [edx + 8]
jb 0x7746e410
mov eax, dword [ebp - 4]
add edx, 0x28
inc eax
mov dword [ebp - 4], eax
cmp eax, ecx
mov eax, dword [ebp - 0x14]
jb 0x7746e3f5
jmp 0x7746e439
mov ecx, dword [edx + 0xc]
add ecx, dword [edi + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 8], edx
call fcn.774859b9
lea eax, [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.77492e60
call fcn.7746e5aa
push 0xe
pop ecx
test eax, eax
jne 0x7746e459
call fcn.7746e5aa
test eax, eax
jne 0x7746e480
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ax, word [esi + 0x5e]
bt ax, cx
setb cl
test dword [ebx + 0x58], 0x100
setne al
test al, cl
jne 0x7746e47b
mov edx, esi
mov ecx, edi
call fcn.774ccfdf
push 0xe
pop ecx
jmp 0x7746e445
mov ax, word [esi + 0x5e]
bt ax, cx
setb cl
test dword [ebx + 0x58], 0x100
setne al
test al, cl
je 0x7746e44e
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x7746e55a
mov ecx, dword [edi + 0x18]
cmp esi, ecx
jb 0x7746e55a
mov eax, dword [edi + 0x20]
add eax, 0xfffffffc
add eax, ecx
cmp esi, eax
jae 0x7746e55a
cmp dword [esi], 0
je 0x7746e55a
push 4
pop ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.77492e60
test eax, eax
js 0x7746e450
call fcn.7746e55e
test eax, eax
jne 0x774ba55d
mov dword [esi], 0x774a6010
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.77492e60
test eax, eax
js 0x7746e450
test esi, esi
je 0x774ba581
cmp dword [esi], 0x774a6010
je 0x7746e44e
jmp 0x774ba575
xor ecx, ecx
jmp 0x7746e3cf
mov ecx, edi
call fcn.77487ba3
test al, al
je 0x7746e38f
jmp 0x774ba53c
mov esi, dword [ebp - 4]
jmp 0x7746e439
xor esi, esi
jmp 0x7746e51e
cmp edi, dword [0x775379a4]
jne 0x774ba54c
or esi, 0x200
jmp 0x774ba552
or esi, 0x100
mov dword [edi + 0xa0], esi
jmp 0x7746e38f
test dword [ebx + 0x58], 0x4000
je 0x7746e4fa
mov dword [esi], 0x774a60a0
jmp 0x7746e500
cmp dword [esi], 0x774a60a0
je 0x7746e44e
mov eax, 0xc000003e
jmp 0x7746e450