Function at 0x407f30
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 0x407f72
mov dword [edi + 0x1c], ebp
mov ecx, dword [edi + 4]
push 0x3f5
push ecx
mov dword [esp + 0x9c], ebp
call esi
push ebp
push ebp
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x407f9a
mov dword [esp + 0x94], eax
mov edx, dword [edi + 4]
push 0x3f0
push edx
mov dword [esp + 0x90], ebp
call esi
push ebp
push ebp
push 0xf0
push eax
call ebx
cmp eax, 1
jne 0x407fc2
mov dword [esp + 0x88], eax
mov eax, dword [edi + 4]
push 0x4b1
push eax
call esi
push ebp
push ebp
push 0xf0
push eax
call ebx
mov dword [0x4e3cb8], eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.0040a250
lea eax, [edi + 0x38]
mov dword [esp + 0x20], 1
push eax
mov dword [esp + 0x54], eax
call fcn.00407ca0
add esp, 4
test eax, eax
je 0x408350
mov eax, dword [0x4e3cb4]
test eax, eax
jne 0x408350
lea eax, [esp + 0x18]
push 2
push eax
call fcn.0048eb30
mov ecx, 0x4d9b84
add esp, 8
test ecx, ecx
je 0x4081ed
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x4081ed
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x408053
mov dword [esp + 0x14], eax
jmp 0x40805e
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 + 0x1c], ebp
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x3c], eax
jae 0x4081ed
push 0x4d9b84
push esi
call fcn.004c546f
add esp, 8
test eax, eax
je 0x4080a2
lea esi, [eax + ebx*2]
push 0x4d9b84
push esi
inc ebp
call fcn.004c546f
add esp, 8
test eax, eax
jne 0x40808c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x40807a
test ebp, ebp
mov dword [esp + 0x1c], ebp
jle 0x4081ed
lea ecx, [esp + 0x18]
call fcn.00401380
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
sub ebp, ebx
imul ebp, dword [esp + 0x1c]
mov eax, dword [esi - 8]
mov dword [esp + 0x38], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jl 0x4080f3
cmp dword [esi - 0xc], 1
jle 0x408131
lea eax, [esi - 0xc]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.004012f0
test eax, eax
je 0x4081ed
mov eax, dword [esp + 0x20]
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.00401350
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
cmp esi, eax
mov dword [esp + 0x3c], eax
jae 0x4081e6
push 0x4d9b84
push esi
call fcn.004c546f
mov edi, eax
add esp, 8
test edi, edi
je 0x4081cb
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 + 0x2c], eax
call fcn.004c5570
mov ecx, esi
mov esi, dword [esp + 0x5c]
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 0x4d9b84
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x4c]
add ebp, eax
mov dword [esp + 0x4c], ebp
call fcn.004c546f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x408157
mov ebp, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x408143
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esi - 8], ebp
lea ecx, [esp + 0x1c]
push 0xd9
push ecx
call fcn.0048eb30
mov edx, dword [0x4d9540]
mov esi, eax
mov eax, str._r_n_r_n
add esp, 8
test eax, eax
mov dword [esp + 0x38], edx
je 0x40821f
push str._r_n_r_n
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push str._r_n_r_n
push eax
lea ecx, [esp + 0x48]
call fcn.004017b0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x14]
push edx
call fcn.00401200
lea ecx, [esp + 0x38]
call fcn.004014c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00401850
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408291
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408297
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x408297
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4082c2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4082c2
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push 0x21
push 0x4e3a28
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x40831d
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4095c4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4095c4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004c5432
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 [0x4d9544]
mov dword [esp + 0x20], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408350
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408350
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [0x4d9540]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x4e3a5c
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x40839e
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40839e
push edi
lea ecx, [esp + 0x28]
call fcn.004012f0
test eax, eax
je 0x40839e
mov edx, dword [esp + 0x24]
inc edi
push edi
push 0x4e3a5c
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [0x4d9540]
mov ecx, 0x105
mov dword [esp + 0x18], eax
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4083bc
cmp dword [eax - 4], ecx
jge 0x4083d7
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4083c5
mov ecx, ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.004012f0
test eax, eax
jne 0x408626
mov ebx, dword [esp + 0x50]
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.00401380
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 [0x4d9540]
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x40845a
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40845a
push edi
lea ecx, [esp + 0x40]
call fcn.004012f0
test eax, eax
je 0x40845a
mov edx, dword [esp + 0x3c]
inc edi
push edi
push str._tmp_folder_2019
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [0x4d9540]
mov ecx, 0x4e3a5c
test ecx, ecx
mov dword [esp + 0x70], eax
je 0x4084a2
push ecx
call esi
mov edi, eax
test edi, edi
je 0x4084a2
push edi
lea ecx, [esp + 0x74]
call fcn.004012f0
test eax, eax
je 0x4084a2
mov edx, dword [esp + 0x70]
inc edi
push edi
push 0x4e3a5c
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x70]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [0x4d9540]
mov dword [esp + 0x84], eax
mov eax, dword [0x4ecbf4]
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.004017b0
lea eax, [esp + 0x84]
lea ecx, [esp + 0x1c]
push eax
call fcn.00401200
lea ecx, [esp + 0x84]
call fcn.004014c0
mov ecx, dword [0x4d9540]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x20]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x58]
push eax
call fcn.004017b0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00401200
lea ecx, [esp + 0x4c]
call fcn.004014c0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00401850
mov eax, dword [esp + 0x30]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408563
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x408563
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40858e
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40858e
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x70]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4085b9
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4085b9
mov edx, dword [esp + 0x70]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4085e4
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4085e4
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.00407e20
mov eax, dword [0x4d9540]
mov ecx, str._s_s.lnk
add esp, 4
mov dword [esp + 0x2c], eax
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4086a8
mov edx, ecx
shr edx, 0x10
jne 0x408665
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.0040ff70
jmp 0x4086a8
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.00401350
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4083e1
push str._s_s.lnk
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4086a8
push edi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x4086a8
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 + 0x50]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4ecd48]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00401a70
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 0x408719
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4086eb
mov edx, dword [0x4d9544]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4086f2
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x408702
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401630
jmp 0x408719
lea ecx, [esp + 0x24]
call fcn.0040e950
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call esi
mov eax, dword [0x4ecd48]
mov edx, dword [0x4d9540]
push eax
push ebx
lea ecx, [esp + 0x40]
push str._s_s.exe
push ecx
mov dword [esp + 0x48], edx
call fcn.00401a70
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 0x4e3a28
call fcn.0040ea20
push ecx
mov ecx, esp
push ebx
call fcn.0040ea20
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
push eax
call fcn.00401200
push ecx
mov ecx, esp
push 0x4e3a28
call fcn.0040ea20
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
push edx
call fcn.00401200
call fcn.0040a610
mov eax, dword [esp + 0x54]
mov edx, dword [0x4d9544]
add esp, 0x1c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4087bb
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4087bb
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4087e6
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4087e6
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408811
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x408811
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40883c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40883c
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
push ebx
call fcn.00407e20
push ebx
call fcn.004c6208
add esp, 8
cmp eax, 0xffffffff
jne 0x4089fc
mov eax, dword [0x4e3cb4]
test eax, eax
jne 0x4089dc
mov eax, dword [0x4d9540]
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x4088c1
mov ecx, ebx
shr ecx, 0x10
jne 0x408887
and ebx, 0xffff
lea ecx, [esp + 0x14]
push ebx
call fcn.0040ff70
jmp 0x4088c1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4088c1
push edi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x4088c1
mov esi, dword [esp + 0x50]
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 [0x4d9540]
mov ecx, str.DIR__error_:_n
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x4088d7
xor eax, eax
jmp 0x4088e2
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 + 0x20]
push edx
push str.DIR__error_:_n
push eax
call fcn.004017b0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
call fcn.00401200
lea ecx, [esp + 0x1c]
call fcn.004014c0
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 [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40894d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40894d
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408978
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x408978
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
call fcn.0040ada0
test eax, eax
jne 0x4089dc
mov eax, dword [0x4d9540]
push ecx
mov edi, esp
mov ecx, str._install__nolisense
test ecx, ecx
mov dword [edi], eax
je 0x4089c8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4089c8
push esi
mov ecx, edi
call fcn.004012f0
test eax, eax
je 0x4089c8
mov edx, dword [edi]
inc esi
push esi
push str._install__nolisense
push edx
call fcn.004011c0
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00401970
call fcn.0040ab50
add esp, 4
test eax, eax
je 0x4089dc
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x24]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4095c4
add eax, 0xfffffff4
push eax
call ebp
jmp 0x4095b0
mov eax, dword [0x4d9540]
mov ecx, 0x4d9df8
test ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
je 0x408a51
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x408a4c
push edi
lea ecx, [esp + 0x44]
call fcn.004012f0
test eax, eax
je 0x408a4c
mov edx, dword [esp + 0x40]
inc edi
push edi
push 0x4d9df8
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
call fcn.00401970
mov eax, dword [0x4d9540]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov eax, 0x4d9dec
test eax, eax
je 0x408aa0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x408aa0
push edi
lea ecx, [esp + 0x5c]
call fcn.004012f0
test eax, eax
je 0x408aa0
mov ecx, dword [esp + 0x58]
inc edi
push edi
push 0x4d9dec
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x58]
push 0xffffffffffffffff
call fcn.00401970
mov edx, dword [0x4ecd48]
lea eax, [esp + 0x28]
push edx
push ebx
push str._s_s.exe
push eax
call fcn.00401a70
mov ecx, dword [0x4d9540]
mov edx, 0x4d9b58
add esp, 0x10
mov dword [esp + 0x14], ecx
test edx, edx
je 0x408b07
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x408b07
push edi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x408b07
mov eax, dword [esp + 0x14]
inc edi
push edi
push 0x4d9b58
push eax
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00401970
mov ecx, dword [0x4d9540]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 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 + 0x28]
push eax
call fcn.004017b0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401200
lea ecx, [esp + 0x1c]
call fcn.004014c0
mov edx, dword [0x4d9540]
mov eax, dword [esp + 0x58]
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.004017b0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x3c]
push edx
call fcn.00401200
lea ecx, [esp + 0x30]
call fcn.004014c0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x408bd1
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x408b9f
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x408ba6
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x408bb6
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401630
jmp 0x408bcd
lea ecx, [esp + 0x44]
call fcn.0040e950
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
add eax, 0xfffffff4
push eax
call esi
mov eax, dword [esp + 0x3c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408bf8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x408bf8
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x4c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408c23
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x408c23
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408c4e
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x408c4e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [0x4ecd48]
mov ecx, dword [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x68]
push str._s_s.ini
push edx
call fcn.00401a70
mov eax, dword [0x4e3a2c]
mov edx, dword [0x4edfe8]
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 [0x4d9540]
lea ecx, [esp + 0xa0]
test ecx, ecx
mov dword [esp + 0x64], eax
je 0x408d19
lea edx, [esp + 0xa0]
shr edx, 0x10
jne 0x408cdb
xor eax, eax
lea ecx, [esp + 0xa0]
mov ax, cx
lea ecx, [esp + 0x64]
push eax
call fcn.0040ff70
jmp 0x408d19
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x408d19
push edi
lea ecx, [esp + 0x68]
call fcn.004012f0
test eax, eax
je 0x408d19
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 [0x4d9540]
lea edx, [esp + 0xa0]
test edx, edx
mov dword [esp + 0x48], ecx
je 0x408d90
lea eax, [esp + 0xa0]
shr eax, 0x10
jne 0x408d52
xor ecx, ecx
lea edx, [esp + 0xa0]
mov cx, dx
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040ff70
jmp 0x408d90
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x408d90
push edi
lea ecx, [esp + 0x4c]
call fcn.004012f0
test eax, eax
je 0x408d90
lea ecx, [edi + edi]
mov edi, dword [esp + 0x48]
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 [0x4d9540]
mov ecx, 0x4d9dd0
test ecx, ecx
mov dword [esp + 0x5c], eax
je 0x408ddc
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x408ddc
push esi
lea ecx, [esp + 0x60]
call fcn.004012f0
test eax, eax
je 0x408ddc
mov edx, dword [esp + 0x5c]
inc esi
push esi
push 0x4d9dd0
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
call fcn.00401970
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 + 0x48]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x40904a
mov eax, dword [0x4e3cb4]
test eax, eax
jne 0x40908d
mov eax, dword [0x4d9540]
mov ecx, str._n_x__n
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x408e65
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x408e65
push esi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x408e65
mov edx, dword [esp + 0x14]
inc esi
push esi
push str._n_x__n
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00401970
lea eax, [esp + 0x10]
push 3
push eax
call fcn.0048eb30
mov ecx, dword [0x4d9540]
mov eax, dword [eax]
mov dword [esp + 0x24], 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 + 0x2c]
call fcn.004017b0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401200
lea ecx, [esp + 0x1c]
call fcn.004014c0
mov edx, dword [0x4d9540]
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.004017b0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
push edx
call fcn.00401200
lea ecx, [esp + 0x30]
call fcn.004014c0
mov eax, dword [esp + 0x4c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408f1d
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408f23
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x408f23
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408f4e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408f4e
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x408f79
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x408f79
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
call fcn.0040ada0
test eax, eax
jne 0x408fd9
mov eax, dword [0x4d9540]
push ecx
mov edi, esp
mov ecx, str._install__nolisense
test ecx, ecx
mov dword [edi], eax
je 0x408fc9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x408fc9
push esi
mov ecx, edi
call fcn.004012f0
test eax, eax
je 0x408fc9
mov edx, dword [edi]
inc esi
push esi
push str._install__nolisense
push edx
call fcn.004011c0
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00401970
call fcn.0040ab50
add esp, 4
test eax, eax
jne 0x409233
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 0x40940c
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x409024
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x409024
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov ecx, dword [esp + 0x28]
push 0xa0
push ecx
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x408e0c
mov eax, dword [esp + 0x28]
push 0xa0
push eax
call ebp
mov edi, dword [esp + 0x50]
mov ecx, dword [0x4d9540]
test edi, edi
mov dword [esp + 0x14], ecx
je 0x409609
mov edx, edi
shr edx, 0x10
jne 0x4095d1
mov eax, edi
lea ecx, [esp + 0x14]
and eax, 0xffff
push eax
call fcn.0040ff70
jmp 0x409609
mov eax, dword [esp + 0x5c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4090c0
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4090c6
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x4090c6
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x48]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4090f1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4090f1
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40911c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40911c
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x58]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409147
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409147
mov edx, dword [esp + 0x58]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409172
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409172
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40919d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40919d
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4091c8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4091c8
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4091f3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4091f3
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4095c4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4095c4
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.004c5432
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 [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40926e
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409274
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x409274
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x5c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40929f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40929f
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4092ca
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4092ca
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4092f5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4092f5
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x58]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409320
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409320
mov edx, dword [esp + 0x58]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40934b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40934b
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409376
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409376
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4093a1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4093a1
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4093cc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4093cc
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4095c4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4095c4
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40943b
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409441
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x409441
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x5c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40946c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40946c
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409497
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409497
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4094c2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4094c2
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x58]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4094ed
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4094ed
mov edx, dword [esp + 0x58]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409518
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409518
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409543
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409543
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40956e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40956e
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409599
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409599
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4095c4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4095c4
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.004c5432
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 0x409609
push esi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x409609
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi]
mov esi, dword [esp + 0x50]
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 + 0x50]
mov eax, dword [0x4d9540]
mov ecx, str.FavoritenQuick_Link_
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x40961f
xor eax, eax
jmp 0x40962a
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.004017b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
call fcn.00401200
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409688
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x409688
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea eax, [esp + 0x60]
lea ecx, [esp + 0x68]
push eax
call fcn.00401200
mov eax, dword [0x4e3cc4]
test eax, eax
je 0x4098e5
lea ecx, [esp + 0x7c]
push ecx
call fcn.0048ba60
mov edx, dword [esp + 0x80]
push edx
call fcn.00407e20
mov eax, dword [esp + 0x68]
add esp, 8
push 0xa0
push eax
call ebp
mov edx, dword [0x4dcab0]
mov ecx, dword [0x4d9540]
push edx
lea eax, [esp + 0x20]
push str.m_lang_id_d_r_n
push eax
mov dword [esp + 0x28], ecx
call fcn.00401a70
mov ecx, dword [esp + 0x74]
mov edx, dword [0x4dcab0]
mov eax, dword [esp + 0x68]
push ecx
push edx
push str.m_lang_id
push eax
call fcn.00480e00
mov ecx, dword [esp + 0x84]
push ecx
push str..Favoriten_
push 0x4d9d4c
push 0x4d9d38
call fcn.00480f80
mov edx, dword [esp + 0x94]
push edx
push str..FavoritenQuick_Link_
push 0x4d9cfc
push 0x4d9cf8
call fcn.00480f80
mov eax, dword [esp + 0xa4]
push eax
push 0x4d9cf4
push str.portable_install
push 0x4d9cc0
call fcn.00480f80
mov ecx, dword [esp + 0xac]
add esp, 0x4c
push 0xa0
push ecx
call ebp
mov edx, dword [0x4d9540]
push str._s_s.lnk
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edx
call fcn.0040ea20
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 0x4097d9
mov ecx, dword [0x4ecd48]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00401a70
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 0x409865
mov edx, dword [0x4ecd48]
mov ebp, dword [esp + 0x38]
push edx
lea eax, [ebx + 0x2c]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0040f1f0
mov edx, dword [eax]
lea eax, [esp + 0x30]
push edx
push ebp
push eax
call fcn.00401a70
mov eax, dword [esp + 0x20]
mov edx, dword [0x4d9544]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409853
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x409853
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebx + 4]
push 0x3ef
push edx
call esi
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x4098af
mov eax, dword [0x4ecd48]
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x38]
push eax
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00401a70
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add esp, 0x10
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
push 5
push eax
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x38]
call fcn.004014c0
lea ecx, [esp + 0x2c]
call fcn.004014c0
lea ecx, [esp + 0x1c]
jmp 0x40a10f
mov esi, dword [0x4ecbf8]
lea edx, [esp + 0x8c]
push edx
mov dword [0x4ecbf8], 0
call fcn.00454e20
add esp, 4
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x30]
push 0x4d9c60
push 0x4ecbf4
push 0x4d9c5c
push eax
push ecx
call fcn.0040f1f0
lea edx, [esp + 0x24]
push eax
push edx
call fcn.0040f0a0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x6c]
call fcn.0040ec90
lea ecx, [esp + 0x10]
call fcn.004014c0
lea ecx, [esp + 0x1c]
call fcn.004014c0
lea ecx, [esp + 0x30]
call fcn.004014c0
mov ecx, dword [0x4d9540]
mov edx, dword [esp + 0x68]
mov eax, dword [0x4dcab0]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push str.m_lang_id
push ecx
call fcn.00480e00
mov edx, dword [0x4d9540]
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [0x4ecbf8], esi
push str..ini
mov dword [esp + 0x78], edx
call fcn.004014f0
push 0x4d9c50
lea ecx, [esp + 0x14]
call fcn.004014f0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
call fcn.0040f0a0
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.0040f0a0
mov edx, dword [eax]
mov eax, dword [0x4ecd48]
push edx
push eax
push edi
lea ecx, [esp + 0x80]
push str._s_s_s
push ecx
call fcn.00401a70
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.004014c0
lea ecx, [esp + 0x4c]
call fcn.004014c0
lea ecx, [esp + 0x10]
call fcn.004014c0
lea ecx, [esp + 0x1c]
call fcn.004014c0
mov edx, dword [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x4d9540]
lea ecx, [esp + 0x28]
push 0x4d9a34
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x60], eax
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x10]
call fcn.004014c0
lea eax, [esp + 0x74]
push 0x4d9a34
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [0x4e3cb8]
mov esi, reloc.SHELL32.dll_SHChangeNotifyRegister
test eax, eax
jne 0x409a93
mov esi, SHChangeNotifyDeregister
push 0x4ecd48
lea edx, [esp + 0x14]
push 0x4e3ca8
push edx
mov dword [esp + 0x24], 0
call fcn.0040f0a0
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040a190
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [0x4ecd48]
push str.DisplayName
push eax
lea ecx, [esp + 0x20]
call fcn.0040a220
lea ecx, [esp + 0x18]
call fcn.00405b30
push 0x4ecd48
lea ecx, [esp + 0x14]
push 0x4e3ca8
push ecx
call fcn.0040f0a0
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040a190
lea ecx, [esp + 0x10]
call fcn.004014c0
mov edx, dword [esp + 0x44]
push str.UninstallString
push edx
lea ecx, [esp + 0x20]
call fcn.0040a220
push str.EstimatedSize
push 0x3e8
lea ecx, [esp + 0x20]
call fcn.0040a200
lea eax, [esp + 0x28]
push 0x4d9be4
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040f1f0
mov eax, dword [eax]
push str.DisplayIcon
push eax
lea ecx, [esp + 0x20]
call fcn.0040a220
lea ecx, [esp + 0x10]
call fcn.004014c0
lea ecx, [esp + 0x18]
call fcn.00405b30
lea ecx, [esp + 0x18]
call fcn.00405b30
mov edx, dword [0x4d9540]
push 0x4d9bc0
lea ecx, [esp + 0x70]
mov dword [esp + 0x38], edx
call fcn.004014f0
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x138d
push eax
call esi
push 0
push 0
push 0xf0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
cmp eax, 1
jne 0x409c6c
mov ecx, dword [0x4ecd48]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00401a70
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]
test eax, eax
jne 0x409c45
lea ecx, [esp + 0x34]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.004b7820
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004c6129
add esp, 0x10
test eax, eax
je 0x409c3c
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
push edx
call fcn.00401200
call fcn.004025c0
add esp, 4
call fcn.00402690
lea ecx, [esp + 0x10]
call fcn.004014c0
lea eax, [esp + 0x34]
push 0x4d9a34
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x409c9b
lea edx, [esp + 0x68]
push 0x4d9a34
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
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 0x409d43
push 0x4d9b94
lea ecx, [esp + 0x24]
call fcn.004014f0
mov edx, dword [0x4ecd48]
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0x20]
push edx
lea ecx, [ebx + 0x2c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0040f0a0
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
push ebp
push ecx
call fcn.00401a70
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.004014c0
lea ecx, [esp + 0x20]
call fcn.004014c0
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 0x4d9a34
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
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 0x409db5
mov ecx, dword [0x4ecd48]
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00401a70
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 0x4d9a34
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
mov eax, dword [0x4d9540]
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.00401a70
mov ecx, dword [esp + 0x88]
add esp, 0x10
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [esp + 0x78]
push 0x4d9a34
push edx
lea eax, [esp + 0x18]
push 0x4d9a10
push eax
call fcn.0040f340
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
lea ecx, [esp + 0x10]
call fcn.004014c0
push 0x4d9b58
lea ecx, [esp + 0x24]
call fcn.004014f0
lea edx, [esp + 0x20]
push 0x4ecd48
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0040f0a0
lea edx, [esp + 0x94]
push eax
push edx
call fcn.0040f0a0
lea ecx, [esp + 0x10]
call fcn.004014c0
lea ecx, [esp + 0x20]
call fcn.004014c0
lea eax, [esp + 0x34]
push 0x4d9a34
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
push edx
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00401a70
add esp, 0x10
lea edx, [esp + 0x58]
push 0
push 1
push ecx
mov ecx, esp
push edx
call fcn.00401200
push ecx
mov ecx, esp
push esi
call fcn.0040ea20
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
push eax
call fcn.00401200
push ecx
mov ecx, esp
push 0x4e3a28
call fcn.0040ea20
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
push edx
call fcn.00401200
call fcn.0040a610
add esp, 0x1c
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push 0x4d9a34
push eax
push 0x4d9a10
push ecx
call fcn.0040f340
lea edx, [esp + 0x24]
push eax
push edx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
lea ecx, [esp + 0x10]
call fcn.004014c0
mov eax, dword [0x4ecd48]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00401a70
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 0x4d9a34
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
mov eax, dword [0x4e3cb4]
test eax, eax
jne 0x409fb7
mov edx, dword [esp + 0x28]
push 5
push esi
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [0x4d9540]
push esi
lea ecx, [esp + 0x84]
push 0x4d9b8c
push ecx
mov dword [esp + 0x8c], eax
call fcn.00401a70
add esp, 0xc
lea edx, [esp + 0x80]
lea eax, [esp + 0x10]
push 0x4d9a34
push edx
push 0x4d9a10
push eax
call fcn.0040f340
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040f1f0
push eax
lea ecx, [esp + 0x58]
call fcn.0040f810
lea ecx, [esp + 0x20]
call fcn.004014c0
lea ecx, [esp + 0x10]
call fcn.004014c0
lea edx, [esp + 0x54]
lea eax, [esp + 0x74]
push edx
push ecx
mov ecx, esp
push eax
call fcn.00401200
call fcn.004021c0
mov eax, dword [esp + 0x90]
add esp, 8
test eax, eax
je 0x40a057
mov ecx, dword [esp + 0x28]
mov edx, dword [0x4ecd48]
push 0
push ecx
push edx
call fcn.004c4950
add esp, 0xc
mov eax, dword [esp + 0x94]
test eax, eax
je 0x40a078
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4ecd48]
push 1
push eax
push ecx
call fcn.004c4950
add esp, 0xc
push 0x4ecbe8
lea ecx, [esp + 0x9c]
call fcn.00401200
lea edx, [esp + 0x74]
mov ecx, 0x4ecbe8
push edx
call fcn.0040ec90
mov eax, dword [0x4e3cb8]
push eax
push 0x4d9a14
call fcn.004b5190
add esp, 8
lea ecx, [esp + 0x98]
call fcn.004014c0
lea ecx, [esp + 0x80]
call fcn.004014c0
lea ecx, [esp + 0x90]
call fcn.004014c0
lea ecx, [esp + 0x78]
call fcn.004014c0
lea ecx, [esp + 0x6c]
call fcn.004014c0
lea ecx, [esp + 0x34]
call fcn.004014c0
lea ecx, [esp + 0x54]
call fcn.004014c0
lea ecx, [esp + 0x74]
call fcn.004014c0
lea ecx, [esp + 0x9c]
call fcn.004014c0
lea ecx, [esp + 0x8c]
call fcn.004014c0
lea ecx, [esp + 0x68]
call fcn.004014c0
lea ecx, [esp + 0x7c]
call fcn.004014c0
lea ecx, [esp + 0x5c]
call fcn.004014c0
lea ecx, [esp + 0x48]
call fcn.004014c0
lea ecx, [esp + 0x64]
call fcn.004014c0
lea ecx, [esp + 0x58]
call fcn.004014c0
lea ecx, [esp + 0x60]
call fcn.004014c0
lea ecx, [esp + 0x28]
call fcn.004014c0
lea ecx, [esp + 0x40]
call fcn.004014c0
lea ecx, [esp + 0x44]
call fcn.004014c0
lea ecx, [esp + 0x24]
call fcn.004014c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x29c
ret