Function at 0x4475b0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53009f
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x654], edi
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x84]
mov esi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x670], eax
call fcn.00402a90
mov dword [ebp - 4], 0
lea eax, [edi + 0x24]
push 0x60
push 0
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.004e48c0
add esp, 0xc
lea ecx, [ebp - 0x66c]
push esi
call fcn.00404520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x66c]
call fcn.00404470
test al, al
je 0x4477d4
mov eax, dword [0x58e9c4]
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x654], 0x58e9c4
test eax, eax
je 0x4476a8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, 0x58e9c8
call fcn.00404470
test al, al
jne 0x4476f2
push 0x58e9c8
call fcn.00402d80
lea edx, [ebp - 0x66c]
add esp, 4
cmp edx, eax
je 0x4477b6
mov ecx, 0x58e9c8
call fcn.00402ab0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4476e9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x4477ab
push 0x20c
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004e48c0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4477b6
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x650]
push eax
call fcn.004e48c0
add esp, 0xc
lea eax, [ebp - 0x650]
push 0x208
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x447794
test eax, eax
je 0x447794
add eax, eax
cmp eax, 0x412
jae 0x4478f0
xor ecx, ecx
mov word [ebp + eax - 0x650], cx
lea eax, [ebp - 0x650]
push eax
call fcn.00402d30
add esp, 4
push eax
lea eax, [ebp - 0x650]
jmp 0x4477aa
lea eax, [ebp - 0x23c]
push eax
call fcn.00402d30
add esp, 4
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x66c]
call fcn.00402b20
mov byte [ebp - 4], 1
mov eax, dword [0x58e9c4]
test eax, eax
je 0x4477ca
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x654], 0
lea ecx, [ebp - 0x66c]
call fcn.00404470
test al, al
jne 0x4478b3
mov esi, dword [ebp - 0x670]
mov ecx, esi
call fcn.00404470
test al, al
jne 0x4478b3
push esi
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048f1b0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x66c]
push eax
call fcn.004044e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402a30
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x43002e
push eax
mov dword [ebp - 0x2c], 0x650068
mov dword [ebp - 0x28], 0x6b0063
mov dword [ebp - 0x24], 0x740053
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x61
call fcn.00402d30
add esp, 4
lea ecx, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412d50
lea eax, [ebp - 0x66c]
push eax
call fcn.00402d80
add esp, 4
cmp ebx, eax
je 0x4478b3
lea ecx, [ebp - 0x66c]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4478a8
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, ebx
push edx
call fcn.00402b20
mov ecx, edi
call fcn.004479c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x66c]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e2671
int3