Function at 0x416b40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45996c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x4bfbe4]
push ebx
push esi
push edi
mov dword [esp + 0x12c], eax
push 0x104
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401c70
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], ebx
call fcn.0043ec5e
push str.WanMP3.ocx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x144], 1
call fcn.004065c0
add esp, 0xc
mov eax, dword [eax]
push ebx
push 0x8020
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 2
call fcn.0043ec74
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x138], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416bfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, ebx
je 0x416c28
lea ecx, [esp + 0x14]
call fcn.0043ef15
cmp eax, 0x49000
jne 0x416c15
cmp edx, ebx
je 0x416c17
xor esi, esi
lea ecx, [esp + 0x14]
call fcn.0043eff7
cmp esi, ebx
jne 0x416d8e
push str.WanMP3.ocx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004065c0
add esp, 0xc
mov eax, dword [eax]
push ebx
push 0x9021
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 3
call fcn.0043ec74
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x138], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416c80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, ebx
lea ecx, [esp + 0x14]
jne 0x416cc1
mov byte [esp + 0x138], bl
call fcn.0043f033
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x138], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x416d8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x416dc2
mov eax, dword [0x475618]
push eax
push 0x475620
call fcn.0043edeb
lea ecx, [esp + 0x14]
call fcn.0043eff7
push str.WanMP3.ocx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004065c0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416d19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0x20
jb 0x416d58
push 0x45ec44
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x416d58
call eax
test eax, eax
jge 0x416d8e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0043f033
lea ecx, [esp + 0xc]
call fcn.004015b0
xor al, al
jmp 0x416dc2
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0043f033
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x138], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x416d8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x416dc2
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0043f033
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x138], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x416dc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
pop ebx
call fcn.0042825d
add esp, 0x130
ret