Function at 0x10344f82
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003d4f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
mov eax, dword [0x1004d6f8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xe4], eax
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x18]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0xf0], 1
mov dword [esp + 0x6c], 0x100408d4
mov dword [esp + 0x70], eax
mov byte [esp + 0x78], bl
call fcn.10355d92
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0xf4], 2
call fcn.10355da2
mov esi, dword [esp + 0xf8]
mov ecx, esi
call fcn.10354d32
push eax
lea ecx, [esp + 0x10]
call fcn.10355db2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push esi
mov ecx, edi
mov byte [esp + 0xf4], 4
call fcn.10342142
test al, al
je 0x103450b3
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x28]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0x100408e4
mov dword [esp + 0x60], eax
mov byte [esp + 0x68], bl
call fcn.10355d92
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 5
call fcn.10355da2
mov ecx, esi
call fcn.10354d32
push eax
lea ecx, [esp + 0x14]
call fcn.10355db2
lea ecx, [esp + 0x10]
mov byte [esp + 0xf0], 4
call fcn.10340c92
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x103450d8
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], eax
jne 0x10345105
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x103451d6
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x38], ecx
je 0x103451d6
lea ecx, [esp + 0x98]
call fcn.103552f2
lea edx, [esp + 0x98]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x28]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 6
mov dword [esp + 0x7c], 0x100408dc
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], bl
call fcn.10355d92
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xf4], 7
call fcn.10355da2
mov ecx, esi
call fcn.10354d32
push eax
lea ecx, [esp + 0x18]
call fcn.10355db2
lea ecx, [esp + 0x98]
call fcn.10354d12
test eax, eax
je 0x103451b1
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.10355002
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 6
call fcn.10340c92
lea ecx, [esp + 0x98]
mov byte [esp + 0xf0], 4
call fcn.10354cc2
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf0], 3
call fcn.10343362
lea ecx, [esp + 0x28]
mov byte [esp + 0xf0], 2
call fcn.10343362
lea ecx, [esp + 0xc]
mov byte [esp + 0xf0], 1
call fcn.10340c92
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], bl
call fcn.10343362
lea ecx, [esp + 0x18]
mov dword [esp + 0xf0], reloc.WINMM.dll_midiStreamOut
call fcn.10343362
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xdc]
pop ebx
call fcn.10364a3c
add esp, 0xe8
ret 4