Function at 0x418f60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x477d6c
mov eax, dword fs:[0]
push eax
sub esp, 0xccc
mov eax, dword [0x4a3f4c]
xor eax, esp
mov dword [esp + 0xcc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3f4c]
xor eax, esp
push eax
lea eax, [esp + 0xce0]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea ecx, [esp + 0x28]
call fcn.0042f420
mov dword [esp + 0xce8], 0
call fcn.0043ae64
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418fcd
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xce8], 1
call fcn.0043ae64
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418fff
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
mov ebx, 2
push ecx
mov byte [esp + 0xcf8], bl
call ebp
test eax, eax
jne 0x419064
lea eax, [esi - 0x10]
mov byte [esp + 0xce8], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x41924b
mov ecx, dword [edi + 0x20]
push ebx
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
mov edx, dword [edi + 0x20]
inc eax
push ebx
lea esi, [eax - 1]
push esi
push 0x100c
push edx
call ebp
mov eax, esi
shl eax, 9
add eax, edi
test dword [eax + 0x220], 0x4000000
je 0x419113
lea ecx, [esp + 0xbd8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0xbd8]
push edx
lea ecx, [esp + 0x20]
call fcn.004022f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xcec], 3
call fcn.00407090
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xce8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4190f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407090
push 0xa
push str.dxwnd.log
lea ecx, [esp + 0x1c]
call fcn.00404ff0
jmp 0x419188
imul esi, esi, 0x78c
cmp byte [esi + edi + 0x202c7], 0
lea ecx, [esi + edi + 0x202c7]
je 0x41913b
push ecx
lea ecx, [esp + 0x18]
call fcn.00402090
lea edx, [esp + 0x14]
push edx
jmp 0x419171
add eax, 0x70
push eax
lea ecx, [esp + 0x18]
call fcn.00402090
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0045d007
add esp, 8
test eax, eax
jne 0x4191e7
or eax, 0xffffffff
push eax
lea ecx, [esp + 0x18]
call fcn.00411ed0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00407090
push str.dxwnd.log
lea ecx, [esp + 0x18]
call fcn.004050b0
mov ebx, dword [esp + 0x14]
push 0x481984
push ebx
call fcn.0045c402
add esp, 8
test eax, eax
je 0x419203
push eax
call fcn.0045bfcf
push 0x24
push 0xea61
push 0xea6b
call fcn.0041ede0
add esp, 0x10
cmp eax, 6
je 0x419203
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xce8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419248
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x419248
sub eax, esi
jne 0x419162
lea ecx, [esp + 0x18]
call fcn.00401af0
lea ecx, [esp + 0x14]
call fcn.00401af0
jmp 0x41926c
mov esi, dword [esp + 0x18]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
push esi
call fcn.00406d10
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.00412290
mov byte [esp + 0xce8], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419248
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [ebx - 0x10]
mov byte [esp + 0xce8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41926c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xce8], 0xffffffff
call fcn.004106c0
mov ecx, dword [esp + 0xce0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc8]
xor ecx, esp
call fcn.0045a1dd
add esp, 0xcd8
ret