Function at 0x40159c
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Self delete
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x472dd4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebp - 4], 0
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edi, edx
mov ebx, ecx
imul edi, edi, 0x4008
imul ebx, ebx, 0x4008
mov dword [ebp - 8], eax
mov eax, section..ndata
add edi, eax
add ebx, eax
lea eax, [ebp - 0x28]
mov dword [0x40b0c4], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffffe
cmp eax, 0x45
ja case.0x4015f5.68
jmp dword [eax*4 + 0x4030bc]
push edx
push str.Jump:__d
call fcn.00406225
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jmp 0x4030b3
xor esi, esi
call fcn.0040145c
push eax
push str.Aborting:___s_
call fcn.00406225
pop ecx
pop ecx
push esi
push dword [ebp - 0x28]
call fcn.00404f27
mov eax, 0x7fffffff
jmp 0x4030b3
inc dword [0x46ad94]
cmp dword [ebp - 8], 0
je 0x40162e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40162e
push edx
call fcn.0040137c
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406225
pop ecx
pop ecx
push 0
push esi
call fcn.0040139b
jmp 0x4030b3
xor esi, esi
call fcn.0040145c
push eax
push str.detailprint:__s
call fcn.00406225
pop ecx
pop ecx
push esi
push dword [ebp - 0x28]
call fcn.00404f27
jmp case.0x4015f5.68
xor ecx, ecx
call fcn.00401446
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406225
cmp esi, 1
pop ecx
pop ecx
jg 0x4016b1
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015f5.68
push str.BringToFront
call fcn.00406225
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015f5.68
mov eax, edx
shl eax, 2
cmp dword [ebp - 0x20], 0
jne 0x401704
mov ecx, dword [eax + 0x472e80]
mov dword [eax + 0x472e40], ecx
xor ecx, ecx
inc ecx
call fcn.00401446
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x472e80], eax
jmp case.0x4015f5.68
mov ecx, dword [eax + 0x472e40]
mov dword [eax + 0x472e80], ecx
jmp case.0x4015f5.68
mov edx, dword [ebp - 0x20]
lea edx, [edx*4 + 0x472e80]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x28]
jmp 0x4030b3
push dword [ecx*4 + 0x472e80]
jmp 0x4030a2
mov eax, dword [0x46ada0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401758
push ecx
push eax
call esi
mov edx, dword [ebp - 0x28]
mov eax, dword [0x46ad8c]
test eax, eax
je case.0x4015f5.68
push edx
push eax
call esi
jmp case.0x4015f5.68
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
push dword [ebp - 0x24]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406225
add esp, 0xc
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015f5.68
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406225
pop ecx
jmp case.0x4015f5.68
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
push dword [ebp - 0x24]
mov ebx, eax
push ebx
push str.CreateDirectory:___s____d_
call fcn.00406225
add esp, 0xc
push ebx
call fcn.00405d0f
mov esi, eax
test esi, esi
je 0x401850
push 0x5c
push esi
call fcn.00405cbb
mov esi, eax
movzx edi, word [esi]
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401839
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40181e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406225
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401846
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401846
push ebx
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406225
inc dword [ebp - 4]
jmp 0x401844
push ebx
push str.CreateDirectory:___s__created
call fcn.00406225
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x4017d9
cmp dword [ebp - 0x24], 0
je 0x401874
push 0xffffffffffffffe6
call fcn.00401435
push ebx
push 0x4cb0b0
call fcn.00405fc0
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015f5.68
push 0xfffffffffffffff5
call fcn.00401435
jmp case.0x4015f5.68
xor esi, esi
call fcn.0040145c
mov esi, eax
push esi
call fcn.00406257
test eax, eax
je 0x4018ac
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406225
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x4030b3
push dword [ebp - 0x20]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406225
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x4030b3
push 0xffffffffffffffd0
pop esi
call fcn.0040145c
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.0040145c
push 0x13
pop esi
mov ebx, eax
call fcn.0040145c
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406225
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401903
push 0xffffffffffffffe3
jmp 0x401876
cmp dword [ebp - 0x20], 0
je 0x401929
push edi
call fcn.00406257
test eax, eax
je 0x401929
push ebx
push edi
call fcn.00406be5
push 0xffffffffffffffe4
call fcn.00401435
push esi
push str.Rename_on_reboot:__s
jmp 0x401936
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.00406225
pop ecx
jmp 0x4017ac
xor esi, esi
call fcn.0040145c
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x2004
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401984
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401990
cmp word [eax], 0
je 0x401990
push esi
call fcn.00406257
test eax, eax
je 0x401984
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00405fc0
jmp 0x401990
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
jne case.0x4015f5.68
push 0x2004
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015f5.68
or esi, 0xffffffff
call fcn.0040145c
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015f5.68
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
jmp case.0x4015f5.68
push 0xffffffffffffffef
pop esi
call fcn.0040145c
push eax
push edi
call fcn.00405e35
test eax, eax
jne case.0x4015f5.68
mov dword [ebp - 4], 1
jmp case.0x4015f5.68
push 0x31
pop esi
call fcn.0040145c
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
sar eax, 3
push esi
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 8], esi
mov dword [ebp + 8], ecx
call fcn.00406225
add esp, 0x10
push esi
call fcn.00405cda
push esi
mov esi, 0x40b0c8
test eax, eax
je 0x401a4b
push esi
call fcn.00405fc0
jmp 0x401a62
push 0x4cb0b0
push esi
call fcn.00405fc0
push eax
call fcn.004066a5
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00405fef
mov edi, 0x4130d8
mov ebx, 0x40f0d0
cmp dword [ebp + 8], 3
jl 0x401aa9
push esi
call fcn.00406257
xor ecx, ecx
test eax, eax
je 0x401a94
lea ecx, [ebp - 0x1c]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x401ab5
push esi
call fcn.00405de6
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405e06
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x401b8f
cmp dword [ebp + 8], 0
jne 0x401b4c
push esi
push str.File:_error_creating___s_
call fcn.00406225
pop ecx
pop ecx
push section..ndata
push edi
call fcn.00405fc0
push esi
push section..ndata
call fcn.00405fc0
push dword [ebp - 0x14]
push ebx
call fcn.00406789
push edi
push section..ndata
call fcn.00405fc0
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push ebx
call fcn.00405c55
sub eax, 4
jne 0x401b36
push str.File:_error__user_retry
call fcn.00406225
pop ecx
jmp 0x401a72
dec eax
je 0x401b79
push str.File:_error__user_abort
call fcn.00406225
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x401629
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00404f27
cmp dword [ebp + 8], 2
jne 0x401b63
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406225
add esp, 0xc
jmp case.0x4015f5.68
push str.File:_error__user_cancel
call fcn.00406225
inc dword [0x472e88]
pop ecx
jmp 0x4030b1
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00404f27
inc dword [0x472eb4]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call fcn.0040333b
dec dword [0x472eb4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406225
add esp, 0xc
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401bd1
cmp dword [ebp - 0x18], 0xffffffff
je 0x401be0
lea eax, [ebp - 0x1c]
push eax
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015f5.68
cmp edi, 0xfffffffe
jne 0x401c09
push 0xffffffffffffffe9
push esi
call fcn.00406789
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c11
push 0xffffffffffffffee
push esi
call fcn.00406789
push esi
push 0x4089f4
call fcn.00406225
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405c55
jmp 0x40162e
xor esi, esi
call fcn.0040145c
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406225
pop ecx
pop ecx
push dword [ebp - 0x24]
push esi
call fcn.00406c18
jmp case.0x4015f5.68
push 0x31
pop esi
call fcn.0040145c
mov esi, eax
push esi
push dword [ebp - 0x28]
push str.MessageBox:__d___s_
call fcn.00406225
add esp, 0xc
push dword [ebp - 0x28]
push esi
call fcn.00405c55
test eax, eax
je 0x4019f9
cmp eax, dword [ebp - 0x20]
jne 0x401c8b
mov eax, dword [ebp - 0x1c]
jmp 0x4030b3
cmp eax, dword [ebp - 0x18]
jne case.0x4015f5.68
mov eax, dword [ebp - 0x14]
jmp 0x4030b3
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c3d
xor esi, esi
inc esi
call fcn.0040145c
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4030a1
push 2
pop ecx
call fcn.00401446
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401446
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040145c
mov esi, eax
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x20], eax
je 0x401cf3
cmp dword [ebp + 8], eax
je case.0x4015f5.68
push esi
call sub.KERNEL32.dll_lstrlenW
test ebx, ebx
jge 0x401d05
add ebx, eax
js case.0x4015f5.68
cmp ebx, eax
jle 0x401d0b
mov ebx, eax
lea eax, [esi + ebx*2]
push eax
push edi
call fcn.00405fc0
mov esi, dword [ebp + 8]
test esi, esi
je case.0x4015f5.68
jge 0x401d33
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
jns 0x401d33
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2004
jge case.0x4015f5.68
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x4015f5.68
push 0x20
pop esi
call fcn.0040145c
push 0x31
pop esi
mov edi, eax
call fcn.0040145c
cmp dword [ebp - 0x18], 0
push eax
push edi
jne 0x401d77
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401c83
jmp 0x4018bd
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401d6a
xor esi, esi
inc esi
call fcn.0040145c
push 0x2004
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401dac
cmp dword [ebp - 0x20], 0
je 0x401db4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401db4
xor eax, eax
mov dword [ebp - 4], esi
mov word [edi], ax
xor eax, eax
mov word [edi + 0x4006], ax
jmp case.0x4015f5.68
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401446
cmp dword [ebp - 0x14], 0
jne 0x401def
cmp esi, eax
jl 0x401c83
jle 0x4018bd
mov eax, dword [ebp - 0x18]
jmp 0x4030b3
cmp esi, eax
jb 0x401c83
jbe 0x4018bd
jmp 0x401de7
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.00401446
push 2
pop ecx
mov esi, eax
call fcn.00401446
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x401e1d
jmp dword [eax*4 + 0x4031d4]
add esi, ecx
jmp case.default.0x401e1d
sub esi, ecx
jmp case.default.0x401e1d
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e1d
test ecx, ecx
je 0x401e3e
mov eax, esi
cdq
idiv ecx
jmp 0x401e58
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401e1d
or esi, ecx
jmp case.default.0x401e1d
and esi, ecx
jmp case.default.0x401e1d
xor esi, ecx
jmp case.default.0x401e1d
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e1d
test esi, esi
jne 0x401e64
test ecx, ecx
je 0x401e6c
mov esi, ebx
jmp case.default.0x401e1d
test esi, esi
jne 0x401e60
xor esi, esi
jmp case.default.0x401e1d
test ecx, ecx
je 0x401e3e
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e1d
shl esi, cl
jmp case.default.0x401e1d
sar esi, cl
push esi
jmp 0x4030a2
xor esi, esi
inc esi
call fcn.0040145c
push 2
pop ecx
mov esi, eax
call fcn.00401446
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401b71
mov eax, dword [ebp - 0x20]
mov esi, dword [0x40b0c0]
test eax, eax
je 0x401f15
dec eax
test esi, esi
je 0x401ec5
mov esi, dword [esi]
test eax, eax
jne 0x401eb6
test esi, esi
jne 0x401ee8
push dword [ebp - 0x20]
push str.Exch:_stack____d_elements
call fcn.00406225
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406789
push eax
jmp 0x401c24
lea edi, [esi + 4]
push edi
mov esi, 0x40b0c8
push esi
call fcn.00405fc0
mov eax, dword [0x40b0c0]
add eax, 4
push eax
push edi
call fcn.00405fc0
mov eax, dword [0x40b0c0]
push esi
add eax, 4
push eax
jmp 0x402e11
test ecx, ecx
je 0x401f44
test esi, esi
jne 0x401f2d
push str.Pop:_stack_empty
call fcn.00406225
pop ecx
jmp 0x4019f9
lea eax, [esi + 4]
push eax
push edi
call fcn.00405fc0
mov eax, dword [esi]
mov dword [0x40b0c0], eax
push esi
jmp 0x402397
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406789
mov eax, dword [0x40b0c0]
mov dword [esi], eax
mov dword [0x40b0c0], esi
jmp case.0x4015f5.68
push 3
pop ecx
call fcn.00401446
push 4
pop ecx
mov dword [ebp - 0xc], eax
call fcn.00401446
test byte [ebp - 0x14], 1
mov dword [ebp + 8], eax
je 0x401f98
push 0x33
pop esi
call fcn.0040145c
mov dword [ebp - 0xc], eax
test byte [ebp - 0x14], 2
je 0x401fa9
push 0x44
pop esi
call fcn.0040145c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
jne 0x401ffa
xor ecx, ecx
inc ecx
call fcn.00401446
push 2
pop ecx
mov esi, eax
call fcn.00401446
mov ecx, dword [ebp - 0x14]
sar ecx, 2
test ecx, ecx
je 0x401fea
lea edx, [ebp - 8]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40202f
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40202c
xor esi, esi
inc esi
call fcn.0040145c
push 0x12
pop esi
mov ebx, eax
call fcn.0040145c
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [ebx]
neg eax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28], 0
jl case.0x4015f5.68
push dword [ebp - 8]
jmp 0x4030a2
xor ecx, ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018bd
jmp 0x4018a4
push 2
pop ecx
call fcn.00401446
xor ecx, ecx
push eax
inc ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4030a1
mov eax, dword [0x472e08]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015f5.68
push ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x20]
push 0x10
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x20]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.0040145c
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015f5.68
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015f5.68
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.00401446
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x41f0f0], eax
call fcn.00401446
push dword [ebp - 0x24]
mov dword [0x41f100], eax
mov al, byte [ebp - 0x18]
mov cl, al
and cl, 1
mov byte [0x41f104], cl
mov cl, al
and cl, 2
and al, 4
push 0x41f10c
mov byte [0x41f105], cl
mov byte [0x41f106], al
mov byte [0x41f107], 1
call fcn.00406789
push 0x41f0f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4030a1
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401446
cmp dword [ebp - 0x20], 0
mov edi, eax
je 0x402193
push str.HideWindow
call fcn.00406225
pop ecx
cmp dword [ebp - 0x1c], 0
push edi
push esi
jne 0x4021a6
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015f5.68
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015f5.68
xor esi, esi
call fcn.0040145c
push 0x31
pop esi
mov edi, eax
call fcn.0040145c
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.0040145c
push 0x15
pop esi
mov ebx, eax
call fcn.0040145c
push 0xffffffffffffffec
call fcn.00401435
movzx eax, word [ebx]
push dword [ebp - 0x1c]
neg eax
sbb eax, eax
and eax, ebx
push 0x4cb0b0
push eax
movzx eax, word [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x402223
push eax
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406225
add esp, 0x14
jmp 0x4019f9
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406225
add esp, 0x10
jmp case.0x4015f5.68
xor esi, esi
call fcn.0040145c
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406225
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00404f27
push esi
call fcn.00405bf4
mov dword [ebp + 8], eax
push esi
test eax, eax
je 0x4022d1
push str.Exec:_success____s__
call fcn.00406225
cmp dword [ebp - 0x20], 0
pop ecx
pop ecx
je 0x4022c9
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp + 8]
call esi
mov edi, 0x102
jmp 0x40229a
push 0xf
call fcn.004062b5
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x40228c
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], 0
jl 0x4022bc
push dword [ebp - 0x10]
push ebx
call fcn.00405f07
jmp 0x4022c9
cmp dword [ebp - 0x10], 0
je 0x4022c9
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402aa9
push 0x4087b0
jmp 0x40192f
push 2
pop esi
call fcn.0040145c
push eax
call fcn.00406257
mov esi, eax
test esi, esi
je 0x402300
push dword [esi + 0x14]
push ebx
call fcn.00405f07
push dword [esi + 0x18]
jmp 0x4030a2
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
jmp 0x4019f9
push 0xffffffffffffffee
pop esi
call fcn.0040145c
lea ecx, [ebp - 0x30]
push ecx
push eax
mov dword [ebp - 0x3c], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
mov dword [ebp - 4], 1
test esi, esi
je case.0x4015f5.68
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je case.0x4015f5.68
push eax
push esi
push 0
push dword [ebp - 0x3c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402394
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 8]
push eax
push 0x4087ac
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x402394
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.00405f07
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push ebx
call fcn.00405f07
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015f5.68
cmp dword [0x472eb8], 0
mov dword [ebp - 4], 1
jl 0x402493
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040145c
cmp dword [ebp - 0x18], 0
mov esi, eax
je 0x4023de
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4023f4
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 8], eax
test eax, eax
je 0x402481
push esi
push dword [ebp + 8]
call fcn.004062e8
mov edi, eax
test edi, edi
je 0x402442
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x402424
push dword [ebp - 0x20]
call fcn.00401435
call edi
test eax, eax
je 0x402459
mov dword [ebp - 4], 1
jmp 0x402459
push section..data
push 0x40b0c0
push section..ndata
push 0x2004
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x402459
push esi
push 0xfffffffffffffff7
call fcn.00404f27
push ebx
push esi
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406225
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne case.0x4015f5.68
push dword [ebp + 8]
call fcn.00403c6f
test eax, eax
je case.0x4015f5.68
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015f5.68
push 0xfffffffffffffff6
call fcn.00401435
push ebx
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401936
push 0xffffffffffffffe7
call fcn.00401435
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x4017a7
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 8], eax
call fcn.0040145c
push 2
pop esi
mov edi, eax
call fcn.0040145c
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x10], eax
call fcn.0040145c
push 0x45
pop esi
mov ebx, eax
call fcn.0040145c
push edi
mov dword [ebp - 0x3c], eax
call fcn.00405cda
test eax, eax
jne 0x4024eb
push 0x21
pop esi
call fcn.0040145c
mov eax, dword [ebp - 0x18]
mov ecx, eax
sar ecx, 0x10
push ecx
mov ecx, eax
sar ecx, 8
mov esi, 0xff
and ecx, esi
push ecx
and eax, esi
push eax
push ebx
push dword [ebp - 0x10]
push edi
push dword [ebp - 8]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406225
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x4099f8
push 1
push 0
push 0x409a18
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4025f3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0x409a08
push eax
call dword [ecx]
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x4025e4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4cb0b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x402589
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
cmp word [ebx], 0
je 0x4025ac
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and edx, esi
push edx
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x4025db
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push 1
push dword [ebp - 8]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
jge 0x402601
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x401876
push 0xfffffffffffffff4
jmp 0x401876
xor esi, esi
call fcn.0040145c
push 0x11
pop esi
mov edi, eax
call fcn.0040145c
push 0x23
pop esi
mov ebx, eax
call fcn.0040145c
push ebx
push edi
push str.CopyFiles___s_____s_
mov esi, eax
call fcn.00406225
add esp, 0xc
push edi
call fcn.00406257
test eax, eax
jne 0x40264c
push 0
push 0xfffffffffffffff9
call fcn.00404f27
jmp 0x4019f9
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push ebx
mov word [edi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ax, word [ebp - 0x20]
push esi
push ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3a], esi
mov word [ebp - 0x44], ax
call fcn.00404f27
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015f5.68
jmp 0x40263e
cmp edx, 0xbadf00d
jne 0x401ed4
inc dword [0x472e94]
jmp case.0x4015f5.68
xor esi, esi
push str._RM_
mov ebx, 0x40f0d0
push ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], esi
mov dword [ebp + 8], esi
call fcn.00405fc0
push ebx
mov edi, 0x4130d8
push edi
call fcn.00405fc0
cmp dword [ebp - 0x28], esi
je 0x4026ea
call fcn.0040145c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], 0
je 0x4026fb
push 0x11
pop esi
call fcn.0040145c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x18], 0
je 0x40270c
push 0x22
pop esi
call fcn.0040145c
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.0040145c
mov esi, eax
push esi
push edi
push ebx
push 0x40b0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406225
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4019f1
mov eax, dword [0x40858c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x408590]
xor esi, esi
inc esi
mov dword [ebp - 0x3c], eax
call fcn.0040145c
push 0x12
pop esi
mov ebx, eax
call fcn.0040145c
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.0040145c
push eax
push 0x2003
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4019c9
push ecx
call fcn.00406142
cmp dword [ebp - 0x18], 0
pop ecx
mov dword [ebp + 8], eax
jne 0x4027e6
push 2
call fcn.0040154d
mov edi, eax
test edi, edi
je 0x4019f9
push 0x33
pop esi
call fcn.0040145c
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4130d8
push dword [ebp + 8]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406225
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402822
push 0x22
pop esi
call fcn.0040145c
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406225
mov eax, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
jne 0x402812
mov eax, dword [0x472e84]
add eax, 0x80000001
mov ecx, dword [ebp - 0x18]
and ecx, 2
push ecx
push esi
push eax
call fcn.00401497
mov ebx, eax
test ebx, ebx
je case.0x4015f5.68
jmp 0x4019f9
test edx, edx
je 0x402837
mov edi, edx
jmp 0x402843
mov edi, dword [0x472e84]
add edi, 0x80000001
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push 2
pop esi
mov dword [ebp - 0x30], eax
call fcn.0040145c
push 0x11
pop esi
mov dword [ebp - 8], eax
call fcn.0040145c
push edi
mov dword [ebp + 8], eax
call fcn.00406142
pop ecx
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [0x472eb0]
push eax
or ecx, 2
push ecx
push eax
push eax
push eax
push dword [ebp + 8]
xor ebx, ebx
inc ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40299d
xor esi, esi
mov edi, 0x4130d8
cmp dword [ebp - 0x10], ebx
jne 0x4028e8
push 0x23
pop esi
call fcn.0040145c
push edi
call sub.KERNEL32.dll_lstrlenW
push edi
push dword [ebp - 8]
lea esi, [eax + eax + 2]
push dword [ebp + 8]
push dword [ebp - 0xc]
cmp dword [ebp - 0x30], ebx
jne 0x4028db
push str.WriteRegStr:___s_s____s___s_
call fcn.00406225
add esp, 0x14
jmp 0x40295d
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406225
add esp, 0x14
cmp dword [ebp - 0x10], 4
jne 0x402915
push 3
pop ecx
call fcn.00401446
push 4
pop esi
push eax
push dword [ebp - 8]
mov dword [0x4130d8], eax
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406225
add esp, 0x14
cmp dword [ebp - 0x10], 3
jne 0x40295d
push 0xc018
push edi
push 0
push dword [ebp - 0x1c]
call fcn.0040333b
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x154]
push 0x100
push eax
call fcn.004061a6
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406225
add esp, 0x24
push esi
push edi
push dword [ebp - 0x30]
push 0
push dword [ebp - 8]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402979
and dword [ebp - 4], eax
jmp 0x40298f
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406225
add esp, 0x10
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015f5.68
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401b6c
push 0x20019
call fcn.0040154d
push 0x33
pop esi
mov ebx, eax
call fcn.0040145c
xor ecx, ecx
mov word [edi], cx
test ebx, ebx
je 0x4019f9
lea ecx, [ebp - 0x3c]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 0x3c], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402a26
cmp dword [ebp + 8], 4
je 0x402a11
cmp dword [ebp + 8], ecx
je 0x402a00
cmp dword [ebp + 8], 2
jne 0x402a26
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x402a2e
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x18], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405f07
jmp 0x402a2e
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], ecx
push ebx
jmp 0x402992
push 0x20019
call fcn.0040154d
push 3
pop ecx
mov esi, eax
call fcn.00401446
xor ecx, ecx
xor edx, edx
mov word [edi], cx
cmp esi, edx
je 0x4019f9
mov ecx, 0x2003
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x18], edx
je 0x402a70
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402a89
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4019f9
xor eax, eax
mov word [edi + 0x4006], ax
push esi
jmp 0x402992
cmp word [edi], 0
je case.0x4015f5.68
push edi
call fcn.00405f20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015f5.68
push 0xffffffffffffffed
pop esi
call fcn.0040145c
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405e06
cmp eax, 0xffffffff
jne 0x4030a1
xor eax, eax
mov word [edi], ax
jmp 0x4019f9
mov ebx, 0x2004
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x20], 0
mov esi, eax
mov dword [ebp + 8], esi
je 0x402b03
xor ecx, ecx
inc ecx
call fcn.00401446
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x402b2b
push 0x11
pop esi
call fcn.0040145c
xor eax, eax
push eax
push eax
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40f0d0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [edi], 0
je 0x402b4c
push 0
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.00405f20
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402b53
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402397
push 2
pop ecx
xor esi, esi
call fcn.00401446
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015f5.68
mov ecx, 0x2003
cmp eax, ecx
jle 0x402b7d
mov dword [ebp - 0x10], ecx
cmp word [edi], si
je 0x402c39
push edi
mov byte [ebp - 0x31], 0
call fcn.00405f20
cmp dword [ebp - 0x10], esi
mov dword [ebp - 0x3c], eax
jle 0x402c39
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c39
cmp dword [ebp - 0x30], 1
jne 0x402c39
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x402bff
push 2
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x31]
cmp al, 0xd
je 0x402c0f
cmp al, 0xa
je 0x402c0f
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
mov byte [ebp - 0x31], al
test al, al
je 0x402c39
cmp esi, dword [ebp - 0x10]
jl 0x402b9c
jmp 0x402c39
movzx eax, byte [ebp + 0xb]
push eax
push ebx
call fcn.00405f07
jmp 0x4030b1
cmp al, byte [ebp + 0xb]
je 0x402c2b
cmp byte [ebp + 0xb], 0xd
je 0x402c20
cmp byte [ebp + 0xb], 0xa
jne 0x402c2b
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
inc esi
jmp 0x402c39
push 1
push edi
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov word [ebx + esi*2], ax
test esi, esi
jmp 0x4019f3
cmp dword [ebp - 0x20], 0
je 0x402c5f
xor ecx, ecx
inc ecx
call fcn.00401446
mov word [0x40f0d0], ax
xor eax, eax
inc eax
jmp 0x402c6d
push 0x11
pop esi
call fcn.0040145c
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], 0
je 0x4019f9
push 0
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40f0d0
push edi
call fcn.00405f20
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019f1
push 2
pop ecx
xor esi, esi
call fcn.00401446
cmp eax, 1
mov dword [ebp - 0xc], eax
jl case.0x4015f5.68
mov ecx, 0x2003
cmp eax, ecx
jle 0x402cb9
mov dword [ebp - 0xc], ecx
cmp word [edi], si
je 0x402c39
and dword [ebp + 8], esi
push edi
call fcn.00405f20
cmp dword [ebp - 0xc], esi
mov dword [ebp - 0x3c], eax
jle 0x402c39
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x30]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c39
cmp dword [ebp - 0x30], 2
jne 0x402c39
cmp dword [ebp - 0x1c], 0
jne 0x402d32
cmp di, 0xd
je 0x402d3b
cmp di, 0xa
je 0x402d3b
mov ax, word [ebp + 8]
mov word [ebx + esi*2], ax
inc esi
movzx edi, ax
test ax, ax
je 0x402c39
cmp esi, dword [ebp - 0xc]
jl 0x402cda
jmp 0x402c39
movzx eax, word [ebp + 8]
jmp 0x402c03
mov ax, word [ebp + 8]
cmp di, ax
je 0x402d58
cmp ax, 0xd
je 0x402c24
cmp ax, 0xa
je 0x402c24
push 1
push 0
push 0xfffffffffffffffe
jmp 0x402c30
cmp word [edi], 0
je case.0x4015f5.68
push dword [ebp - 0x1c]
push 0
push 2
pop ecx
call fcn.00401446
push eax
push edi
call fcn.00405f20
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], 0
jl case.0x4015f5.68
push eax
push ebx
jmp 0x4030a3
cmp word [edi], 0
je case.0x4015f5.68
push edi
call fcn.00405f20
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015f5.68
cmp word [ebx], 0
je 0x4019d1
lea eax, [ebp - 0x3a4]
push eax
push ebx
call fcn.00405f20
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4019d1
jmp 0x402e09
push 2
pop esi
call fcn.0040145c
lea ecx, [ebp - 0x3a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e02
xor eax, eax
mov word [ebx], ax
jmp 0x402ad1
push eax
push ebx
call fcn.00405f07
lea eax, [ebp - 0x378]
push eax
push edi
call fcn.00405fc0
jmp case.0x4015f5.68
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.0040145c
mov edi, eax
push edi
mov dword [ebp - 0x30], edi
call fcn.00405cda
test eax, eax
jne 0x402e3f
push 0xffffffffffffffed
pop esi
call fcn.0040145c
push edi
call fcn.00405de6
push 2
push 0x40000000
push edi
call fcn.00405e06
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402efb
mov eax, dword [0x472e2c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x3c], eax
call esi
mov edi, eax
test edi, edi
je 0x402ef2
push 0
call fcn.00403324
push dword [ebp - 0x3c]
push edi
call fcn.004032f2
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x402ec9
push dword [ebp - 0x20]
push esi
push 0
push dword [ebp - 0x24]
call fcn.0040333b
jmp 0x402ebb
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405dc2
add esi, ebx
cmp byte [esi], 0
jne 0x402ea7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x3c]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.0040333b
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
push ebx
push str.created_uninstaller:__d____s_
call fcn.00406225
add esp, 0xc
push 0xfffffffffffffff3
pop esi
test ebx, ebx
jge 0x402f26
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x401876
test edx, edx
je 0x402f6d
push ecx
push str.settings_logging_to__d
call fcn.00406225
mov eax, dword [ebp - 0x24]
push eax
push str.logging_set_to__d
mov dword [0x461520], eax
call fcn.00406225
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x402f61
call fcn.00403e2b
jmp case.0x4015f5.68
push 1
call fcn.004060a0
jmp case.0x4015f5.68
xor esi, esi
inc esi
call fcn.0040145c
push eax
push 0x4089f4
jmp 0x401936
xor ecx, ecx
call fcn.00401446
mov edi, eax
cmp edi, dword [0x472dec]
jae 0x4019f9
mov eax, dword [ebp - 0x20]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x472de8]
test eax, eax
jl 0x402fbf
mov ecx, dword [esi + eax*4]
jne 0x402fb9
add esi, 0x18
push esi
push ebx
jmp 0x402e11
push ecx
jmp 0x402d93
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402fd6
xor ecx, ecx
inc ecx
call fcn.00401446
mov dword [ebp - 0x24], eax
jmp 0x402fe9
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.00406789
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x1c], 0
je case.0x4015f5.68
push edi
call fcn.00401186
jmp case.0x4015f5.68
xor ecx, ecx
call fcn.00401446
cmp eax, 0x20
jae 0x4019f9
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x40303d
cmp dword [ebp - 0x20], esi
je 0x403032
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x4015f5.68
push esi
call fcn.004012f1
jmp 0x402d92
cmp dword [ebp - 0x20], esi
je 0x403054
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x472ddc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015f5.68
mov ecx, dword [0x472ddc]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.00406789
jmp case.0x4015f5.68
mov eax, dword [0x457274]
push 0
and eax, edx
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x28], 0
je case.0x4015f5.68
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015f5.68
xor esi, esi
inc esi
call fcn.0040145c
push eax
call fcn.0040632f
push eax
push edi
call fcn.00405f07
mov eax, dword [ebp - 4]
add dword [0x472e88], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4