Function at 0x4329a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x62c], ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x61c]
mov dword [ebp - 0x628], eax
call fcn.0042ef80
mov eax, dword [edi + 0x38]
xor esi, esi
cmp eax, esi
je 0x4329ea
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x38], esi
push 0x1c
call fcn.0044fff4
add esp, 4
cmp eax, esi
je 0x432a01
mov ecx, eax
call fcn.0043b340
jmp 0x432a03
xor eax, eax
mov dword [edi + 0x38], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [ebp - 0x614]
call fcn.0042ef80
push str.START_COMPRESSION_USING_ICTLIB_n
call fcn.00454fd5
mov eax, dword [edi + 0x40]
add esp, 4
cmp eax, esi
je 0x432a38
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x40], esi
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x40], eax
cmp eax, esi
je 0x432a4a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [edi + 0x34]
cmp eax, esi
je 0x432a60
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov dword [edi + 0x34], esi
push 0x24
call fcn.0044fff4
add esp, 4
cmp eax, esi
je 0x432a77
mov ecx, eax
call fcn.00435790
jmp 0x432a79
xor eax, eax
push str..rzt
lea ecx, [eax + 0x1c]
mov dword [edi + 0x34], eax
call fcn.0042f2d0
push esi
call fcn.00455aae
add esp, 4
push eax
lea ecx, [ebp - 0x614]
call fcn.0042f2d0
lea ecx, [ebp - 0x614]
call fcn.0042ef90
test eax, eax
jne 0x432abd
push str.xxtmpxx.tmp
lea ecx, [ebp - 0x614]
call fcn.0042f2d0
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432ad2
mov eax, dword [ebp - 0x614]
push 0x476474
push eax
call fcn.00450908
mov ebx, eax
add esp, 8
mov dword [ebp - 0x620], ebx
cmp ebx, esi
jne 0x432c68
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
ja 0x432c17
cmp eax, esi
je 0x432c17
lea ecx, [ebp - 0x20c]
push ecx
push esi
push esi
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x432b7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempFileName_failed___d__n
call fcn.0045509a
add eax, 0x40
push eax
call fcn.00450728
add esp, 0xc
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
pop edi
pop esi
mov eax, 0x8004008a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x614]
call fcn.0042f2d0
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432ba1
mov eax, dword [ebp - 0x614]
push 0x476474
push eax
call fcn.00450908
add esp, 8
mov dword [ebp - 0x620], eax
cmp eax, esi
jne 0x432c62
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432bd2
mov eax, dword [ebp - 0x614]
push eax
push str.cant_create_file__s_n
call fcn.0045509a
add eax, 0x40
push eax
call fcn.00450728
add esp, 0xc
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
pop edi
pop esi
mov eax, 0x8004008a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempPath_failed___d__n
call fcn.0045509a
add eax, 0x40
push eax
call fcn.00450728
add esp, 0xc
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
pop edi
pop esi
mov eax, 0x8004008a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp - 0x620]
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x640]
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x634], 6
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x624], esi
test eax, eax
jle 0x432e2c
mov ebx, dword [ebp - 0x62c]
mov ecx, ebx
call fcn.0042ef90
test eax, eax
je 0x432d6e
cmp byte [ebx + 7], 0xff
mov ecx, ebx
jne 0x432cbb
mov ecx, dword [ebx]
lea edx, [ebp - 0x60c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x432cc1
lea ecx, [ebp - 0x60c]
push 0x5c
push ecx
call fcn.004534b0
mov esi, eax
add esp, 8
lea ecx, [ebp - 0x61c]
test esi, esi
je 0x432cf6
lea edx, [esi + 1]
push edx
call fcn.0042f2d0
mov byte [esi], 0
jmp 0x432d09
lea eax, [ebp - 0x60c]
push eax
call fcn.0042f2d0
mov byte [ebp - 0x60c], 0
lea esi, [ebp - 0x60c]
call fcn.00432700
mov esi, eax
test esi, esi
jl 0x432dce
cmp byte [ebp - 0x615], 0xff
lea eax, [ebp - 0x61c]
jne 0x432d33
mov eax, dword [ebp - 0x61c]
push 0x432960
lea ecx, [edi - 4]
push ecx
push eax
lea edx, [ebp - 0x60c]
push edx
call fcn.00431820
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x432dce
mov eax, dword [ebp - 0x624]
movzx ecx, word [ebp + 0x10]
inc eax
add ebx, 8
cmp eax, ecx
mov dword [ebp - 0x624], eax
jl 0x432ca2
test esi, esi
jge 0x432e26
mov ecx, dword [ebp - 0x620]
push ecx
call fcn.004506ac
add esp, 4
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432d9a
mov eax, dword [ebp - 0x614]
push eax
call fcn.0045938a
add esp, 4
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x620]
push eax
call fcn.004506ac
add esp, 4
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432df2
mov eax, dword [ebp - 0x614]
push eax
call fcn.0045938a
add esp, 4
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp - 0x620]
mov eax, dword [edi + 0x38]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [ebp - 0x630]
push ecx
push 0
push 0
push eax
call edx
push ebx
mov esi, eax
call fcn.004506ac
add esp, 4
test esi, esi
jge 0x432e9a
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432e66
mov eax, dword [ebp - 0x614]
push eax
call fcn.0045938a
add esp, 4
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x628]
push 0x476474
push eax
call fcn.00450908
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x432c34
push eax
lea ecx, [edi - 4]
call fcn.00431ef0
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432ed7
mov eax, dword [ebp - 0x614]
mov ecx, dword [edi + 4]
push eax
push ecx
call fcn.004314a0
mov edx, dword [edi + 4]
push edx
call fcn.004506ac
add esp, 0xc
cmp byte [ebp - 0x60d], 0xff
lea eax, [ebp - 0x614]
jne 0x432f02
mov eax, dword [ebp - 0x614]
push eax
call fcn.0045938a
mov eax, dword [edi + 0x38]
add esp, 4
test eax, eax
je 0x432f21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x38], 0
lea ecx, [ebp - 0x614]
call fcn.0042f1e0
lea ecx, [ebp - 0x61c]
call fcn.0042f1e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret 0x14