Function at 0x100053e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.10026f30
mov eax, dword [esi + 4]
test eax, eax
je 0x1000540d
mov edi, dword [esi + 8]
test edi, edi
jne 0x10005680
mov eax, 3
xor edx, edx
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], edx
mov word [ebx + 0x18], ax
mov dword [esp], 0x48
call dword [ebx + 0x68]
mov dword [ebx + 0x2c], eax
movzx eax, word [ebx + 0x10]
shl eax, 2
mov dword [esp], eax
call dword [ebx + 0x68]
mov edi, eax
mov dword [ebx + 0x1c], eax
mov dword [esp], 7
call dword [ebx + 0x68]
mov dword [edi], eax
mov edi, dword [sym.imp.kernel32.dll_lstrcpynA]
mov dword [esp + 8], 7
mov dword [esp + 4], str.Global
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x2c]
xor edx, edx
xor ecx, ecx
movss xmm0, dword [0x1002df00]
sub esp, 0xc
mov byte [eax], 0xff
mov eax, dword [ebx + 0x2c]
mov word [eax + 2], dx
mov eax, dword [ebx + 0x2c]
mov edx, 0xffffffff
mov word [eax + 4], cx
mov eax, dword [ebx + 0x2c]
mov byte [eax + 6], 0
mov eax, dword [ebx + 0x2c]
mov word [eax + 8], dx
mov eax, dword [ebx + 0x2c]
movss dword [eax + 0xc], xmm0
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x11], 0
mov eax, dword [ebx + 0x2c]
movss dword [eax + 0x14], xmm0
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x38], edx
mov dword [esp], 8
call dword [ebx + 0x68]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov dword [esp + 8], 8
mov dword [esp + 4], str.Default
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
xor edx, edx
movss xmm0, dword [0x1002df00]
sub esp, 0xc
mov byte [eax + 0x18], 0xff
mov eax, dword [ebx + 0x2c]
mov word [eax + 0x1a], cx
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov word [eax + 0x1c], dx
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x1e], 0
mov eax, dword [ebx + 0x2c]
mov word [eax + 0x20], cx
mov eax, dword [ebx + 0x2c]
movss dword [eax + 0x24], xmm0
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x29], 0
mov eax, dword [ebx + 0x2c]
movss dword [eax + 0x2c], xmm0
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x38], edx
mov dword [esp], 6
call dword [ebx + 0x68]
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov dword [esp + 8], 6
mov dword [esp + 4], str.Music
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x2c]
xor edi, edi
xor edx, edx
movss xmm0, dword [0x1002df00]
sub esp, 0xc
xor ecx, ecx
mov byte [eax + 0x30], 0xff
mov eax, dword [ebx + 0x2c]
mov word [eax + 0x32], di
mov eax, dword [ebx + 0x2c]
mov word [eax + 0x34], dx
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x36], 0
mov eax, dword [ebx + 0x2c]
mov word [eax + 0x38], cx
mov eax, dword [ebx + 0x2c]
movss dword [eax + 0x3c], xmm0
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x40], 1
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x41], 0
mov eax, dword [ebx + 0x2c]
movss dword [eax + 0x44], xmm0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x74], 0
pxor xmm0, xmm0
mov ecx, 0x1000b750
movups xmmword [ebx + 0x78], xmm0
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 8], eax
mov edx, dword [esi + 0x18]
test eax, eax
cmove eax, ecx
mov dword [ebx + 8], eax
mov eax, 0x1000b7e0
test edx, edx
cmove edx, eax
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x50], eax
test eax, eax
je 0x100057d0
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x54], eax
test eax, eax
je 0x10005750
cmp word [ebx + 0x16], 0
jne 0x100056b0
mov byte [ebx + 0x64], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], str.FACT_Thread
mov dword [esp], 0x1000b160
call fcn.10026fa0
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.10026f50
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.1000b800
test eax, eax
je 0x100055e8
mov edx, dword [ebx + 0x60]
mov dword [ebp - 0x38], eax
mov dword [esp], edx
call fcn.10026f50
mov eax, dword [ebp - 0x38]
jmp 0x1000566f
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
lea esi, [ebp - 0x2c]
mov dword [esp], eax
call fcn.10012410
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.1001c500
xor eax, eax
cmp dword [ebp - 0x18], 6
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x34], 1
sete al
lea eax, [eax + eax*4 + 1]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call fcn.10014100
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.10010950
jmp 0x10005643
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000575f
movsx esi, word [eax]
test si, si
jne 0x100057c0
xor esi, esi
lea eax, [ebx + 0x54]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call fcn.10017740
test eax, eax
je 0x1000563c
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call fcn.100116f0
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.10026f50
mov eax, 0x88960001
jmp 0x1000566f
sub esi, 0x30
call fcn.10026b60
cmp eax, esi
jb 0x1000575f
jmp 0x10005761
lea eax, [ebx + 0x50]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.10012330
jmp 0x1000562e