Function at 0x4868d6
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x59f25b
call fcn.00593e24
sub esp, 0x88
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
or edi, 0xffffffff
mov dword [ebp - 4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041e8b0
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
cmp dword [eax + 4], ebx
jbe 0x486918
mov eax, dword [eax]
jmp 0x48691d
mov eax, 0x5b57c4
push eax
lea ecx, [ebp - 0x18]
call fcn.0054e47b
lea ecx, [ebp - 0x48]
call fcn.00418b60
push str.quiet
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.0054e57b
mov ebx, eax
mov dword [0x60f9e8], esi
cmp ebx, edi
mov dword [ebp - 0x20], ebx
setne byte [ebp - 0xd]
xor eax, eax
mov dword [ebp - 0x50], eax
mov byte [ebp - 0xe], al
xorps xmm0, xmm0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x48], xmm0
call fcn.00429630
push str.crashed
lea ecx, [ebp - 0x18]
call fcn.0054e57b
mov esi, eax
cmp esi, edi
je 0x4869d9
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0x14]
jae 0x4869d9
call fcn.00486846
test al, al
jne 0x4869b8
push ecx
mov edx, str.foobar2000_core
xor ecx, ecx
call fcn.004b0690
cmp eax, 0x41492409
pop ecx
mov ecx, dword [ebp - 0x18]
sete dl
imul eax, esi, 0x18
mov ecx, dword [eax + ecx + 0x1c]
call fcn.0043ac2b
lea ecx, [ebp - 0xe]
call fcn.004865e0
lea ecx, [ebp - 0x18]
call fcn.00417430
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
xor ecx, ecx
push ecx
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x486f36
push str.foobar2000_v1.6.7_beta_16
call dword [0x5b48f0]
cmp ebx, edi
jne 0x486a11
push str.nogui
lea ecx, [ebp - 0x18]
call fcn.0054e57b
cmp eax, edi
jne 0x486a11
xor eax, eax
mov byte [ebp - 0x40], al
jmp 0x486a15
mov byte [ebp - 0x40], 1
mov al, byte [ebp - 0xd]
lea ecx, [ebp - 0x18]
push str.safe
mov byte [0x60f9e6], al
call fcn.0054e57b
cmp eax, edi
lea ecx, [ebp - 0x18]
push str.install
setne byte [0x613d91]
call fcn.0054e57b
cmp eax, edi
lea ecx, [ebp - 0x38]
setne byte [0x613d92]
call int.00408eb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
xor eax, eax
push eax
call dword [0x5b4974]
test eax, eax
je 0x486f30
mov ecx, dword [ebp - 0x34]
xor eax, eax
push eax
mov edx, 0x6073b0
call fcn.0044c910
pop ecx
test al, al
je 0x486f30
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00408e60
push dword [0x6073b8]
mov esi, 0x6073c8
push dword [0x6073b4]
mov ecx, esi
call fcn.0058c580
mov ecx, esi
call fcn.00589830
mov ecx, dword [0x6073cc]
mov esi, eax
add ecx, esi
mov edx, 0x5c4608
call fcn.0058b950
test al, al
jne 0x486adb
lea ecx, [ebp - 0x2c]
call fcn.0042f790
push 0x600978
lea eax, [ebp - 0x2c]
jmp 0x486f4b
push esi
mov esi, 0x6073c8
mov ecx, esi
call fcn.0058c5f0
mov ecx, dword [0x6073cc]
mov edx, 0x5c4618
call fcn.0058bae0
test al, al
jne 0x486b05
push 0x5c
mov ecx, esi
call fcn.00589910
mov edx, str.portable_mode_enabled
lea ecx, [ebp - 0x38]
call fcn.00485d8c
mov ecx, dword [eax + 4]
call fcn.0044b320
lea ecx, [ebp - 0x38]
mov byte [0x60f9e7], al
call fcn.00408e60
cmp byte [0x60f9e7], 0
je 0x486b34
xor eax, eax
jmp 0x486b57
mov edx, 0x5b74c4
lea ecx, [ebp - 0x38]
call fcn.00485d8c
mov ecx, dword [eax + 4]
call fcn.0044b320
lea ecx, [ebp - 0x38]
mov byte [ebp - 0xd], al
call fcn.00408e60
mov al, byte [ebp - 0xd]
mov byte [0x606169], al
call fcn.004866cc
mov eax, dword [0x60739c]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
call fcn.0057bd03
push dword [ebp - 0x3c]
call dword [0x5b48ec]
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.0049e96e
test al, al
jne 0x486bbf
push ecx
push str.Another_instance_is_already_running
lea ecx, [ebp - 0x2c]
call fcn.0042f7f0
push 0x6009b0
jmp 0x486ad3
cmp ebx, edi
jne 0x486bc8
call fcn.00486882
call fcn.00485972
call dword [0x5b4060]
call fcn.00487b6c
call fcn.00445ef0
cmp byte [0x60f9e6], 0
jne 0x486c11
cmp byte [0x613d91], 0
jne 0x486c11
call fcn.0047cc50
test al, al
je 0x486c11
push 0x23
push str.Performing_early_media_library_init
mov byte [0x60f9e5], 1
call dword [0x5b494c]
call fcn.00477620
mov byte [ebp - 4], 7
call fcn.00488720
mov byte [ebp - 4], 8
call fcn.0042d8b1
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
call fcn.00429700
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [esi]
push 0x19
push str.foobar2000_v1.6.7_beta_16
mov edx, dword [ecx]
mov ecx, esi
call edx
mov eax, dword [esi]
mov ecx, esi
push 2
push 0x5c4644
call dword [eax]
cmp byte [0x60f9e7], 0
mov eax, str.standard
mov edx, str.portable
mov ecx, esi
cmove edx, eax
call fcn.00408f50
push 1
push 0x5c4640
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
lea ecx, [ebp - 0x38]
call fcn.00429690
mov byte [ebp - 4], 0xc
call fcn.004c43f7
call fcn.004b3e36
mov byte [0x613d93], 1
mov byte [ebp - 4], 0xd
cmp byte [0x613d91], 0
jne 0x486cce
cmp ebx, 0xffffffff
jne 0x486cce
cmp dword [0x6127d0], 0
je 0x486cce
push str.noresume
lea ecx, [ebp - 0x18]
call fcn.0054e57b
cmp eax, ebx
jne 0x486cce
mov bl, 1
jmp 0x486cd2
xor eax, eax
mov bl, al
lea ecx, [ebp - 0x19]
call fcn.00486405
push str.hide
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.0054e57b
cmp eax, 0xffffffff
lea ecx, [ebp - 0xf]
setne al
push eax
push dword [ebp - 0x40]
call fcn.0048649a
push 0x16
push str.Processing_commandline
mov byte [ebp - 4], 0xf
call dword [0x5b494c]
xor eax, eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push eax
call fcn.0049ec70
xor eax, eax
movzx ebx, bl
cmp byte [ebp - 0xd], al
cmovne ebx, eax
call fcn.00485dd6
xor eax, eax
mov byte [ebp - 0xd], al
mov byte [ebp - 0x10], al
mov cl, bl
mov byte [ebp - 4], 0x11
call fcn.004b4071
mov byte [ebp - 4], 0x12
mov ebx, dword [ebp - 0x20]
cmp ebx, 0xffffffff
jne 0x486d53
call fcn.0042dfc9
lea ecx, [ebp - 0x38]
call int.00408eb0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x38]
mov ecx, dword [0x6073cc]
call fcn.0057bd27
test al, al
je 0x486d7a
push dword [ebp - 0x34]
call dword [0x5b48e8]
lea ecx, [ebp - 0x38]
call fcn.00408e60
push 6
xor eax, eax
lea edi, [ebp - 0x38]
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
mov byte [0x606168], al
call fcn.00429700
mov edi, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [edi]
push 0xf
push str.Startup_time_:
mov esi, dword [ecx]
mov ecx, edi
call esi
lea ecx, [ebp - 0x48]
call fcn.00429590
push 6
movaps xmm2, xmm0
lea ecx, [ebp - 0x8c]
pop edx
call fcn.0058b060
mov byte [ebp - 4], 0x15
mov ecx, edi
mov edx, dword [eax + 4]
call fcn.00408f50
lea ecx, [ebp - 0x8c]
call fcn.00408e60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.00429690
cmp ebx, 0xffffffff
jne 0x486e64
cmp byte [0x60730c], 0
je 0x486dff
call fcn.00529540
push str.app_mainloop
lea ecx, [ebp - 0x20]
call dword [0x5b498c]
mov ecx, 0x613d94
mov byte [ebp - 4], 0x16
call fcn.0048623b
mov ebx, dword [0x613da0]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call dword [0x5b4988]
mov ecx, str.Shutting_down...
call fcn.00579d98
mov eax, dword [0x613e1c]
test eax, eax
je 0x486e4a
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
xor eax, eax
inc ecx
movzx eax, al
cmp byte [0x613d86], 0
mov byte [ebp - 0xd], cl
cmovne eax, ecx
mov byte [ebp - 0xe], al
jmp 0x486e6a
mov ebx, dword [ebp - 0x50]
xor ecx, ecx
inc ecx
mov byte [0x60f9ec], cl
lea ecx, [ebp - 0x10]
call fcn.0048659c
mov byte [ebp - 4], 0x17
cmp byte [ebp - 0xd], 0
je 0x486e8d
mov cl, byte [0x613d87]
call fcn.0042df03
mov byte [ebp - 4], 0x18
call fcn.00485e67
lea ecx, [ebp - 0xf]
call fcn.004864eb
mov byte [ebp - 4], 0x19
call fcn.00477760
mov byte [ebp - 4], 0x1a
xor ecx, ecx
mov al, byte [0x613d93]
mov byte [0x613d93], cl
test al, al
je 0x486ec1
call fcn.004b4001
xor eax, eax
mov byte [ebp - 4], 0x1b
lea ecx, [eax + 1]
call fcn.004884e2
call fcn.00419078
xor eax, eax
lea ecx, [eax + 1]
call fcn.004884e2
mov byte [ebp - 4], 0x1c
call fcn.0042a080
xor eax, eax
mov byte [ebp - 4], 0x1d
lea ecx, [eax + 1]
call fcn.004884e2
call fcn.0042df53
lea ecx, [ebp - 0x1a]
call fcn.00486380
mov byte [ebp - 4], 0x1e
call fcn.00477760
lea ecx, [ebp - 0x74]
call fcn.0049e248
call dword [sym.imp.ole32.dll_OleUninitialize]
lea ecx, [ebp - 0xe]
call fcn.004865e0
lea ecx, [ebp - 0x18]
call fcn.00417430
mov eax, ebx
jmp 0x4869ca
call dword [0x5b49a4]
push str.OleInitialize___failure
lea ecx, [ebp - 0x4c]
call fcn.00408fa0
push 0x6004e4
lea eax, [ebp - 0x4c]
push eax
call fcn.005936f7
int3