Function at 0x41e640
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x457ecf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x350
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x370]
lea ecx, [esp + 0x15c]
push eax
xor edi, edi
push str.SetupCTYFileForV92_ENTRY_:_csCTYFileNamePath___s_n
push ecx
mov dword [esp + 0x374], edi
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea edx, [esp + 0x15c]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov eax, dword [0x471df4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x25c]
mov byte [esp + 0x368], 6
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x370]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a4c1
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.00449442
cmp eax, 0xffffffff
je 0x41e70a
inc eax
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.004490eb
lea edx, [esp + 0x25c]
lea ecx, [esp + 0x28]
push edx
call fcn.0044a442
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov bl, 7
push eax
push edx
mov byte [esp + 0x374], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x36c], 8
call fcn.0044a4c1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x368], bl
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x368], 6
call fcn.0044a3d4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x370]
push eax
push ecx
call fcn.0042cf30
mov eax, dword [0x471df4]
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
push str.CnxtTemp
lea ecx, [esp + 0x38]
mov byte [esp + 0x36c], 0xa
call fcn.0044a442
mov esi, eax
lea edx, [esp + 0x25c]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x36c], 0xb
call fcn.0044a442
push esi
push eax
lea eax, [esp + 0x30]
mov bl, 0xc
push eax
mov byte [esp + 0x374], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x36c], 0xd
call fcn.0044a4c1
lea ecx, [esp + 0x28]
mov byte [esp + 0x368], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x368], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
mov ecx, dword [esp + 0x20]
push 0x46ae3c
push ecx
call fcn.0043af00
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x41ec1d
mov edx, dword [esp + 0x370]
push 0x46ae38
push edx
call fcn.0043af00
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x1c], esi
je 0x41ebf0
push esi
lea eax, [esp + 0x5c]
push 0x103
push eax
call fcn.0043ae30
add esp, 0xc
test eax, eax
je 0x41ebe7
mov bl, 0x14
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044a511
lea edx, [esp + 0x10]
push edx
call fcn.004136a0
add esp, 4
lea ecx, [esp + 0x10]
push str._V92_CONTROL_1_
call fcn.00449464
cmp eax, 0xffffffff
je 0x41ebc1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a4c1
push 0x46c3d4
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
je 0x41e996
inc eax
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004493ca
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x36c], 0xe
call fcn.0044a4c1
lea ecx, [esp + 0x34]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
push esi
lea edx, [esp + 0x5c]
push 0x103
push edx
call fcn.0043ae30
add esp, 0xc
test eax, eax
je 0x41e996
lea eax, [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
call fcn.0044a511
lea ecx, [esp + 0x10]
push ecx
call fcn.004136a0
add esp, 4
lea ecx, [esp + 0x10]
push 0x46c3d4
call fcn.00449464
cmp eax, 0xffffffff
je 0x41e988
inc eax
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004493ca
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x36c], 0xf
call fcn.0044a4c1
lea ecx, [esp + 0x28]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0044a7a0
jmp 0x41e8f9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0044a7a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0044a4c1
push 0x2c
lea ecx, [esp + 0x14]
call fcn.00449442
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea65
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
call fcn.0044a4c1
push esi
push 0
lea ecx, [esp + 0x34]
call fcn.004490eb
lea ecx, [esp + 0x38]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.004493ca
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x36c], 0x10
call fcn.0044a4c1
lea ecx, [esp + 0x38]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
push 0x2c
lea ecx, [esp + 0x14]
call fcn.00449442
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea65
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.0044a4c1
inc esi
lea eax, [esp + 0x50]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.004493ca
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x36c], 0x11
call fcn.0044a4c1
lea ecx, [esp + 0x50]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
push esi
push 0
lea ecx, [esp + 0x18]
call fcn.004490eb
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0043a840
mov esi, eax
add esp, 4
test esi, esi
jne 0x41eaa2
push 0x46c3d0
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x41eaa2
push 0x46c3cc
lea ecx, [esp + 0x14]
call fcn.00449464
cmp eax, 0xffffffff
je 0x41ebbd
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 4]
test eax, eax
je 0x41eab2
or esi, 2
jmp 0x41eab8
and esi, 0xfd
push esi
lea eax, [esp + 0x1c]
push 0x46c3c8
push eax
call fcn.004497ea
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp dword [ecx - 8], 1
jne 0x41eb0c
lea edx, [esp + 0x18]
lea eax, [esp + 0x54]
push edx
push 0x46c3cc
push eax
call fcn.0044a691
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x36c], 0x12
call fcn.0044a4c1
lea ecx, [esp + 0x54]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call fcn.0044a5b7
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov byte [esp + 0x374], 0x13
call fcn.0044a5b7
push 0x46b908
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x370], bl
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x36c], 0x15
call fcn.0044a4c1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x368], bl
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x368], 0x13
call fcn.0044a3d4
lea ecx, [esp + 0x40]
mov byte [esp + 0x368], 0xa
call fcn.0044a3d4
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 1
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
push ebp
push ecx
call fcn.0043add0
push esi
lea edx, [esp + 0x64]
push 0x103
push edx
call fcn.0043ae30
add esp, 0x14
test eax, eax
jne 0x41e86f
push esi
call fcn.0043ad20
add esp, 4
push ebp
call fcn.0043ad20
add esp, 4
test edi, edi
je 0x41ec1d
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.0042cf30
add esp, 8
mov edx, dword [esp + 0x20]
push edx
call fcn.0042cc40
add esp, 4
lea eax, [esp + 0x15c]
push edi
push str.SetupCTYFileForV92_EXIT_:_bRetVal___d_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x15c]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x368], 9
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x368], 6
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x368], 5
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x368], 4
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x368], 3
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x368], 2
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x368], 1
call fcn.0044a3d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x368], 0
call fcn.0044a3d4
lea ecx, [esp + 0x370]
mov dword [esp + 0x368], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x360]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x35c
ret 4