Function at 0x45c030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e31a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x52c
push ebx
push esi
mov dword [esp + 8], ecx
push edi
push str.DXFREAD.DLL
lea ecx, [esp + 0x1c]
call fcn.004bb490
mov eax, dword [esp + 0x18]
xor esi, esi
push eax
mov dword [esp + 0x544], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x38], edi
jne 0x45c0f7
mov ecx, dword [0x510fe4]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push str..dxf
push 0x22
push eax
mov byte [esp + 0x550], 1
call fcn.004ca0b5
mov ecx, dword [esp + 0xc]
push esi
push 0x30
push ecx
call fcn.004c8735
lea ecx, [esp + 0xc]
mov byte [esp + 0x540], 0
call fcn.004bb422
lea ecx, [esp + 0x18]
mov dword [esp + 0x540], 0xffffffff
call fcn.004bb422
xor eax, eax
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str._A2DUCT_20
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x45c435
lea edx, [esp + 0x230]
push edx
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, esi
push esi
push esi
jne 0x45c15f
push str.Failed_to_get_temp_directory
call fcn.004c8735
lea ecx, [esp + 0x18]
mov dword [esp + 0x540], 0xffffffff
call fcn.004bb422
xor eax, eax
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x33c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x23c]
push ecx
push edx
call fcn.004a41f7
lea eax, [esp + 0x448]
push 0x104
push eax
call fcn.004a506c
add esp, 0x1c
call fcn.004a4141
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x24]
cmp al, 0x41
jl 0x45c1b2
cmp al, 0x5a
jg 0x45c1b2
movsx ecx, al
sub ecx, 0x40
push ecx
call fcn.004a4184
add esp, 4
lea edx, [esp + 0x334]
push edx
call fcn.004a40bb
mov eax, dword [str.tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttuU]
add esp, 4
lea ecx, [esp + 0x12c]
mov dword [esp + 0x2c], eax
push ecx
call fcn.004a406e
push eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x238]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push eax
call fcn.004670c0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ecx
inc ecx
push ecx
call fcn.004bb163
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45c246
lea ecx, [esp + 0x18]
mov dword [esp + 0x540], 0xffffffff
call fcn.004bb422
xor eax, eax
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x12c]
mov edx, ecx
mov esi, edi
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004670c0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x20]
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x30]
push edx
push ecx
push ebx
call dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45c2af
xor esi, esi
jmp 0x45c40f
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x1c]
push edx
call fcn.004bb490
mov eax, dword [0x50c95c]
mov esi, dword [esp + 0xc]
cmp eax, 0xffffffff
mov byte [esp + 0x540], 2
jne 0x45c2ef
mov eax, dword [esi + 0x1c8]
xor ecx, ecx
mov eax, dword [eax + 0x104]
test eax, eax
setne cl
mov dword [0x50c95c], ecx
push 0
lea ecx, [esp + 0x40]
call fcn.004150e0
mov eax, dword [0x50c95c]
xor edx, edx
test eax, eax
sete dl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x540], 3
mov dword [esp + 0x98], edx
call fcn.004bbf60
mov edi, dword [esp + 0x98]
xor ecx, ecx
test edi, edi
sete cl
mov dword [0x50c95c], ecx
mov eax, dword [esi + 0x1c8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x3ff00000
mov eax, dword [eax + 0x104]
test eax, eax
je 0x45c36c
test ecx, ecx
jne 0x45c368
mov dword [esp + 0xc], 0x66666666
mov dword [esp + 0x10], 0x40396666
jmp 0x45c380
test eax, eax
jne 0x45c380
test ecx, ecx
je 0x45c380
mov dword [esp + 0xc], 0xa142850a
mov dword [esp + 0x10], 0x3fa42850
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0x3ff00000
push 0
push eax
push ecx
push eax
push ecx
push 0
lea ecx, [esp + 0xb8]
call fcn.004677d0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x54c], 4
call fcn.0045c480
lea ecx, [esp + 0x12c]
mov esi, eax
push ecx
call fcn.004670c0
push eax
call fcn.004a474b
add esp, 8
lea ecx, [esp + 0x9c]
mov byte [esp + 0x540], 3
call fcn.004671b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x540], 2
call fcn.004bbb5d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x540], 0
call fcn.004bb422
push ebx
call fcn.004bb18c
mov edx, dword [esp + 0x34]
push edx
call fcn.004a4184
lea eax, [esp + 0x43c]
push eax
call fcn.004a40bb
mov edi, dword [esp + 0x44]
add esp, 0xc
jmp 0x45c443
push 0xffffffffffffffff
push 0x30
push 0x133
call fcn.004c876d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004a4f26
lea ecx, [esp + 0x18]
mov dword [esp + 0x540], 0xffffffff
call fcn.004bb422
mov ecx, dword [esp + 0x538]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4