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
invalid
invalid