Function at 0x40bc00
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 0x40bc42
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 0x40bc6a
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 0x40bc92
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 [0x554038], eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.0040df50
lea eax, [edi + 0x38]
mov dword [esp + 0x1c], 1
push eax
mov dword [esp + 0x5c], eax
call fcn.0040ba70
add esp, 4
test eax, eax
je 0x40c020
mov eax, dword [0x554034]
test eax, eax
jne 0x40c020
lea eax, [esp + 0x18]
push 2
push eax
call fcn.004bc8d0
mov ecx, 0x546e2c
add esp, 8
test ecx, ecx
je 0x40bebd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x40bebd
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x40bd23
mov dword [esp + 0x14], eax
jmp 0x40bd2e
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 0x40bebd
push 0x546e2c
push esi
call fcn.0053176f
add esp, 8
test eax, eax
je 0x40bd72
lea esi, [eax + ebx*2]
push 0x546e2c
push esi
inc ebp
call fcn.0053176f
add esp, 8
test eax, eax
jne 0x40bd5c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x40bd4a
test ebp, ebp
mov dword [esp + 0x20], ebp
jle 0x40bebd
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 0x40bdc3
cmp dword [esi - 0xc], 1
jle 0x40be01
lea eax, [esi - 0xc]
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.00405530
test eax, eax
je 0x40bebd
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 0x40beb6
push 0x546e2c
push esi
call fcn.0053176f
mov edi, eax
add esp, 8
test edi, edi
je 0x40be9b
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.00531870
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 0x546e2c
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.0053176f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40be27
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 0x40be13
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.004bc8d0
mov edx, dword [0x546560]
mov esi, eax
mov eax, 0x547118
add esp, 8
test eax, eax
mov dword [esp + 0x38], edx
je 0x40beef
push 0x547118
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push 0x547118
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bf61
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40bf67
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x40bf67
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40bf92
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40bf92
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push 0x21
push 0x553d98
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x40bfed
mov eax, dword [esp + 0x18]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40d294
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d294
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00531732
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 [0x546564]
mov dword [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c020
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40c020
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [0x546560]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x553dd8
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x40c06e
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40c06e
push edi
lea ecx, [esp + 0x28]
call fcn.00405530
test eax, eax
je 0x40c06e
mov edx, dword [esp + 0x24]
inc edi
push edi
push 0x553dd8
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov ecx, 0x105
mov dword [esp + 0x18], eax
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x40c08c
cmp dword [eax - 4], ecx
jge 0x40c0a7
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x40c095
mov ecx, ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405530
test eax, eax
jne 0x40c2f6
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 [0x546560]
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x40c12a
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40c12a
push edi
lea ecx, [esp + 0x40]
call fcn.00405530
test eax, eax
je 0x40c12a
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 [0x546560]
mov ecx, 0x553dd8
test ecx, ecx
mov dword [esp + 0x70], eax
je 0x40c172
push ecx
call esi
mov edi, eax
test edi, edi
je 0x40c172
push edi
lea ecx, [esp + 0x74]
call fcn.00405530
test eax, eax
je 0x40c172
mov edx, dword [esp + 0x70]
inc edi
push edi
push 0x553dd8
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x70]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov dword [esp + 0x84], eax
mov eax, dword [0x55cee4]
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 [0x546560]
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c233
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c233
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c25e
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c25e
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x70]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c289
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c289
mov edx, dword [esp + 0x70]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c2b4
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c2b4
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.0043cd00
mov eax, dword [0x546560]
mov ecx, str._s_s.lnk
add esp, 4
mov dword [esp + 0x2c], eax
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x40c378
mov edx, ecx
shr edx, 0x10
jne 0x40c335
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00413c90
jmp 0x40c378
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 0x40c0b1
push str._s_s.lnk
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c378
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c378
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 [0x55d048]
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 0x40c3e9
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x40c3bb
mov edx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40c3c2
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x40c3d2
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00405870
jmp 0x40c3e9
lea ecx, [esp + 0x24]
call fcn.00412670
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call esi
mov eax, dword [0x55d048]
mov edx, dword [0x546560]
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 0x553d98
call fcn.00412740
push ecx
mov ecx, esp
push ebx
call fcn.00412740
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
push eax
call fcn.00405440
push ecx
mov ecx, esp
push 0x553d98
call fcn.00412740
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
push edx
call fcn.00405440
call fcn.0040e310
mov eax, dword [esp + 0x54]
mov edx, dword [0x546564]
add esp, 0x1c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c48b
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c48b
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c4b6
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c4b6
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c4e1
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c4e1
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c50c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c50c
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
push ebx
call fcn.0043cd00
push ebx
call fcn.00532508
add esp, 8
cmp eax, 0xffffffff
jne 0x40c6cc
mov eax, dword [0x554034]
test eax, eax
jne 0x40c6ac
mov eax, dword [0x546560]
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x40c591
mov ecx, ebx
shr ecx, 0x10
jne 0x40c557
and ebx, 0xffff
lea ecx, [esp + 0x14]
push ebx
call fcn.00413c90
jmp 0x40c591
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c591
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c591
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 [0x546560]
mov ecx, str.DIR__error_:_n
test ecx, ecx
mov dword [esp + 0x20], eax
jne 0x40c5a7
xor eax, eax
jmp 0x40c5b2
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 [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40c61d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c61d
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c648
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c648
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
call fcn.0040eaa0
test eax, eax
jne 0x40c6ac
mov eax, dword [0x546560]
push ecx
mov edi, esp
mov ecx, str._install__nolisense
test ecx, ecx
mov dword [edi], eax
je 0x40c698
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40c698
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x40c698
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.0040e850
add esp, 4
test eax, eax
je 0x40c6ac
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d294
add eax, 0xfffffff4
push eax
call ebp
jmp 0x40d280
mov eax, dword [0x546560]
mov ecx, 0x5470a0
test ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], eax
je 0x40c721
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x40c71c
push edi
lea ecx, [esp + 0x48]
call fcn.00405530
test eax, eax
je 0x40c71c
mov edx, dword [esp + 0x44]
inc edi
push edi
push 0x5470a0
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x44]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov eax, 0x547094
test eax, eax
je 0x40c770
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x40c770
push edi
lea ecx, [esp + 0x60]
call fcn.00405530
test eax, eax
je 0x40c770
mov ecx, dword [esp + 0x5c]
inc edi
push edi
push 0x547094
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x55d048]
lea eax, [esp + 0x28]
push edx
push ebx
push str._s_s.exe
push eax
call fcn.00405cb0
mov ecx, dword [0x546560]
mov edx, 0x546e00
add esp, 0x10
mov dword [esp + 0x14], ecx
test edx, edx
je 0x40c7d7
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x40c7d7
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40c7d7
mov eax, dword [esp + 0x14]
inc edi
push edi
push 0x546e00
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x546560]
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 [0x546560]
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 0x40c8a1
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x40c86f
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40c876
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x40c886
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x58]
call fcn.00405870
jmp 0x40c89d
lea ecx, [esp + 0x50]
call fcn.00412670
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c8c8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c8c8
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x4c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c8f3
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c8f3
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40c91e
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x40c91e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [0x55d048]
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 [0x553d9c]
mov edx, dword [0x55e300]
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 [0x546560]
lea ecx, [esp + 0xa0]
test ecx, ecx
mov dword [esp + 0x64], eax
je 0x40c9e9
lea edx, [esp + 0xa0]
shr edx, 0x10
jne 0x40c9ab
xor eax, eax
lea ecx, [esp + 0xa0]
mov ax, cx
lea ecx, [esp + 0x64]
push eax
call fcn.00413c90
jmp 0x40c9e9
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40c9e9
push edi
lea ecx, [esp + 0x68]
call fcn.00405530
test eax, eax
je 0x40c9e9
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 [0x546560]
lea edx, [esp + 0xa0]
test edx, edx
mov dword [esp + 0x54], ecx
je 0x40ca60
lea eax, [esp + 0xa0]
shr eax, 0x10
jne 0x40ca22
xor ecx, ecx
lea edx, [esp + 0xa0]
mov cx, dx
push ecx
lea ecx, [esp + 0x58]
call fcn.00413c90
jmp 0x40ca60
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40ca60
push edi
lea ecx, [esp + 0x58]
call fcn.00405530
test eax, eax
je 0x40ca60
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 [0x546560]
mov ecx, 0x547078
test ecx, ecx
mov dword [esp + 0x48], eax
je 0x40caac
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40caac
push esi
lea ecx, [esp + 0x4c]
call fcn.00405530
test eax, eax
je 0x40caac
mov edx, dword [esp + 0x48]
inc esi
push esi
push 0x547078
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 0x40cd1a
mov eax, dword [0x554034]
test eax, eax
jne 0x40cd5d
mov eax, dword [0x546560]
mov ecx, str._n_x__n
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x40cb35
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40cb35
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40cb35
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.004bc8d0
mov ecx, dword [0x546560]
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 [0x546560]
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cbed
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cbf3
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x40cbf3
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cc1e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cc1e
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cc49
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cc49
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
call fcn.0040eaa0
test eax, eax
jne 0x40cca9
mov eax, dword [0x546560]
push ecx
mov edi, esp
mov ecx, str._install__nolisense
test ecx, ecx
mov dword [edi], eax
je 0x40cc99
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x40cc99
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x40cc99
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.0040e850
add esp, 4
test eax, eax
jne 0x40cf03
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 0x40d0dc
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40ccf4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40ccf4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.00531732
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 0x40cadc
mov eax, dword [esp + 0x28]
push 0xa0
push eax
call ebp
mov edi, dword [esp + 0x58]
mov ecx, dword [0x546560]
test edi, edi
mov dword [esp + 0x14], ecx
je 0x40d2d9
mov edx, edi
shr edx, 0x10
jne 0x40d2a1
mov eax, edi
lea ecx, [esp + 0x14]
and eax, 0xffff
push eax
call fcn.00413c90
jmp 0x40d2d9
mov eax, dword [esp + 0x48]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cd90
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cd96
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x40cd96
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x54]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cdc1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cdc1
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cdec
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cdec
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce17
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce17
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce42
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce42
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce6d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce6d
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ce98
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40ce98
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cec3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cec3
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d294
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d294
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cf3e
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cf44
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x40cf44
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x48]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cf6f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cf6f
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cf9a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cf9a
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cfc5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cfc5
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cff0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40cff0
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d01b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d01b
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d046
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d046
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d071
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d071
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d09c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d09c
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d294
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d294
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d10b
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d111
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
jmp 0x40d111
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x48]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d13c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d13c
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d167
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d167
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d192
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d192
mov edx, dword [esp + 0x64]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x5c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d1bd
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d1bd
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d1e8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d1e8
mov edx, dword [esp + 0x60]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d213
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d213
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d23e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d23e
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d269
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d269
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d294
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40d294
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 0x40d2d9
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x40d2d9
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 [0x546560]
mov ecx, str.FavoritenQuick_Link_
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x40d2ef
xor eax, eax
jmp 0x40d2fa
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d358
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d358
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x40d373
push eax
mov dword [esp + 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x40d386
mov eax, dword [0x546560]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
call fcn.00405920
mov eax, dword [0x554044]
test eax, eax
je 0x40d5b6
lea ecx, [esp + 0x7c]
push ecx
call fcn.004b8df0
mov edx, dword [esp + 0x80]
push edx
call fcn.0043cd00
mov eax, dword [esp + 0x68]
add esp, 8
push 0xa0
push eax
call ebp
mov edx, dword [0x54a30c]
mov ecx, dword [0x546560]
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 [0x54a30c]
mov eax, dword [esp + 0x54]
push ecx
push edx
push str.m_lang_id
push eax
call fcn.0048db30
mov ecx, dword [esp + 0x84]
push ecx
push str..Favoriten_
push 0x546ff4
push 0x546fe0
call fcn.0048dec0
mov edx, dword [esp + 0x94]
push edx
push str..FavoritenQuick_Link_
push 0x546fa4
push 0x546fa0
call fcn.0048dec0
mov eax, dword [esp + 0xa4]
push eax
push 0x546f9c
push str.portable_install
push 0x546f68
call fcn.0048dec0
mov ecx, dword [esp + 0xac]
add esp, 0x4c
push 0xa0
push ecx
call ebp
mov edx, dword [0x546560]
push str._s_s.lnk
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edx
call fcn.00412740
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 0x40d4c9
mov ecx, dword [0x55d048]
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 0x40d535
mov edx, dword [0x55d048]
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.00412f10
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 0x40d580
mov ecx, dword [0x55d048]
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 0x40de10
mov esi, dword [0x55cee8]
lea eax, [esp + 0x94]
push eax
mov dword [0x55cee8], 0
call fcn.00464df0
add esp, 4
lea ecx, [esp + 0x94]
lea edx, [esp + 0x30]
push 0x546f08
push 0x55cee4
push 0x546f04
push ecx
push edx
call fcn.00412f10
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00412dc0
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00412f10
push eax
lea ecx, [esp + 0x6c]
call fcn.004129b0
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
mov edx, dword [0x546560]
mov eax, dword [esp + 0x68]
mov ecx, dword [0x54a30c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push str.m_lang_id
push edx
call fcn.0048db30
mov eax, dword [0x546560]
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [0x55cee8], esi
push 0x546efc
mov dword [esp + 0x78], eax
call fcn.00405730
push 0x546ef8
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.00412dc0
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00412dc0
mov eax, dword [eax]
mov ecx, dword [0x55d048]
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 [0x546560]
lea edx, [esp + 0x28]
push 0x546cdc
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x4c], ecx
call fcn.00412f10
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 0x546cdc
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x554038]
mov esi, reloc.SHELL32.dll_SHChangeNotifyRegister
test eax, eax
jne 0x40d76c
mov esi, SHChangeNotifyDeregister
push 0x55d048
lea ecx, [esp + 0x14]
push 0x554028
push ecx
mov dword [esp + 0x24], 0
call fcn.00412dc0
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040de90
lea ecx, [esp + 0x10]
call fcn.00405700
mov edx, dword [0x55d048]
push str.DisplayName
push edx
lea ecx, [esp + 0x20]
call fcn.0040df20
lea ecx, [esp + 0x18]
call fcn.00409900
push 0x55d048
lea eax, [esp + 0x14]
push 0x554028
push eax
call fcn.00412dc0
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0040de90
lea ecx, [esp + 0x10]
call fcn.00405700
mov ecx, dword [esp + 0x50]
push str.UninstallString
push ecx
lea ecx, [esp + 0x20]
call fcn.0040df20
push str.EstimatedSize
push 0x3e8
lea ecx, [esp + 0x20]
call fcn.0040df00
lea edx, [esp + 0x28]
push 0x546e8c
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00412f10
mov eax, dword [eax]
push str.DisplayIcon
push eax
lea ecx, [esp + 0x20]
call fcn.0040df20
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00409900
lea ecx, [esp + 0x18]
call fcn.00409900
mov ecx, dword [0x546560]
push 0x546e68
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 0x40d945
mov eax, dword [0x55d048]
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 0x40d91e
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0051c3c0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00532429
add esp, 0x10
test eax, eax
je 0x40d915
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
push edx
call fcn.00405440
call fcn.00406770
add esp, 4
call fcn.00406840
lea ecx, [esp + 0x10]
call fcn.00405700
lea eax, [esp + 0x34]
push 0x546cdc
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40d974
lea edx, [esp + 0x68]
push 0x546cdc
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
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 0x40da1c
push 0x546e3c
lea ecx, [esp + 0x20]
call fcn.00405730
mov edx, dword [0x55d048]
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.00412dc0
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 0x546cdc
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
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 0x40da8e
mov ecx, dword [0x55d048]
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 0x546cdc
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x1c]
call fcn.00405700
mov eax, dword [0x546560]
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 0x546cdc
push edx
lea eax, [esp + 0x18]
push 0x546cb8
push eax
call fcn.00413060
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
push 0x546e00
lea ecx, [esp + 0x20]
call fcn.00405730
lea edx, [esp + 0x1c]
push 0x55d048
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00412dc0
lea edx, [esp + 0x94]
push eax
push edx
call fcn.00412dc0
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea eax, [esp + 0x34]
push 0x546cdc
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
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.00412740
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
push eax
call fcn.00405440
push ecx
mov ecx, esp
push 0x553d98
call fcn.00412740
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
push edx
call fcn.00405440
call fcn.0040e310
add esp, 0x1c
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push 0x546cdc
push eax
push 0x546cb8
push ecx
call fcn.00413060
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x55d048]
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 0x546cdc
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x1c]
call fcn.00405700
lea edx, [esp + 0x34]
push 0x546cdc
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
lea ecx, [esp + 0x1c]
call fcn.00405700
mov eax, dword [0x554034]
test eax, eax
jne 0x40dcb7
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 [0x546560]
push esi
lea eax, [esp + 0x8c]
push 0x546e34
push eax
mov dword [esp + 0x94], edx
call fcn.00405cb0
add esp, 0xc
lea ecx, [esp + 0x88]
lea edx, [esp + 0x10]
push 0x546cdc
push ecx
push 0x546cb8
push edx
call fcn.00413060
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00412f10
push eax
lea ecx, [esp + 0x44]
call fcn.00413220
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.00406370
mov eax, dword [esp + 0x94]
add esp, 8
test eax, eax
je 0x40dd58
mov eax, dword [esp + 0x28]
mov ecx, dword [0x55d048]
push 0
push eax
push ecx
call fcn.00530a00
add esp, 0xc
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40dd78
mov edx, dword [esp + 0x28]
mov eax, dword [0x55d048]
push 1
push edx
push eax
call fcn.00530a00
add esp, 0xc
push 0x55ced8
lea ecx, [esp + 0x9c]
call fcn.00405440
lea ecx, [esp + 0x74]
push ecx
mov ecx, 0x55ced8
call fcn.004129b0
mov edx, dword [0x554038]
push edx
push 0x546cbc
call fcn.005191c0
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