Function at 0x10008680
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061d6f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10080080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x3c], edi
mov dword [edi], 0
mov byte [edi + 4], 0
mov dword [ebp - 0x1c], esi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
sub esp, 0x28
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x30]
mov eax, esp
push 0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Melody::constructor_class_ZealService___class_IO_ini__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov ecx, dword [esi + 0x30]
sub esp, 0x28
mov eax, esp
push 4
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Melody::constructor_class_ZealService___class_IO_ini__::_2::_lambda_2___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x38]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push str.StopCast
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100054c0
mov ecx, 0x4cb510
mov byte [ebp - 4], 1
call fcn.100066f0
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, 5
jge 0x10008788
nop word [eax + eax]
add ecx, 0x4cb510
call fcn.100066f0
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, 5
jl 0x10008770
push 0x18
call fcn.1003a330
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.1003a330
mov ecx, dword [ebp - 0x14]
mov edx, 0x4cb510
push ecx
mov byte [eax], cl
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 8], 0x4cb510
mov dword [esi + 4], 0x100081e0
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1001f3a0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x100087ee
jmp dword [eax*4 + 0x10008904]
push 0x100081e0
push 0x4cb510
mov ecx, esi
call fcn.1001c3f0
jmp case.default.0x100087ee
push 0x100081e0
push 0x4cb510
mov ecx, esi
call fcn.1001c670
jmp case.default.0x100087ee
push 0x100081e0
push 0x4cb510
mov ecx, esi
call fcn.1001c750
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.100079a0
mov byte [ebp - 4], 0
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1000887d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008873
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100088fc
push ecx
push edx
call fcn.1003a365
add esp, 8
mov esi, dword [ebp - 0x1c]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x20], esp
mov esi, dword [esi + 0x28]
mov dword [eax], 0x1006fcc4
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str._melody
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
sub esp, 0xc
mov ecx, esi
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 0
call fcn.100153c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100415d4
nop dword [eax]
or byte [eax - 0x77f7f000], cl
add byte [eax], dl
cmc
xchg dword [eax], eax
adc byte [ebx], bl
mov byte [eax], al
adc ah, cl
int3