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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.10024060
mov eax, dword [esi + 4]
test eax, eax
je 0x100066ac
mov edi, dword [esi + 8]
test edi, edi
jne 0x10006918
xor eax, eax
mov dword [ebx + 0x10], 3
mov dword [ebx + 0x14], 0
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
fld1
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]
fst dword [eax + 0xc]
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]
fstp dword [eax + 0x14]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x4c], edx
mov dword [esp], 8
call dword [ebx + 0x68]
mov edx, dword [ebp - 0x4c]
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
fld1
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]
fst dword [eax + 0x24]
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]
fstp dword [eax + 0x2c]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x4c], edx
mov dword [esp], 6
call dword [ebx + 0x68]
mov edx, dword [ebp - 0x4c]
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
xor ecx, ecx
fld1
sub esp, 0xc
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]
fst dword [eax + 0x3c]
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]
fstp dword [eax + 0x44]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x74], 0
mov ecx, 0x1000c440
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x14]
test eax, eax
mov dword [ebx + 8], eax
mov edx, dword [esi + 0x18]
cmove eax, ecx
test edx, edx
mov dword [ebx + 8], eax
mov eax, 0x1000c4d0
cmove edx, eax
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x50], eax
test eax, eax
je 0x10006a60
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x54], eax
test eax, eax
je 0x100069e0
cmp word [ebx + 0x16], 0
jne 0x10006940
mov byte [ebx + 0x64], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], str.FACT_Thread
mov dword [esp], 0x1000be50
call fcn.100240d0
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.10024080
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.1000c4f0
test eax, eax
je 0x1000686a
mov edx, dword [ebx + 0x60]
mov dword [ebp - 0x4c], eax
mov dword [esp], edx
call fcn.10024080
mov eax, dword [ebp - 0x4c]
jmp 0x1000690b
lea eax, [ebp - 0x28]
lea esi, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.10012840
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.1001b8e0
xor eax, eax
cmp dword [ebp - 0x20], 6
mov dword [ebp - 0x38], esi
sete al
mov dword [ebp - 0x30], 1
lea eax, [eax + eax*4 + 1]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x1c]
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.10014410
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.10010e90
jmp 0x100068df
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100069ef
movsx esi, word [eax]
test si, si
jne 0x10006a50
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.100176e0
test eax, eax
je 0x100068d8
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call fcn.10011b40
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.10024080
mov eax, 0x88960001
jmp 0x1000690b
sub esi, 0x30
call fcn.10023d00
cmp eax, esi
jb 0x100069ef
jmp 0x100069f1
lea eax, [ebx + 0x50]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.100127b0
jmp 0x100068ca