Function at 0x43995c
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1200
call fcn.004a9200
mov edi, ecx
mov eax, dword [0x4f6014]
xor eax, ebp
mov dword [esp + 0x11f8], eax
cmp dword [ecx], 0
je 0x43999f
mov bl, 1
cmp dword [edi + 4], 0
jne 0x43a0f9
mov ecx, edi
call fcn.0043a1d0
mov dword [edi + 4], eax
jmp 0x43a0f9
xor ebx, ebx
dec ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
xor eax, eax
lea esi, [esp + 0x1f8]
push 0x1000
push eax
push esi
call fcn.004ab560
add esp, 0xc
push 0x800
push esi
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
mov dword [esp], edi
je 0x439a25
lea esi, [esp + 0x170]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ecx, esi
lea ebx, [esp + 0x1f8]
push ebx
call fcn.00413982
mov ecx, esi
push 0x5c
push 1
call fcn.00435c1e
cmp byte [eax + 0xb], 0
js 0x439a3c
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
jmp 0x439a4a
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
lea ebx, [esp + 0x1f8]
jmp 0x439a63
lea ecx, [esp + 8]
push dword [eax + 4]
push dword [eax]
call fcn.00435230
cmp byte [esp + 0x17b], 0
jns 0x439a63
push dword [esp + 0x170]
call fcn.004a7ee0
add esp, 4
xor esi, esi
push 0x1000
push esi
push ebx
call fcn.004ab560
add esp, 0xc
push esi
push 0x1c
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea esi, [esp + 0x64]
mov edi, ebx
xor ebx, ebx
dec ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push edi
call fcn.004c3f8c
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0043d840
lea edi, [esp + 0x58]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ebx, [esp + 0xf0]
mov ecx, esi
push 0xc
push 0x4e740c
push ebx
call fcn.0043e830
lea esi, [esp + 0x170]
mov ecx, ebx
push 6
push str.config
push esi
call fcn.0043e830
mov ecx, esi
push 3
push 0x4e7426
push edi
call fcn.0043ebe0
mov ecx, esi
call fcn.0043d8f0
mov ecx, ebx
call fcn.0043d8f0
xorps xmm0, xmm0
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x20], xmm0
movaps xmmword [esi + 0x10], xmm0
mov dword [esp + 4], esi
movaps xmmword [esi], xmm0
movaps xmmword [ebx + 0x70], xmm0
movaps xmmword [ebx + 0x60], xmm0
movaps xmmword [ebx + 0x50], xmm0
movaps xmmword [ebx + 0x40], xmm0
movaps xmmword [ebx + 0x30], xmm0
movaps xmmword [ebx + 0x20], xmm0
movaps xmmword [ebx + 0x10], xmm0
movaps xmmword [ebx], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
push edi
call fcn.00450290
add esp, 4
test al, al
je 0x439c0a
cmp byte [esp + 0x63], 0
mov eax, edi
jns 0x439b97
mov eax, dword [esp + 0x58]
mov esi, 0x40
lea ecx, [esp + 0x170]
mov ebx, 0x4e38c0
mov edx, str.AppLoadInfo
push eax
push esi
push ecx
push ebx
push 0x4e3492
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp byte [esp + 0x63], 0
mov eax, edi
jns 0x439bca
mov eax, dword [esp + 0x58]
push eax
push esi
lea eax, [esp + 0xf8]
push eax
push ebx
push str.PreVersion
mov eax, str.AppLoadInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp byte [esp + 0x63], 0
jns 0x439bf1
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x70]
push edi
push esi
push eax
push ebx
push str.ImportantVersion
mov eax, str.AppLoadInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
dec eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x13]
test al, al
jns 0x439c2c
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x439c30
lea edx, [esp + 8]
lea esi, [esp + 0x4c]
mov ecx, esi
push eax
push edx
call fcn.0043d840
lea edi, [esp + 0x40]
xor ebx, ebx
dec ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
push str.libcurl_x86.dll
call fcn.00413982
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ebx, [esp + 0x170]
push ebx
call fcn.004c3f8c
add esp, 4
lea edx, [esp + 0x28]
mov ecx, esi
push eax
push ebx
push edx
call fcn.0043e830
movzx eax, byte [edi + 0xb]
test al, al
jns 0x439c92
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x34]
lea ebx, [esp + 0x28]
mov ecx, ebx
push eax
push edi
push esi
call fcn.0043e830
mov ecx, ebx
call fcn.0043d8f0
push esi
call fcn.00450290
add esp, 4
test al, al
je 0x439d0a
xor eax, eax
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea esi, [esp + 0x170]
push esi
call fcn.004c3f8c
add esp, 4
lea edi, [esp + 0x18]
lea ecx, [esp + 0x4c]
push eax
push esi
push edi
call fcn.0043e830
cmp byte [edi + 0xb], 0
js 0x439dfd
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x28], xmm0
jmp 0x439e0e
lea esi, [esp + 0xf0]
push esi
call fcn.004c3f8c
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esp + 0x4c]
push eax
push esi
push edx
call fcn.0043e830
movzx eax, byte [esp + 0x4b]
test al, al
jns 0x439d3d
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x439d41
lea edx, [esp + 0x40]
lea ebx, [esp + 0x18]
mov ecx, ebx
push eax
push edx
lea esi, [esp + 0x30]
push esi
call fcn.0043e830
lea edi, [esp + 0x34]
mov ecx, edi
push esi
call fcn.0043d930
mov ecx, esi
call fcn.0043d8f0
mov ecx, ebx
call fcn.0043d8f0
push edi
call fcn.00450290
add esp, 4
test al, al
je 0x439dcd
xor esi, esi
dec esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea ebx, [esp + 0xf0]
push ebx
call fcn.004c3f8c
add esp, 4
lea ecx, [esp + 0x4c]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.0043e830
cmp byte [esp + 0x23], 0
js 0x439eb4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x28], xmm0
jmp 0x439ec5
lea esi, [esp + 0x70]
push esi
call fcn.004c3f8c
add esp, 4
lea ecx, [esp + 0x4c]
push eax
push esi
lea eax, [esp + 0x20]
push eax
call fcn.0043e830
movzx eax, byte [esp + 0x4b]
test al, al
jns 0x439e19
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x439e1d
lea ecx, [esp + 0x28]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.00435230
mov edi, dword [esp]
xor esi, esi
dec esi
jmp 0x439ec8
lea edx, [esp + 0x40]
lea edi, [esp + 0x18]
mov ecx, edi
push eax
push edx
lea ebx, [esp + 0x30]
push ebx
call fcn.0043e830
lea esi, [esp + 0x34]
mov ecx, esi
push ebx
call fcn.0043d930
mov ecx, ebx
call fcn.0043d8f0
mov ecx, edi
call fcn.0043d8f0
push esi
call fcn.00450290
add esp, 4
test al, al
je 0x439e9b
xor eax, eax
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea esi, [esp + 0x70]
push esi
call fcn.004c3f8c
add esp, 4
lea ecx, [esp + 0x4c]
push eax
push esi
push edi
call fcn.0043e830
cmp byte [esp + 0x23], 0
js 0x439ef7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x28], xmm0
jmp 0x439f08
lea ecx, [esp + 0x18]
push 0x4e38c0
call fcn.00413982
xor esi, esi
dec esi
mov edi, dword [esp]
jmp 0x439f4d
lea ecx, [esp + 0x28]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.00435230
mov edi, dword [esp]
lea ecx, [esp + 0x18]
call fcn.0043d8f0
lea ecx, [esp + 0x28]
push 0x5c
push 1
call fcn.00435c1e
cmp byte [eax + 0xb], 0
js 0x439f2c
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
jmp 0x439f3a
lea ecx, [esp + 0x28]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.00435230
lea ecx, [esp + 0x18]
call fcn.0043d8f0
lea ecx, [esp + 0x28]
push 0x5c
push 1
call fcn.00435c1e
cmp byte [eax + 0xb], 0
mov esi, 0xffffffff
mov edi, dword [esp]
jns 0x439ee4
lea ecx, [esp + 0x18]
push dword [eax + 4]
push dword [eax]
call fcn.00435230
cmp byte [esp + 0x33], 0
jns 0x439f4d
push dword [esp + 0x28]
call fcn.004a7ee0
add esp, 4
lea ecx, [esp + 0x34]
call fcn.0043d8f0
cmp byte [esp + 0x4b], 0
jns 0x439f69
push dword [esp + 0x40]
call fcn.004a7ee0
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0043d8f0
lea ecx, [esp + 0x58]
call fcn.0043d8f0
lea ecx, [esp + 0x64]
call fcn.0043d8f0
cmp byte [esp + 0x13], 0
jns 0x439f97
push dword [esp + 8]
call fcn.004a7ee0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 8], xmm0
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1fc], esi
mov dword [esp + 0x200], esi
mov ebx, esi
lea esi, [esp + 0x1f8]
mov ecx, esi
push str.libcurl_x86.dll
call fcn.00413982
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x178], ebx
movzx eax, byte [esp + 0x203]
test al, al
jns 0x43a004
mov eax, dword [esp + 0x1fc]
mov esi, dword [esp + 0x1f8]
lea ecx, [esp + 8]
push eax
push esi
call fcn.00435670
cmp byte [eax + 0xb], 0
js 0x43a02e
mov ecx, dword [eax + 8]
mov dword [esp + 0x178], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x170], xmm0
jmp 0x43a03f
lea ecx, [esp + 0x170]
push dword [eax + 4]
push dword [eax]
call fcn.00435230
mov al, byte [esp + 0x17b]
test al, al
js 0x43a050
jne 0x43a065
xor ebx, ebx
jmp 0x43a0cd
cmp dword [esp + 0x174], 0
je 0x43a0bc
mov eax, dword [esp + 0x170]
mov dword [esp + 4], eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43a0ae
mov esi, eax
mov dword [edi], eax
mov dword [esp + 0xf0], 2
mov ecx, edi
push 3
lea eax, [esp + 0xf4]
push eax
call fcn.0043a250
test al, al
je 0x43a0a1
cmp dword [esp + 0xf0], 0
je 0x43a111
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi], 0
xor ebx, ebx
cmp byte [esp + 0x17b], 0
jns 0x43a0cd
jmp 0x43a0be
xor ebx, ebx
push dword [esp + 0x170]
call fcn.004a7ee0
add esp, 4
cmp byte [esp + 0x203], 0
jns 0x43a0e6
push dword [esp + 0x1f8]
call fcn.004a7ee0
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x43a0f9
push dword [esp + 8]
call fcn.004a7ee0
add esp, 4
mov ecx, dword [esp + 0x11f8]
xor ecx, ebp
call fcn.004a8de3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
call fcn.0043a1d0
mov dword [edi + 4], eax
mov bl, 1
jmp 0x43a0b0