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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bc9a
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x47b008]
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 - 0x660], 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.00402430
lea ecx, [edi + 0x84]
call fcn.00402420
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x660], 0
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004025b0
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.0043dca0
add esp, 0x14
lea ecx, [ebp - 0x678]
push esi
call fcn.004035d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x678]
call fcn.00402420
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, eax
cmp dword [ebx + 0x10], 0
jne 0x41d411
mov eax, dword [0x47ccc8]
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x660], 0x47ccc8
test eax, eax
je 0x41d310
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, 0x47cccc
call fcn.00402420
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41d333
cmp dword [eax + 0x14], 8
jb 0x41d32d
mov eax, dword [eax]
push ecx
jmp 0x41d3eb
push 0x20c
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0043dca0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x41d3f7
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x65c]
push eax
call fcn.0043dca0
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 0x41d3d5
test eax, eax
je 0x41d3d5
add eax, eax
cmp eax, 0x412
jae 0x41d675
xor ecx, ecx
mov word [ebp + eax - 0x65c], cx
lea eax, [ebp - 0x65c]
push eax
call fcn.00402610
add esp, 4
push eax
lea eax, [ebp - 0x65c]
jmp 0x41d3eb
lea eax, [ebp - 0x244]
push eax
call fcn.00402610
add esp, 4
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x678]
call fcn.00402450
mov byte [ebp - 4], 1
mov eax, dword [0x47ccc8]
test eax, eax
je 0x41d407
push eax
call esi
mov dword [ebp - 0x660], 0
cmp byte [ebp + 0x10], 0
je 0x41d571
lea ecx, [ebp - 0x678]
call fcn.004041a0
test al, al
jne 0x41d571
lea ecx, [ebp - 0x678]
call fcn.00404240
lea ecx, [ebp - 0x678]
call fcn.004041a0
test al, al
jne 0x41d571
mov eax, dword [0x47ccc8]
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x660], 0x47ccc8
test eax, eax
je 0x41d470
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
mov ecx, 0x47cccc
call fcn.00402420
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41d493
cmp dword [eax + 0x14], 8
jb 0x41d48d
mov eax, dword [eax]
push ecx
jmp 0x41d54b
push 0x20c
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0043dca0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x41d557
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x65c]
push eax
call fcn.0043dca0
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 0x41d535
test eax, eax
je 0x41d535
add eax, eax
cmp eax, 0x412
jae 0x41d675
xor ecx, ecx
mov word [ebp + eax - 0x65c], cx
lea eax, [ebp - 0x65c]
push eax
call fcn.00402610
add esp, 4
push eax
lea eax, [ebp - 0x65c]
jmp 0x41d54b
lea eax, [ebp - 0x244]
push eax
call fcn.00402610
add esp, 4
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x678]
call fcn.00402450
mov byte [ebp - 4], 1
mov eax, dword [0x47ccc8]
test eax, eax
je 0x41d567
push eax
call esi
mov dword [ebp - 0x660], 0
cmp dword [ebx + 0x10], 0
je 0x41d638
mov esi, dword [ebp - 0x67c]
mov ecx, esi
call fcn.00402420
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41d638
push esi
lea edx, [ebp - 0x678]
lea ecx, [ebp - 0x2c]
call fcn.0040b000
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x678]
push eax
call fcn.00404810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402370
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.00402610
add esp, 4
lea ecx, [ebp - 0x678]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403950
lea eax, [ebp - 0x678]
lea ecx, [edi + 0x84]
cmp ecx, eax
je 0x41d638
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x41d62f
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.00402450
mov ecx, edi
call fcn.0041d7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00402370
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.0043bff8
mov esp, ebp
pop ebp
ret 0xc
call fcn.0043c3b3
int3