Function at 0x40ba60
Capabilities:
Copy file
Create directory
Create process on windows
Delete file
Get common file path
Persist via lnk shortcut
Resolve function by parsing pe exports
Set file attributes

Disassembly:
sub esp, 0x29c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, ecx
push 0x4b1
mov dword [esp + 0x14], edi
mov eax, dword [edi + 4]
mov dword [edi + 0x1c], 1
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x40baa2
mov dword [edi + 0x1c], ebp
mov ecx, dword [edi + 4]
push 0x3f5
push ecx
mov dword [esp + 0x88], ebp
call esi
push ebp
push ebp
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x40baca
mov dword [esp + 0x80], eax
mov edx, dword [edi + 4]
push 0x3f0
push edx
mov dword [esp + 0x94], ebp
call esi
push ebp
push ebp
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x40baf2
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 4]
push 0x4b1
push eax
call esi
push ebp
push ebp
push 0xf0
push eax
call ebx
mov dword [0x5550a8], eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.0040ddb0
lea eax, [edi + 0x38]
mov dword [esp + 0x1c], 1
push eax
mov dword [esp + 0x5c], eax
call fcn.0043ce30
add esp, 4
test eax, eax
je 0x40be80
mov eax, dword [0x5550a4]
test eax, eax
jne 0x40be80
lea eax, [esp + 0x18]
push 2
push eax
call fcn.004bd990
mov ecx, 0x547e3c
add esp, 8
test ecx, ecx
je 0x40bd1d
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x40bd1d
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x40bb83
mov dword [esp + 0x14], eax
jmp 0x40bb8e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x3c], eax
jae 0x40bd1d
push 0x547e3c
push esi
call fcn.0053225f
add esp, 8
test eax, eax
je 0x40bbd2
lea esi, [eax + ebx*2]
push 0x547e3c
push esi
inc ebp
call fcn.0053225f
add esp, 8
test eax, eax
jne 0x40bbbc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x40bbaa
test ebp, ebp
mov dword [esp + 0x20], ebp
jle 0x40bd1d
lea ecx, [esp + 0x18]
call fcn.004055c0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
sub ebp, ebx
imul ebp, dword [esp + 0x20]
mov eax, dword [esi - 8]
mov dword [esp + 0x38], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x20], ebp
cmp eax, ebp
jl 0x40bc23
cmp dword [esi - 0xc], 1
jle 0x40bc61
lea eax, [esi - 0xc]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.00405530
test eax, eax
je 0x40bd1d
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push eax
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, ecx
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.00405590
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
cmp esi, eax
mov dword [esp + 0x3c], eax
jae 0x40bd16
push 0x547e3c
push esi
call fcn.0053225f
mov edi, eax
add esp, 8
test edi, edi
je 0x40bcfb
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x38]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebx
lea ecx, [edi + ebx*2]
lea ebp, [eax + eax]
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.00532360
mov ecx, esi
mov esi, dword [esp + 0x64]
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x547e3c
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x4c]
add ebp, eax
mov dword [esp + 0x4c], ebp
call fcn.0053225f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40bc87
mov ebp, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x40bc73
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esi - 8], ebp
lea ecx, [esp + 0x20]
push 0xd9
push ecx
call fcn.004bd990
mov edx, dword [0x547570]
mov esi, eax
mov eax, 0x548128
add esp, 8
test eax, eax
mov dword [esp + 0x38], edx
je 0x40bd4f
push 0x548128
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push 0x548128
push eax
lea ecx, [esp + 0x48]
call fcn.004059f0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x14]
push edx
call fcn.00405440
lea ecx, [esp + 0x38]
call fcn.00405700
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bdc1
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40bdc7
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x40bdc7
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bdf2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40bdf2
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push 0x21
push 0x554e08
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x40be4d
mov eax, dword [esp + 0x18]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40d0f4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d0f4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
mov dword [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40be80
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40be80
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [0x547570]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x554e48
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x40bece
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40bece
push edi
lea ecx, [esp + 0x28]
call fcn.00405530
test eax, eax
je 0x40bece
mov edx, dword [esp + 0x24]
inc edi
push edi
push 0x554e48
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, 0x105
mov dword [esp + 0x18], eax
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x40beec
cmp dword [eax - 4], ecx
jge 0x40bf07
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x40bef5
mov ecx, ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
jne 0x40c156
mov ebx, dword [esp + 0x58]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x18]
call fcn.004055c0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x18]
mov ecx, str._tmp_folder_2019
mov word [edx + eax*2], 0
mov eax, dword [0x547570]
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x40bf8a
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40bf8a
push edi
lea ecx, [esp + 0x40]
call fcn.00405530
test eax, eax
je 0x40bf8a
mov edx, dword [esp + 0x3c]
inc edi
push edi
push str._tmp_folder_2019
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, 0x554e48
test ecx, ecx
mov dword [esp + 0x70], eax
je 0x40bfd2
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40bfd2
push edi
lea ecx, [esp + 0x74]
call fcn.00405530
test eax, eax
je 0x40bfd2
mov edx, dword [esp + 0x70]
inc edi
push edi
push 0x554e48
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x70]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov dword [esp + 0x84], eax
mov eax, dword [0x55df98]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x74]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x90]
push edx
call fcn.004059f0
lea eax, [esp + 0x84]
lea ecx, [esp + 0x20]
push eax
call fcn.00405440
lea ecx, [esp + 0x84]
call fcn.00405700
mov ecx, dword [0x547570]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x58]
push eax
call fcn.004059f0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00405440
lea ecx, [esp + 0x4c]
call fcn.00405700
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00405a90
mov eax, dword [esp + 0x30]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c093
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c093
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c0be
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c0be
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x70]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c0e9
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c0e9
mov edx, dword [esp + 0x70]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c114
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c114
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.0043cf90
mov eax, dword [0x547570]
mov ecx, str._s_s.lnk
add esp, 4
mov dword [esp + 0x2c], eax
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x40c1d8
mov edx, ecx
shr edx, 0x10
jne 0x40c195
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00413ae0
jmp 0x40c1d8
mov edi, dword [esp + 0x18]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [ecx - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [esp + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x40bf11
push str._s_s.lnk
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c1d8
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c1d8
lea ecx, [edi + edi]
mov edi, dword [esp + 0x14]
mov edx, ecx
mov esi, str._s_s.lnk
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [esp + 0x58]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x55e100]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00405cb0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
add esp, 0x10
cmp eax, ecx
je 0x40c249
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x40c21b
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40c222
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x40c232
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405870
jmp 0x40c249
lea ecx, [esp + 0x24]
call fcn.004124c0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call esi
mov eax, dword [0x55e100]
mov edx, dword [0x547570]
push eax
push ebx
lea ecx, [esp + 0x40]
push str._s_s.exe
push ecx
mov dword [esp + 0x48], edx
call fcn.00405cb0
mov edx, dword [esp + 0x3c]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push ecx
mov ecx, esp
push 0x554e08
call fcn.00412590
push ecx
mov ecx, esp
push ebx
call fcn.00412590
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
push eax
call fcn.00405440
push ecx
mov ecx, esp
push 0x554e08
call fcn.00412590
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
push edx
call fcn.00405440
call fcn.0040e170
mov eax, dword [esp + 0x54]
mov edx, dword [0x547574]
add esp, 0x1c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c2eb
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c2eb
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c316
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c316
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c341
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c341
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c36c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c36c
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
push ebx
call fcn.0043cf90
push ebx
call fcn.00532ff8
add esp, 8
cmp eax, 0xffffffff
jne 0x40c52c
mov eax, dword [0x5550a4]
test eax, eax
jne 0x40c50c
mov eax, dword [0x547570]
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x40c3f1
mov ecx, ebx
shr ecx, 0x10
jne 0x40c3b7
and ebx, 0xffff
lea ecx, [esp + 0x14]
push ebx
call fcn.00413ae0
jmp 0x40c3f1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c3f1
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c3f1
mov esi, dword [esp + 0x58]
lea ecx, [edi + edi]
mov edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x547570]
mov ecx, str.DIR__error_:_n
test ecx, ecx
mov dword [esp + 0x20], eax
jne 0x40c407
xor eax, eax
jmp 0x40c412
push str.DIR__error_:_n
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x24]
push edx
push str.DIR__error_:_n
push eax
call fcn.004059f0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
call fcn.00405440
lea ecx, [esp + 0x20]
call fcn.00405700
mov ecx, dword [esp + 0x30]
push 0
push 0
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x30]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40c47d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c47d
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c4a8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c4a8
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
call fcn.0040e900
test eax, eax
jne 0x40c50c
mov eax, dword [0x547570]
push ecx
mov edi, esp
mov ecx, str._install__nolisense
test ecx, ecx
mov dword [edi], eax
je 0x40c4f8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40c4f8
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x40c4f8
mov edx, dword [edi]
inc esi
push esi
push str._install__nolisense
push edx
call fcn.00405400
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00405bb0
call fcn.0040e6b0
add esp, 4
test eax, eax
je 0x40c50c
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d0f4
add eax, 0xfffffff4
push eax
call ebp
jmp 0x40d0e0
mov eax, dword [0x547570]
mov ecx, 0x5480b0
test ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], eax
je 0x40c581
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x40c57c
push edi
lea ecx, [esp + 0x48]
call fcn.00405530
test eax, eax
je 0x40c57c
mov edx, dword [esp + 0x44]
inc edi
push edi
push 0x5480b0
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x44]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov eax, 0x5480a4
test eax, eax
je 0x40c5d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x40c5d0
push edi
lea ecx, [esp + 0x60]
call fcn.00405530
test eax, eax
je 0x40c5d0
mov ecx, dword [esp + 0x5c]
inc edi
push edi
push 0x5480a4
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x55e100]
lea eax, [esp + 0x28]
push edx
push ebx
push str._s_s.exe
push eax
call fcn.00405cb0
mov ecx, dword [0x547570]
mov edx, 0x547e10
add esp, 0x10
mov dword [esp + 0x14], ecx
test edx, edx
je 0x40c637
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x40c637
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c637
mov eax, dword [esp + 0x14]
inc edi
push edi
push 0x547e10
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x547570]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.004059f0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.00405440
lea ecx, [esp + 0x20]
call fcn.00405700
mov edx, dword [0x547570]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x54]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x40]
call fcn.004059f0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x3c]
push edx
call fcn.00405440
lea ecx, [esp + 0x30]
call fcn.00405700
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x40c701
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x40c6cf
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40c6d6
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x40c6e6
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x58]
call fcn.00405870
jmp 0x40c6fd
lea ecx, [esp + 0x50]
call fcn.004124c0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
add eax, 0xfffffff4
push eax
call esi
mov eax, dword [esp + 0x3c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c728
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c728
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x4c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c753
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c753
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c77e
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c77e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [0x55e100]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x68]
push str._s_s.ini
push edx
call fcn.00405cb0
mov eax, dword [0x554e0c]
mov edx, dword [0x55f3b8]
mov dword [esp + 0xb0], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
add esp, 0x10
lea ecx, [esp + 0xa0]
stosw word es:[edi], ax
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x547570]
lea ecx, [esp + 0xa0]
test ecx, ecx
mov dword [esp + 0x64], eax
je 0x40c849
lea edx, [esp + 0xa0]
shr edx, 0x10
jne 0x40c80b
xor eax, eax
lea ecx, [esp + 0xa0]
mov ax, cx
lea ecx, [esp + 0x64]
push eax
call fcn.00413ae0
jmp 0x40c849
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c849
push edi
lea ecx, [esp + 0x68]
call fcn.00405530
test eax, eax
je 0x40c849
lea ecx, [edi + edi]
mov edi, dword [esp + 0x64]
mov eax, ecx
lea esi, [esp + 0xa0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x547570]
lea edx, [esp + 0xa0]
test edx, edx
mov dword [esp + 0x54], ecx
je 0x40c8c0
lea eax, [esp + 0xa0]
shr eax, 0x10
jne 0x40c882
xor ecx, ecx
lea edx, [esp + 0xa0]
mov cx, dx
push ecx
lea ecx, [esp + 0x58]
call fcn.00413ae0
jmp 0x40c8c0
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c8c0
push edi
lea ecx, [esp + 0x58]
call fcn.00405530
test eax, eax
je 0x40c8c0
lea ecx, [edi + edi]
mov edi, dword [esp + 0x54]
mov edx, ecx
lea esi, [esp + 0xa0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x547570]
mov ecx, 0x548088
test ecx, ecx
mov dword [esp + 0x48], eax
je 0x40c90c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40c90c
push esi
lea ecx, [esp + 0x4c]
call fcn.00405530
test eax, eax
je 0x40c90c
mov edx, dword [esp + 0x48]
inc esi
push esi
push 0x548088
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x48]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xa0
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x40cb7a
mov eax, dword [0x5550a4]
test eax, eax
jne 0x40cbbd
mov eax, dword [0x547570]
mov ecx, str._n_x__n
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x40c995
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40c995
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c995
mov edx, dword [esp + 0x14]
inc esi
push esi
push str._n_x__n
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
lea eax, [esp + 0x10]
push 3
push eax
call fcn.004bd990
mov ecx, dword [0x547570]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [ecx - 8]
push ecx
push edx
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x30]
call fcn.004059f0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.00405440
lea ecx, [esp + 0x20]
call fcn.00405700
mov edx, dword [0x547570]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x54]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x40]
call fcn.004059f0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
push edx
call fcn.00405440
lea ecx, [esp + 0x30]
call fcn.00405700
mov eax, dword [esp + 0x4c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ca4d
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ca53
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x40ca53
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ca7e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ca7e
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40caa9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40caa9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
call fcn.0040e900
test eax, eax
jne 0x40cb09
mov eax, dword [0x547570]
push ecx
mov edi, esp
mov ecx, str._install__nolisense
test ecx, ecx
mov dword [edi], eax
je 0x40caf9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40caf9
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x40caf9
mov edx, dword [edi]
inc esi
push esi
push str._install__nolisense
push edx
call fcn.00405400
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00405bb0
call fcn.0040e6b0
add esp, 4
test eax, eax
jne 0x40cd63
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 4]
push 3
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov eax, dword [esp + 0x2c]
jne 0x40cf3c
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40cb54
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40cb54
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x28]
push 0xa0
push ecx
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40c93c
mov eax, dword [esp + 0x28]
push 0xa0
push eax
call ebp
mov edi, dword [esp + 0x58]
mov ecx, dword [0x547570]
test edi, edi
mov dword [esp + 0x14], ecx
je 0x40d139
mov edx, edi
shr edx, 0x10
jne 0x40d101
mov eax, edi
lea ecx, [esp + 0x14]
and eax, 0xffff
push eax
call fcn.00413ae0
jmp 0x40d139
mov eax, dword [esp + 0x48]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cbf0
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cbf6
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x40cbf6
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x54]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cc21
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cc21
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cc4c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cc4c
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cc77
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cc77
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cca2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cca2
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cccd
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cccd
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ccf8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ccf8
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cd23
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cd23
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d0f4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d0f4
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cd9e
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cda4
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x40cda4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x48]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cdcf
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cdcf
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cdfa
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cdfa
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce25
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce25
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce50
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce50
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce7b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce7b
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cea6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cea6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ced1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ced1
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cefc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cefc
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d0f4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d0f4
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cf6b
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cf71
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x40cf71
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x48]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cf9c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cf9c
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cfc7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cfc7
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cff2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cff2
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d01d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d01d
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d048
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d048
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d073
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d073
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d09e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d09e
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d0c9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d0c9
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d0f4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d0f4
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x40d139
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40d139
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi]
mov esi, dword [esp + 0x58]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x58]
mov eax, dword [0x547570]
mov ecx, str.FavoritenQuick_Link_
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x40d14f
xor eax, eax
jmp 0x40d15a
push str.FavoritenQuick_Link_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.FavoritenQuick_Link_
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004059f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d1b8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d1b8
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x40d1d3
push eax
mov dword [esp + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x40d1e6
mov eax, dword [0x547570]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
call fcn.00405920
mov eax, dword [0x5550b4]
test eax, eax
je 0x40d416
lea ecx, [esp + 0x7c]
push ecx
call fcn.004b9eb0
mov edx, dword [esp + 0x80]
push edx
call fcn.0043cf90
mov eax, dword [esp + 0x68]
add esp, 8
push 0xa0
push eax
call ebp
mov edx, dword [0x54b354]
mov ecx, dword [0x547570]
push edx
lea eax, [esp + 0x14]
push str.m_lang_id_d_r_n
push eax
mov dword [esp + 0x1c], ecx
call fcn.00405cb0
mov ecx, dword [esp + 0x74]
mov edx, dword [0x54b354]
mov eax, dword [esp + 0x54]
push ecx
push edx
push str.m_lang_id
push eax
call fcn.0048ea80
mov ecx, dword [esp + 0x84]
push ecx
push str..Favoriten_
push 0x548004
push 0x547ff0
call fcn.0048ee10
mov edx, dword [esp + 0x94]
push edx
push str..FavoritenQuick_Link_
push 0x547fb4
push 0x547fb0
call fcn.0048ee10
mov eax, dword [esp + 0xa4]
push eax
push 0x547fac
push str.portable_install
push 0x547f78
call fcn.0048ee10
mov ecx, dword [esp + 0xac]
add esp, 0x4c
push 0xa0
push ecx
call ebp
mov edx, dword [0x547570]
push str._s_s.lnk
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edx
call fcn.00412590
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x138d
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x40d329
mov ecx, dword [0x55e100]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00405cb0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
add esp, 0x10
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebx + 4]
push 0x3f2
push ecx
call esi
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x40d395
mov edx, dword [0x55e100]
mov ebp, dword [esp + 0x38]
push edx
lea eax, [ebx + 0x2c]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.00412d60
mov edx, dword [eax]
lea eax, [esp + 0x30]
push edx
push ebp
push eax
call fcn.00405cb0
add esp, 0x10
lea ecx, [esp + 0x80]
call fcn.00405700
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebx + 4]
push 0x3ef
push eax
call esi
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x40d3e0
mov ecx, dword [0x55e100]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00405cb0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
add esp, 0x10
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push 5
push ecx
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x38]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x10]
jmp 0x40dc70
mov esi, dword [0x55df9c]
lea eax, [esp + 0x94]
push eax
mov dword [0x55df9c], 0
call fcn.004656c0
add esp, 4
lea ecx, [esp + 0x94]
lea edx, [esp + 0x30]
push 0x547f18
push 0x55df98
push 0x547f14
push ecx
push edx
call fcn.00412d60
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00412c10
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00412d60
push eax
lea ecx, [esp + 0x6c]
call fcn.00412800
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
mov edx, dword [0x547570]
mov eax, dword [esp + 0x68]
mov ecx, dword [0x54b354]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push str.m_lang_id
push edx
call fcn.0048ea80
mov eax, dword [0x547570]
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [0x55df9c], esi
push 0x547f0c
mov dword [esp + 0x78], eax
call fcn.00405730
push 0x547f08
lea ecx, [esp + 0x14]
call fcn.00405730
lea ecx, [esp + 0x20]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00412c10
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00412c10
mov eax, dword [eax]
mov ecx, dword [0x55e100]
push eax
push ecx
push edi
lea edx, [esp + 0x80]
push str._s_s_s
push edx
call fcn.00405cb0
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x4c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [0x547570]
lea edx, [esp + 0x28]
push 0x547cec
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x4c], ecx
call fcn.00412d60
mov eax, dword [eax]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x48]
call fcn.00405a90
lea ecx, [esp + 0x10]
call fcn.00405700
lea edx, [esp + 0x74]
push 0x547cec
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x5550a8]
mov esi, reloc.SHELL32.dll_SHChangeNotifyRegister
test eax, eax
jne 0x40d5cc
mov esi, SHChangeNotifyRegister
push 0x55e100
lea ecx, [esp + 0x14]
push 0x555098
push ecx
mov dword [esp + 0x24], 0
call fcn.00412c10
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040dcf0
lea ecx, [esp + 0x10]
call fcn.00405700
mov edx, dword [0x55e100]
push str.DisplayName
push edx
lea ecx, [esp + 0x20]
call fcn.0040dd80
lea ecx, [esp + 0x18]
call fcn.004098a0
push 0x55e100
lea eax, [esp + 0x14]
push 0x555098
push eax
call fcn.00412c10
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040dcf0
lea ecx, [esp + 0x10]
call fcn.00405700
mov ecx, dword [esp + 0x50]
push str.UninstallString
push ecx
lea ecx, [esp + 0x20]
call fcn.0040dd80
push str.EstimatedSize
push 0x3e8
lea ecx, [esp + 0x20]
call fcn.0040dd60
lea edx, [esp + 0x28]
push 0x547e9c
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00412d60
mov eax, dword [eax]
push str.DisplayIcon
push eax
lea ecx, [esp + 0x20]
call fcn.0040dd80
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.004098a0
lea ecx, [esp + 0x18]
call fcn.004098a0
mov ecx, dword [0x547570]
push 0x547e78
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x70]
call fcn.00405730
mov edx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x138d
push edx
call esi
push 0
push 0
push 0xf0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
cmp eax, 1
jne 0x40d7a5
mov eax, dword [0x55e100]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00405cb0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40d77e
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0051d080
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00532f19
add esp, 0x10
test eax, eax
je 0x40d775
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
push edx
call fcn.00405440
call fcn.004066f0
add esp, 4
call fcn.004067c0
lea ecx, [esp + 0x10]
call fcn.00405700
lea eax, [esp + 0x34]
push 0x547cec
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40d7d4
lea edx, [esp + 0x68]
push 0x547cec
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
mov ecx, dword [ebx + 4]
push 0x3f2
push ecx
call esi
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x40d87c
push 0x547e4c
lea ecx, [esp + 0x20]
call fcn.00405730
mov edx, dword [0x55e100]
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [ebx + 0x2c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00412c10
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
push ebp
push ecx
call fcn.00405cb0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x34]
push 0x547cec
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
mov eax, dword [ebx + 4]
push 0x3ef
push eax
call esi
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x40d8ee
mov ecx, dword [0x55e100]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00405cb0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
add esp, 0x10
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x34]
push 0x547cec
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
mov eax, dword [0x547570]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x78], eax
push ecx
push edx
lea eax, [esp + 0x80]
push str._s_s
push eax
call fcn.00405cb0
mov ecx, dword [esp + 0x88]
add esp, 0x10
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [esp + 0x78]
push 0x547cec
push edx
lea eax, [esp + 0x18]
push 0x547cc8
push eax
call fcn.00412eb0
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
push 0x547e10
lea ecx, [esp + 0x20]
call fcn.00405730
lea edx, [esp + 0x1c]
push 0x55e100
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00412c10
lea edx, [esp + 0x94]
push eax
push edx
call fcn.00412c10
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea eax, [esp + 0x34]
push 0x547cec
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
push edx
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00405cb0
add esp, 0x10
lea edx, [esp + 0x5c]
push 0
push 1
push ecx
mov ecx, esp
push edx
call fcn.00405440
push ecx
mov ecx, esp
push esi
call fcn.00412590
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
push eax
call fcn.00405440
push ecx
mov ecx, esp
push 0x554e08
call fcn.00412590
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
push edx
call fcn.00405440
call fcn.0040e170
add esp, 0x1c
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push 0x547cec
push eax
push 0x547cc8
push ecx
call fcn.00412eb0
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x55e100]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00405cb0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esp + 0x34]
push 0x547cec
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
lea edx, [esp + 0x34]
push 0x547cec
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
mov eax, dword [0x5550a4]
test eax, eax
jne 0x40db17
mov ecx, dword [esp + 0x28]
push 5
push esi
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [0x547570]
push esi
lea eax, [esp + 0x8c]
push 0x547e44
push eax
mov dword [esp + 0x94], edx
call fcn.00405cb0
add esp, 0xc
lea ecx, [esp + 0x88]
lea edx, [esp + 0x10]
push 0x547cec
push ecx
push 0x547cc8
push edx
call fcn.00412eb0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x44]
call fcn.00413070
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x40]
lea edx, [esp + 0x74]
push ecx
push ecx
mov ecx, esp
push edx
call fcn.00405440
call fcn.004b8720
mov eax, dword [esp + 0x94]
add esp, 8
test eax, eax
je 0x40dbb8
mov eax, dword [esp + 0x28]
mov ecx, dword [0x55e100]
push 0
push eax
push ecx
call fcn.005314f0
add esp, 0xc
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40dbd8
mov edx, dword [esp + 0x28]
mov eax, dword [0x55e100]
push 1
push edx
push eax
call fcn.005314f0
add esp, 0xc
push 0x55df8c
lea ecx, [esp + 0x9c]
call fcn.00405440
lea ecx, [esp + 0x74]
push ecx
mov ecx, 0x55df8c
call fcn.00412800
mov edx, dword [0x5550a8]
push edx
push 0x547ccc
call fcn.00519e20
add esp, 8
lea ecx, [esp + 0x98]
call fcn.00405700
lea ecx, [esp + 0x88]
call fcn.00405700
lea ecx, [esp + 0x90]
call fcn.00405700
lea ecx, [esp + 0x78]
call fcn.00405700
lea ecx, [esp + 0x6c]
call fcn.00405700
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x40]
call fcn.00405700
lea ecx, [esp + 0x74]
call fcn.00405700
lea ecx, [esp + 0x9c]
call fcn.00405700
lea ecx, [esp + 0x94]
call fcn.00405700
lea ecx, [esp + 0x68]
call fcn.00405700
lea ecx, [esp + 0x7c]
call fcn.00405700
lea ecx, [esp + 0x48]
call fcn.00405700
lea ecx, [esp + 0x54]
call fcn.00405700
lea ecx, [esp + 0x64]
call fcn.00405700
lea ecx, [esp + 0x5c]
call fcn.00405700
lea ecx, [esp + 0x60]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x44]
call fcn.00405700
lea ecx, [esp + 0x50]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x29c
ret