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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3baa
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x678], edi
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x84]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x67c], eax
call fcn.10004950
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.10096b80
add esp, 0xc
lea ecx, [ebp - 0x674]
push esi
call fcn.10006950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x674]
call fcn.10004890
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test al, al
je 0x10073a66
mov eax, dword [0x10110774]
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x678], 0x10110774
test eax, eax
je 0x1007393e
push eax
call ebx
mov byte [ebp - 4], 2
mov ecx, 0x10110778
call fcn.10004890
test al, al
jne 0x10073988
push 0x10110778
call fcn.10005450
lea ecx, [ebp - 0x674]
add esp, 4
cmp ecx, eax
je 0x10073a4c
mov ecx, 0x10110778
call fcn.10004ad0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1007397f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x10073a41
push 0x20c
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x10073a4c
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x65c]
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x65c]
push 0x208
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10073a2a
test eax, eax
je 0x10073a2a
add eax, eax
cmp eax, 0x412
jae 0x10073d17
xor ecx, ecx
mov word [ebp + eax - 0x65c], cx
lea eax, [ebp - 0x65c]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp - 0x65c]
jmp 0x10073a40
lea eax, [ebp - 0x244]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x674]
call fcn.10004af0
mov byte [ebp - 4], 1
mov eax, dword [0x10110774]
test eax, eax
je 0x10073a5c
push eax
call esi
mov dword [ebp - 0x678], 0
cmp byte [ebp + 0x10], 0
je 0x10073bf5
lea eax, [ebp - 0x674]
push eax
call fcn.1000efc0
add esp, 4
test al, al
jne 0x10073bf5
lea eax, [ebp - 0x674]
push eax
call fcn.1000f520
add esp, 4
lea eax, [ebp - 0x674]
push eax
call fcn.1000efc0
add esp, 4
test al, al
jne 0x10073bf5
mov eax, dword [0x10110774]
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x678], 0x10110774
test eax, eax
je 0x10073acd
push eax
call ebx
mov byte [ebp - 4], 3
mov ecx, 0x10110778
call fcn.10004890
test al, al
jne 0x10073b17
push 0x10110778
call fcn.10005450
lea edx, [ebp - 0x674]
add esp, 4
cmp edx, eax
je 0x10073bdb
mov ecx, 0x10110778
call fcn.10004ad0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10073b0e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x10073bd0
push 0x20c
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x10073bdb
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x65c]
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x65c]
push 0x208
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10073bb9
test eax, eax
je 0x10073bb9
add eax, eax
cmp eax, 0x412
jae 0x10073d17
xor ecx, ecx
mov word [ebp + eax - 0x65c], cx
lea eax, [ebp - 0x65c]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp - 0x65c]
jmp 0x10073bcf
lea eax, [ebp - 0x244]
push eax
call fcn.10004cb0
add esp, 4
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x674]
call fcn.10004af0
mov byte [ebp - 4], 1
mov eax, dword [0x10110774]
test eax, eax
je 0x10073beb
push eax
call esi
mov dword [ebp - 0x678], 0
lea ecx, [ebp - 0x674]
call fcn.10004890
test al, al
jne 0x10073cda
mov esi, dword [ebp - 0x67c]
mov ecx, esi
call fcn.10004890
test al, al
jne 0x10073cda
push esi
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10014bb0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x674]
push eax
call fcn.1000b110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100048a0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x43002e
push eax
mov dword [ebp - 0x30], 0x650068
mov dword [ebp - 0x2c], 0x6b0063
mov dword [ebp - 0x28], 0x740053
mov dword [ebp - 0x24], 0x740061
mov dword [ebp - 0x20], 0x64002e
mov dword [ebp - 0x1c], 0x740061
mov dword [ebp - 0x18], 0x61
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x674]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10005970
lea eax, [ebp - 0x674]
push eax
call fcn.10005450
lea esi, [edi + 0x84]
add esp, 4
cmp esi, eax
je 0x10073cda
lea ecx, [ebp - 0x674]
call fcn.10004ad0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x10073ccf
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.10004af0
mov ecx, edi
call fcn.10073e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x674]
call fcn.100048a0
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 - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 0xc
call fcn.100948c8
int3