Function at 0x10067bd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esi + 0xc0], eax
test byte [0x101487b0], 0x19
mov dword [esi + 4], ecx
jne 0x10067de0
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 8], 0
jne 0x10067e25
mov ebx, dword [edx]
cmp ebx, 7
jbe 0x10067e5b
mov ecx, ebx
sub ecx, eax
ja 0x10067d5d
movzx eax, word [edx + 6]
test ax, ax
je 0x10067ed3
mov edi, edx
test edi, edi
mov word [esi], ax
je 0x10067eda
movzx ecx, word [edi + 4]
cmp ecx, 0x10
jb 0x10067dc4
mov ebx, dword [edi]
cmp ebx, ecx
jb 0x10067dc4
mov dword [esi + 8], 0
mov eax, ecx
mov dword [esi + 0xc], 0
add eax, 0xfffffff0
mov dword [esi + 0x10], eax
jne 0x10067db9
sub ebx, ecx
je 0x10067c7c
add ecx, edx
mov dword [esi + 8], ecx
movzx eax, word [esi]
test edi, edi
mov ecx, dword [esi + 4]
je 0x10067f0b
add edi, 8
movzx edi, word [edi]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0xbc], 0
test edi, edi
jne 0x10067d64
cmp ax, 2
jae 0x10067f13
cmp byte [esi + 0xbc], 0
jne 0x10067d1a
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x10067d1a
mov dword [esi + 4], esp
push eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [esi + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov esp, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [esi], 0
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x10067f69
mov edi, dword [esi]
test byte [0x101487b0], 0x19
jne 0x10067ea6
mov ecx, dword [esi + 0xc0]
xor ecx, ebp
call fcn.100c2603
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov dword [edi], ecx
xor edi, edi
inc edi
jmp 0x10067d37
mov dword [esi], 3
cmp dword [ecx + 0x10], 1
je 0x10067d2a
mov eax, dword [ecx]
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x14], ecx
call dword [section..00cfg]
lea eax, [esi + 0xbc]
lea edx, [esi + 0x18]
mov ecx, dword [esi + 4]
push eax
push edx
push dword [esi + 0x10]
push dword [esi + 0xc]
push edi
push ebx
push dword [esi + 8]
call dword [esi + 0x14]
mov ecx, dword [esi + 4]
test al, al
je 0x10067d2a
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x1c]
je 0x100680b6
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 6]
jmp 0x10067cb4
lea eax, [edi + 0x10]
mov dword [esi + 0xc], eax
jmp 0x10067c73
push 2
call fcn.1007c030
add esp, 4
test al, al
jne 0x1006806d
mov edi, 3
jmp 0x10067d37
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
sub esp, 0x18
movsd xmm0, qword [esi + 0x18]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x1013acd8
mov dword [esp + 8], str.Mojo_dispatch_message
mov dword [esp + 4], 0x101487b0
mov dword [esp], 0x42
call fcn.10012b70
mov ecx, dword [esi + 4]
add esp, 0x18
jmp 0x10067bfe
movzx ebx, word [edx]
cmp ebx, 8
jb 0x10067dd6
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
mov dword [esi + 8], ecx
sub ecx, ebx
mov dword [esi + 0xc], ecx
mov edi, 3
jb 0x10067d37
mov ecx, dword [esi + 8]
sub ecx, eax
jbe 0x10067f94
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x10067d5f
mov edi, edx
push 2
call fcn.1007c030
add esp, 4
test al, al
je 0x10067dd6
lea ebx, [esi + 0x18]
mov ecx, ebx
push 2
push 0x3f2
push 0x10135260
call fcn.10034a50
lea eax, [esi + 0x20]
push 0x16
push str.Invalid_message_size:
push eax
call fcn.100ec330
add esp, 0xc
mov ecx, eax
push dword [edi]
call fcn.10010c80
jmp 0x100680a2
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
sub esp, 8
movsd xmm0, qword [esi + 0x18]
movsd qword [esp], xmm0
lea edx, [esi + 0xbc]
mov ecx, 0x10135408
call fcn.100ec090
add esp, 8
jmp 0x10067d44
xor edi, edi
jmp 0x10067c35
lea ecx, [edx + 8]
mov dword [esi + 8], ecx
add ebx, 0xfffffff8
mov dword [esi + 0x10], 0
mov ecx, 0
mov eax, ebx
mov ebx, dword [esi + 8]
cmove ebx, ecx
mov dword [esi + 8], ebx
mov ebx, eax
movzx eax, word [esi]
mov dword [esi + 0xc], 0
jmp 0x10067c7f
lea edi, [edx + 4]
jmp 0x10067c8d
mov edi, esp
push eax
sub esp, 0x14
mov eax, esp
mov edx, ecx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 6]
mov word [eax], cx
mov ecx, dword [esi + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov ecx, edx
call fcn.100ebdd0
mov dword [esi], 3
mov esp, edi
test al, al
jne 0x10067d1a
jmp 0x10067d2a
mov ebx, dword [esi + 0x1c]
mov eax, edi
cmp ebx, edi
je 0x10067f83
add ebx, 0xfffffff8
mov ecx, ebx
call fcn.10094f10
cmp ebx, edi
jne 0x10067f72
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
push eax
call fcn.100c1c31
add esp, 4
jmp 0x10067d35
mov eax, dword [ebp + 0xc]
movzx edi, word [eax + 2]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
test edi, edi
je 0x10067fe9
mov dword [esi], 3
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 1
je 0x10068042
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x10], ecx
call dword [section..00cfg]
lea eax, [esi + 0x18]
mov ecx, dword [esi + 4]
push eax
push edi
call dword [esi + 0x10]
test al, al
je 0x10068042
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x1c]
je 0x100680ae
mov dword [esi], esp
mov edx, dword [ebp + 0xc]
add edx, ebx
mov eax, dword [esi + 4]
mov edi, dword [eax + 0xc]
push eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [esi + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x10], ecx
mov dword [eax], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov esp, dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov dword [esi], 0
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10067d35
mov ebx, dword [esi + 0x1c]
mov eax, edi
cmp ebx, edi
je 0x10067f83
add ebx, 0xfffffff8
mov ecx, ebx
call fcn.10094f10
cmp ebx, edi
jne 0x1006805a
jmp 0x10067f80
lea ebx, [esi + 0x18]
mov ecx, ebx
push 2
push 0x409
push 0x10135260
call fcn.10034a50
lea eax, [esi + 0x20]
push 0x1d
push str.Invalid_message_header_size:
push eax
call fcn.100ec330
add esp, 0xc
movzx edx, word [edi + 4]
mov ecx, eax
push edx
call fcn.10010810
mov ecx, ebx
call fcn.10034e90
jmp 0x10067dd6
mov dword [esi], 2
jmp 0x10068045
mov dword [esi], 2
jmp 0x10067d2d