Function at 0x49e4e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8fb8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x308
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xorps xmm0, xmm0
mov dword [ebp - 0x2a4], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x2a0], 0
movups xmmword [ebp - 0x2b4], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e590
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004060e0
push str.dialConfig.ini
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], 0
call fcn.00425e00
xorps xmm0, xmm0
mov dword [ebp - 0x288], 0
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2a0]
cmp ecx, 7
jbe 0x49e655
mov edx, dword [ebp - 0x2b4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e64b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed2b
push ecx
push edx
call fcn.00543bbf
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 7
lea ecx, [ebp - 0x220]
mov word [ebp - 0x2b4], ax
movups xmmword [ebp - 0x2cc], xmm0
mov dword [ebp - 0x2bc], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2b8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e691
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2cc]
call fcn.004060e0
push 0x5fd7bc
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.00425e00
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x26c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2b8]
cmp ecx, 7
jbe 0x49e753
mov edx, dword [ebp - 0x2cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e749
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed30
push ecx
push edx
call fcn.00543bbf
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], 0
cmp dword [ebp - 0x284], 7
mov word [ebp - 0x2cc], ax
lea eax, [ebp - 0x298]
cmova eax, dword [ebp - 0x298]
push eax
push 0
push str.firstrun
push str.dialconfig
mov dword [ebp - 0x2b8], 7
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne cl
mov byte [edi], cl
test eax, eax
jne 0x49e7cc
cmp dword [ebp - 0x284], 7
lea eax, [ebp - 0x298]
cmova eax, dword [ebp - 0x298]
push eax
push 0x5e1128
push str.firstrun
push str.dialconfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x26c], 7
lea eax, [ebp - 0x280]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmova eax, dword [ebp - 0x280]
push eax
call esi
test eax, eax
jne 0x49e7ef
mov byte [edi], al
xorps xmm0, xmm0
mov byte [ebp - 0x299], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x2d4], 0
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d0], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e820
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.004060e0
push 0x5fd7d8
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.00425e00
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2d0]
cmp ecx, 7
jbe 0x49e8e2
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e8d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed35
push ecx
push edx
call fcn.00543bbf
add esp, 8
xor eax, eax
mov dword [ebp - 0x2d4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2d0], 7
lea ecx, [ebp - 0x220]
mov word [ebp - 0x2e4], ax
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2ec], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2e8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e920
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004060e0
push str.updatedll.dll
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 9
call fcn.00425e00
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x240], xmm0
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x49e9e2
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e9d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed3a
push ecx
push edx
call fcn.00543bbf
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ec], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2e8], 7
lea ecx, [ebp - 0x220]
mov word [ebp - 0x2fc], ax
movups xmmword [ebp - 0x314], xmm0
mov dword [ebp - 0x304], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x300], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49ea20
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x314]
call fcn.004060e0
push str.7z.dll
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0xc
call fcn.00425e00
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x49eade
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ead4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed3f
push ecx
push edx
call fcn.00543bbf
add esp, 8
cmp dword [ebp - 0x254], 7
lea eax, [ebp - 0x268]
cmova eax, dword [ebp - 0x268]
push eax
call esi
test eax, eax
je 0x49eb2f
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push eax
call esi
test eax, eax
je 0x49eb2f
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
cmova eax, dword [ebp - 0x238]
push eax
call esi
test eax, eax
jne 0x49eb6d
lea ecx, [ebp - 0x238]
lea esi, [ebp - 0x268]
lea edi, [ebp - 0x250]
call fcn.00405d20
mov ecx, edi
call fcn.00405d20
mov ecx, esi
call fcn.00405d20
push 0x10
push 0x5fcbbc
push 0x5fd828
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x49ec6e
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 0x299], 1
cmp ecx, 7
jbe 0x49ebb4
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ebaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed44
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp ecx, 7
jbe 0x49ec11
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ec07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed44
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 7
jbe 0x49ec6e
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ec64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed44
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x26c]
cmp ecx, 7
jbe 0x49ecae
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49eca4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed49
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x284]
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
cmp ecx, 7
jbe 0x49ed07
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ecfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed49
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov al, byte [ebp - 0x299]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00560663
call fcn.00560663
call fcn.00560663
call fcn.00560663
call fcn.00560663
call fcn.00560663
call fcn.00560663
int3