Function at 0x43ca62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebx + 0x11]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax], edx
test edx, edx
je 0x43ca88
inc word [edx + 0xe]
lea eax, [ebx + 0x15]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax], edx
test edx, edx
je 0x43ca9a
inc word [edx + 0x12]
lea esi, [ebx + 0x249]
push 0x42d7e1
push 0x83
push pe_nt_image_headers32
push 1
lea eax, [esi + 1]
push eax
call fcn.0044cf68
xor edx, edx
mov byte [esi], 0
mov dword [ebx], edx
add esp, 0x14
mov cl, byte [ebp + 0x28]
mov byte [ebx + 4], cl
mov al, byte [ebp + 0x1c]
mov byte [ebx + 5], al
mov dl, byte [ebp + 0x18]
mov byte [ebx + 6], dl
mov cl, byte [ebp + 0x14]
mov byte [ebx + 7], cl
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x11]
mov dl, byte [ebp + 8]
mov byte [ebx + 0x10], dl
mov edx, dword [eax]
test edx, edx
je 0x43cb09
test byte [edx + 0xd], 1
setne cl
and ecx, 1
test cl, cl
jne 0x43cb09
xor eax, eax
jmp 0x43cb0e
mov eax, 1
movsx edx, al
cmp edx, 1
sbb ecx, ecx
neg ecx
test cl, cl
je 0x43cc14
lea eax, [ebx + 0x15]
mov edx, dword [eax]
test edx, edx
je 0x43cb3b
test byte [edx + 0x11], 1
setne cl
and ecx, 1
test cl, cl
jne 0x43cb3b
xor eax, eax
jmp 0x43cb40
mov eax, 1
movsx edx, al
cmp edx, 1
sbb ecx, ecx
neg ecx
test cl, cl
je 0x43cc14
lea eax, [ebx + 0x11]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx]
test ecx, ecx
je 0x43cb6b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov cl, byte [edx + 0xc]
jmp 0x43cb6d
mov cl, 1
lea eax, [ebx + 0x15]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
test eax, eax
je 0x43cb86
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dl, byte [eax + 0x10]
jmp 0x43cb88
mov dl, 1
cmp cl, dl
jbe 0x43cc14
lea eax, [ebx + 0x15]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x43cba9
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
mov al, byte [ecx + 0x10]
jmp 0x43cbab
mov al, 1
xor edx, edx
mov dl, al
lea eax, [ebp - 0x24]
mov word [ebp - 0x16], dx
mov dword [ebp - 0x24], 0x450384
mov dword [ebp - 0x24], 0x450604
mov cx, word [ebp - 0x16]
mov word [ebp - 0x20], cx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
lea ecx, [ebx + 0x11]
mov esi, dword [edx]
mov edx, dword [ebp - 0x14]
call dword [esi]
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x11]
call fcn.004249f0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x43cc14
mov eax, dword [ebp - 0x28]
dec word [eax + 0xe]
mov dx, word [eax + 0xe]
test dx, dx
jne 0x43cc14
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x43cc14
mov edx, 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebx + 0x11]
mov edx, dword [eax]
test edx, edx
je 0x43cc2f
test byte [edx + 0xd], 1
setne cl
and ecx, 1
test cl, cl
jne 0x43cc2f
xor eax, eax
jmp 0x43cc34
mov eax, 1
movsx edx, al
cmp edx, 1
sbb ecx, ecx
neg ecx
test cl, cl
je 0x43cd3e
lea eax, [ebx + 0x15]
mov edx, dword [eax]
test edx, edx
je 0x43cc63
mov ecx, dword [eax]
test byte [ecx + 0x11], 1
setne al
and eax, 1
test al, al
jne 0x43cc63
xor edx, edx
jmp 0x43cc68
mov edx, 1
movsx ecx, dl
cmp ecx, 1
sbb eax, eax
neg eax
test al, al
je 0x43cd3e
lea edx, [ebx + 0x11]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
test eax, eax
je 0x43cc93
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
jmp 0x43cc98
mov eax, 0xac44
lea edx, [ebx + 0x15]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
test edx, edx
je 0x43ccb1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
jmp 0x43ccb6
mov ecx, 0xac44
cmp eax, ecx
jle 0x43cd3e
lea eax, [ebx + 0x15]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
test eax, eax
je 0x43ccd7
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
jmp 0x43ccdc
mov eax, 0xac44
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x450384
mov dword [ebp - 0x44], 0x450600
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
lea ecx, [ebx + 0x11]
mov edx, dword [ebp - 0x34]
mov esi, dword [eax]
lea eax, [ebp - 0x48]
call dword [esi]
lea edx, [ebp - 0x48]
lea eax, [ebx + 0x11]
call fcn.004249f0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x43cd3e
mov eax, dword [ebp - 0x48]
dec word [eax + 0xe]
mov dx, word [eax + 0xe]
test dx, dx
jne 0x43cd3e
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x43cd3e
mov edx, 3
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx]
mov byte [ebx + 0x19], 0
mov byte [ebx + 0x11d], 0
mov dword [ebx + 0x221], 0xffffffff
mov dword [ebx + 0x225], 0xffffffff
xor eax, eax
mov dword [ebx + 0x231], eax
xor edx, edx
mov dword [ebx + 0x23d], edx
xor ecx, ecx
mov dword [ebx + 0x241], ecx
xor eax, eax
mov dword [ebx + 0x245], eax
lea eax, [ebx + 0x11]
mov edx, dword [eax]
test edx, edx
je 0x43cd9a
mov ecx, dword [eax]
test byte [ecx + 0xd], 1
setne al
and eax, 1
test al, al
jne 0x43cd9a
xor edx, edx
jmp 0x43cd9f
mov edx, 1
test dl, dl
jne 0x43d0eb
lea eax, [ebx + 0x15]
mov edx, dword [eax]
test edx, edx
je 0x43cdc4
mov ecx, dword [eax]
test byte [ecx + 0x11], 1
setne al
and eax, 1
test al, al
jne 0x43cdc4
xor edx, edx
jmp 0x43cdc9
mov edx, 1
test dl, dl
jne 0x43d0eb
xor ecx, ecx
mov dword [ebx + 0x229], ecx
lea ecx, [ebx + 0x11]
mov eax, dword [ecx]
test eax, eax
je 0x43cde9
mov edx, dword [ecx]
mov eax, dword [edx + 4]
jmp 0x43cdee
mov eax, 0xac44
mov ecx, 0x32
cdq
idiv ecx
mov dword [ebx + 0x22d], eax
mov eax, dword [ebx + 0x22d]
cmp eax, 0x14
jge 0x43ce11
mov dword [ebx + 0x22d], 0x14
mov edx, dword [ebx + 0x22d]
cmp edx, 0x2000
jle 0x43ce29
mov dword [ebx + 0x22d], 0x2000
lea ecx, [ebp - 0x15c]
push ecx
push 0x104
call sub.KERNEL32.dll_GetTempPathA
test eax, eax
je 0x43d0eb
lea eax, [ebx + 0x19]
push eax
push 0
push 0x459f90
lea edx, [ebp - 0x15c]
push edx
call sub.KERNEL32.dll_GetTempFileNameA
lea ecx, [ebx + 0x11d]
push ecx
push 0
push 0x459f94
lea eax, [ebp - 0x15c]
push eax
call sub.KERNEL32.dll_GetTempFileNameA
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea edx, [ebx + 0x19]
push edx
call sub.KERNEL32.dll_CreateFileA
mov dword [ebx + 0x221], eax
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [ebx + 0x11d]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov dword [ebx + 0x225], eax
lea eax, [ebx + 0x11]
mov edx, dword [eax]
test edx, edx
je 0x43cec8
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
jmp 0x43cecd
mov eax, 0xac44
test eax, eax
jle 0x43cf8b
fild dword [ebp + 0x24]
fmul qword [0x43d0f6]
lea edx, [ebx + 0x11]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
test eax, eax
je 0x43cef7
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
jmp 0x43cefc
mov eax, 0xac44
mov dword [ebp - 0x160], eax
add esp, 0xfffffff8
fild dword [ebp - 0x160]
fdivp st(1)
fstp qword [esp]
call fcn.0044a854
add esp, 8
fsubr dword [0x43d0fe]
fmul dword [0x43d102]
call fcn.0044aad4
mov dword [ebx + 0x235], eax
fild dword [ebp + 0x20]
fmul qword [0x43d0f6]
lea edx, [ebx + 0x11]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
test eax, eax
je 0x43cf51
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
jmp 0x43cf56
mov eax, 0xac44
mov dword [ebp - 0x160], eax
add esp, 0xfffffff8
fild dword [ebp - 0x160]
fdivp st(1)
fstp qword [esp]
call fcn.0044a854
add esp, 8
fsubr dword [0x43d0fe]
fmul dword [0x43d102]
call fcn.0044aad4
mov dword [ebx + 0x239], eax
jmp 0x43cf9b
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x235], edx
mov dword [ebx + 0x239], ecx
lea eax, [ebx + 0x11]
mov edx, dword [eax]
test edx, edx
je 0x43cfab
mov ecx, dword [eax]
mov al, byte [ecx + 0xc]
jmp 0x43cfad
mov al, 1
mov byte [ebx + 0x249], al
lea esi, [ebx + 0x11]
mov eax, dword [esi]
test eax, eax
je 0x43cfc3
mov edx, dword [esi]
mov cl, byte [edx + 0xc]
jmp 0x43cfc5
mov cl, 1
lea edi, [ebx + 0x15]
mov eax, dword [edi]
test eax, eax
je 0x43cfd5
mov edx, dword [edi]
mov al, byte [edx + 0x10]
jmp 0x43cfd7
mov al, 1
cmp cl, al
jb 0x43cff8
lea edx, [ebx + 0x11]
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
test eax, eax
je 0x43cff4
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx]
mov al, byte [ecx + 0xc]
jmp 0x43d013
mov al, 1
jmp 0x43d013
lea edx, [ebx + 0x15]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
test eax, eax
je 0x43d011
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx]
mov al, byte [ecx + 0x10]
jmp 0x43d013
mov al, 1
xor edx, edx
mov dl, al
imul edx, dword [ebx + 0x22d]
shl edx, 2
push edx
call fcn.0044cdb4
lea esi, [ebx + 0x11]
pop ecx
mov dword [ebx + 0x231], eax
mov eax, dword [esi]
test eax, eax
je 0x43d03e
mov edx, dword [esi]
mov cl, byte [edx + 0xc]
jmp 0x43d040
mov cl, 1
xor eax, eax
mov al, cl
shl eax, 2
push eax
call fcn.0044cdb4
lea esi, [ebx + 0x11]
pop ecx
mov dword [ebx + 0x23d], eax
mov eax, dword [esi]
test eax, eax
je 0x43d064
mov edx, dword [esi]
mov cl, byte [edx + 0xc]
jmp 0x43d066
mov cl, 1
xor eax, eax
mov al, cl
shl eax, 2
push eax
call fcn.0044cdb4
pop ecx
mov dword [ebx + 0x241], eax
lea esi, [ebx + 0x11]
push 0x43f07c
push 0x83
mov eax, dword [esi]
test eax, eax
je 0x43d094
mov edx, dword [esi]
mov cl, byte [edx + 0xc]
jmp 0x43d096
mov cl, 1
xor eax, eax
mov al, cl
push eax
push 0x404
push 0
call fcn.0044cf68
add esp, 0x14
mov dword [ebx + 0x245], eax
xor eax, eax
jmp 0x43d0cf
xor edx, edx
mov dl, al
mov ecx, dword [ebx + 0x23d]
xor esi, esi
mov dword [ecx + edx*4], esi
mov ecx, dword [ebx + 0x241]
xor esi, esi
mov dword [ecx + edx*4], esi
inc eax
lea edx, [ebx + 0x11]
mov ecx, dword [edx]
test ecx, ecx
je 0x43d0df
mov edx, dword [edx]
mov cl, byte [edx + 0xc]
jmp 0x43d0e1
mov cl, 1
cmp al, cl
jb 0x43d0b4
mov dword [ebx], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24