Function at 0x4015e3
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d0
mov eax, dword [0x47d2b8]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
imul edi, edi, 0x4008
mov esi, ecx
imul esi, esi, 0x4008
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
mov ebx, section..ndata
mov dword [0x40b100], eax
lea eax, [edx - 2]
add esi, ebx
add edi, ebx
cmp eax, 0x44
ja case.0x40163a.66
jmp dword [eax*4 + 0x40315b]
push ecx
push str.Jump:__d
call fcn.00406681
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
jmp 0x403151
push 0
call fcn.00401463
push eax
push str.Aborting:___s_
call fcn.00406681
pop ecx
pop ecx
push 0
push dword [ebp - 0x24]
call fcn.00405057
mov eax, 0x7fffffff
jmp 0x403151
inc dword [0x475274]
cmp dword [ebp - 0xc], 0
je 0x401674
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401674
push ecx
call fcn.0040137e
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406681
pop ecx
pop ecx
push 0
push esi
call fcn.0040139d
jmp 0x403151
push 0
call fcn.00401463
push eax
push str.DetailPrint:__s
call fcn.00406681
pop ecx
pop ecx
push 0
push dword [ebp - 0x24]
call fcn.00405057
jmp case.0x40163a.66
xor ecx, ecx
call fcn.00401446
mov esi, eax
push esi
push str.Sleep__d_
mov dword [ebp - 0x48], edx
call fcn.00406681
pop ecx
pop ecx
cmp esi, 1
jg 0x4016fb
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40163a.66
push str.BringToFront
call fcn.00406681
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40163a.66
cmp dword [ebp - 0x1c], 0
mov eax, ecx
jne 0x401757
mov ecx, dword [eax*4 + 0x47d380]
mov dword [eax*4 + 0x47d340], ecx
xor ecx, ecx
inc ecx
call fcn.00401446
mov ecx, dword [ebp - 0x24]
push eax
push ecx
mov dword [ebp - 0x48], edx
mov dword [ecx*4 + 0x47d380], eax
push str.SetFlag:__d_d
jmp 0x401bf8
mov ecx, dword [eax*4 + 0x47d340]
mov dword [eax*4 + 0x47d380], ecx
jmp case.0x40163a.66
mov edx, dword [ebp - 0x1c]
lea edx, [edx*4 + 0x47d380]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x24]
jmp 0x403151
mov eax, dword [ebp - 0x20]
push dword [eax*4 + 0x47d380]
push esi
call fcn.00406292
jmp case.0x40163a.66
mov eax, dword [0x475280]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4017b8
push dword [ebp - 0x20]
push eax
call esi
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x47526c]
test eax, eax
je case.0x40163a.66
push ecx
push eax
call esi
jmp case.0x40163a.66
push 0xfffffffffffffff0
call fcn.00401463
push dword [ebp - 0x20]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406681
add esp, 0xc
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40163a.66
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406681
pop ecx
jmp case.0x40163a.66
push 0xfffffffffffffff0
call fcn.00401463
push dword [ebp - 0x20]
mov ebx, eax
push ebx
push str.CreateDirectory:___s____d_
call fcn.00406681
add esp, 0xc
push ebx
call fcn.00405ee1
mov esi, eax
test esi, esi
je 0x4018c4
push 0x5c
push esi
call fcn.00405e8e
mov esi, eax
movzx edi, word [esi]
xor eax, eax
mov word [esi], ax
test di, di
jne 0x401868
cmp dword [ebp - 0x1c], eax
je 0x401868
call fcn.00406844
test eax, eax
je 0x401868
push ebx
call fcn.00405d0e
jmp 0x40186e
push ebx
call fcn.00405d8e
test eax, eax
je 0x4018a8
cmp eax, 0xb7
je 0x40188d
push eax
push ebx
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406681
add esp, 0xc
inc dword [ebp - 4]
jmp 0x4018b5
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4018b5
push ebx
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406681
inc dword [ebp - 4]
jmp 0x4018b3
push ebx
push str.CreateDirectory:___s__created
call fcn.00406681
pop ecx
pop ecx
mov word [esi], di
add esi, 2
test di, di
jne 0x40183b
cmp dword [ebp - 0x20], 0
push 0x40f110
je 0x40190d
push 0xffffffffffffffe6
call fcn.00405057
push ebx
push 0x4d60b0
call fcn.0040634a
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40163a.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406681
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x40163a.66
push 0xfffffffffffffff5
jmp 0x4016d0
push 0
call fcn.00401463
mov esi, eax
push esi
call fcn.004066bd
test eax, eax
je 0x401940
push dword [ebp - 0x20]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406681
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x403151
push dword [ebp - 0x1c]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406681
add esp, 0xc
mov eax, dword [ebp - 0x1c]
jmp 0x403151
push 0xffffffffffffffd0
call fcn.00401463
push 0xffffffffffffffdf
mov esi, eax
call fcn.00401463
push 0x13
mov ebx, eax
call fcn.00401463
mov edi, eax
push edi
push str.Rename:__s
call fcn.00406681
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401999
push 0x40f110
push 0xffffffffffffffe3
jmp 0x4016d0
cmp dword [ebp - 0x1c], 0
je 0x4019c4
push esi
call fcn.004066bd
test eax, eax
je 0x4019c4
push ebx
push esi
call fcn.00406d7d
push 0x40f110
push 0xffffffffffffffe4
call fcn.00405057
push edi
push str.Rename_on_reboot:__s
jmp 0x4019d1
push edi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.00406681
pop ecx
jmp 0x40180b
push 0
call fcn.00401463
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
mov ebx, 0x2004
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401a20
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401a2c
cmp word [eax], 0
je 0x401a2c
push esi
call fcn.004066bd
test eax, eax
je 0x401a20
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040634a
jmp 0x401a2c
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne case.0x40163a.66
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40163a.66
push 0xffffffffffffffff
call fcn.00401463
lea ecx, [ebp + 8]
push ecx
push esi
push 0x2004
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x40163a.66
xor eax, eax
mov dword [ebp - 4], 1
mov word [esi], ax
jmp case.0x40163a.66
push 0xffffffffffffffef
call fcn.00401463
push eax
push esi
call fcn.0040600d
test eax, eax
jne case.0x40163a.66
mov dword [ebp - 4], 1
jmp case.0x40163a.66
push 0x31
call fcn.00401463
mov esi, eax
mov eax, dword [ebp - 0x24]
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 - 0x40], esi
mov dword [ebp + 8], ecx
call fcn.00406681
add esp, 0x10
push esi
call fcn.00405ead
push esi
mov esi, 0x40b108
test eax, eax
je 0x401ae0
push esi
call fcn.0040634a
jmp 0x401af7
push 0x4d60b0
push esi
call fcn.0040634a
push eax
call fcn.004068a4
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040636c
mov edi, 0x413118
cmp dword [ebp + 8], 3
jl 0x401b39
push esi
call fcn.004066bd
xor ecx, ecx
test eax, eax
je 0x401b24
lea ecx, [ebp - 0x18]
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 0x401b45
push esi
call fcn.00405fb8
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405fde
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x401c1b
cmp dword [ebp + 8], 0
jne 0x401bd8
push esi
push str.File:_error_creating___s_
call fcn.00406681
pop ecx
pop ecx
push ebx
push edi
call fcn.0040634a
push esi
push ebx
call fcn.0040634a
push dword [ebp - 0x10]
push 0x40f110
call fcn.00406987
push edi
push ebx
call fcn.0040634a
mov eax, dword [ebp - 0x24]
sar eax, 3
push eax
push 0x40f110
call fcn.00405e28
sub eax, 4
jne 0x401bc2
push str.File:_error__user_retry
call fcn.00406681
pop ecx
jmp 0x401b02
dec eax
je 0x401c05
push str.File:_error__user_abort
call fcn.00406681
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x40166f
push dword [ebp - 0x40]
push 0xffffffffffffffe2
call fcn.00405057
cmp dword [ebp + 8], 2
jne 0x401bef
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406681
add esp, 0xc
jmp case.0x40163a.66
push str.File:_error__user_cancel
call fcn.00406681
inc dword [0x47d388]
pop ecx
jmp 0x40314f
push dword [ebp - 0x40]
push 0xffffffffffffffea
call fcn.00405057
inc dword [0x47d3b4]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.004033be
dec dword [0x47d3b4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406681
add esp, 0xc
cmp dword [ebp - 0x18], 0xffffffff
jne 0x401c5d
cmp dword [ebp - 0x14], 0xffffffff
je 0x401c6c
lea eax, [ebp - 0x18]
push eax
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x40163a.66
cmp edi, 0xfffffffe
jne 0x401c95
push 0xffffffffffffffe9
push esi
call fcn.00406987
push dword [ebp - 0x40]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c9d
push 0xffffffffffffffee
push esi
call fcn.00406987
push esi
push 0x408a1c
call fcn.00406681
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405e28
jmp 0x401674
push 0
call fcn.00401463
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406681
pop ecx
pop ecx
push dword [ebp - 0x20]
push esi
call fcn.00406da9
jmp case.0x40163a.66
push 0x31
call fcn.00401463
mov esi, eax
push esi
push dword [ebp - 0x24]
push str.MessageBox:__d___s_
call fcn.00406681
add esp, 0xc
push dword [ebp - 0x24]
push esi
call fcn.00405e28
test eax, eax
je 0x401a8f
cmp eax, dword [ebp - 0x1c]
jne 0x401d16
mov eax, dword [ebp - 0x18]
jmp 0x403151
cmp eax, dword [ebp - 0x14]
jne case.0x40163a.66
mov eax, dword [ebp - 0x10]
jmp 0x403151
push 0xfffffffffffffff0
call fcn.00401463
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401cc9
push 1
call fcn.00401463
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x401795
push 2
pop ecx
call fcn.00401446
push 3
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x48], edx
call fcn.00401446
push 1
mov edi, eax
mov dword [ebp - 0x34], edx
call fcn.00401463
push eax
mov dword [ebp - 0x34], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [esi], cx
mov ebx, eax
cmp dword [ebp - 0x48], ecx
je 0x401d85
mov ebx, dword [ebp + 8]
test ebx, ebx
je case.0x40163a.66
test edi, edi
jns 0x401d99
add edi, eax
js case.0x40163a.66
cmp edi, eax
jle 0x401d9f
mov edi, eax
mov eax, dword [ebp - 0x34]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.0040634a
test ebx, ebx
jns 0x401dbc
push esi
call sub.KERNEL32.dll_lstrlenW
add ebx, eax
jns 0x401dbc
xor ebx, ebx
cmp ebx, 0x2004
jge case.0x40163a.66
xor eax, eax
mov word [esi + ebx*2], ax
jmp case.0x40163a.66
push 0x20
call fcn.00401463
push 0x31
mov esi, eax
call fcn.00401463
cmp dword [ebp - 0x14], 0
push eax
push esi
jne 0x401dfe
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401d0e
jmp 0x401951
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401df1
xor ebx, ebx
inc ebx
push ebx
call fcn.00401463
push 0x2004
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401e34
cmp dword [ebp - 0x1c], 0
je 0x401e3c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401e3c
xor eax, eax
mov dword [ebp - 4], ebx
mov word [esi], ax
xor eax, eax
mov word [esi + 0x4006], ax
jmp case.0x40163a.66
mov esi, dword [ebp - 0x10]
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.00401446
mov dword [ebp - 0x48], edx
test esi, esi
jne 0x401e7e
cmp edi, eax
jl 0x401d0e
jle 0x401951
mov eax, dword [ebp - 0x14]
jmp 0x403151
cmp edi, eax
jb 0x401d0e
jbe 0x401951
jmp 0x401e76
xor ecx, ecx
inc ecx
call fcn.00401446
push 2
pop ecx
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.00401446
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
cmp eax, 0xd
ja case.default.0x401eb0
jmp dword [eax*4 + 0x40326f]
add edi, ecx
jmp case.default.0x401eb0
sub edi, ecx
jmp case.default.0x401eb0
imul edi, ecx
jmp case.default.0x401eb0
test ecx, ecx
je 0x401ecf
mov eax, edi
cdq
idiv ecx
jmp 0x401eed
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401eb0
or edi, ecx
jmp case.default.0x401eb0
and edi, ecx
jmp case.default.0x401eb0
xor edi, ecx
jmp case.default.0x401eb0
xor eax, eax
test edi, edi
sete al
mov edi, eax
jmp case.default.0x401eb0
test edi, edi
jne 0x401ef9
test ecx, ecx
je 0x401f02
xor edi, edi
inc edi
jmp case.default.0x401eb0
test edi, edi
jne 0x401ef5
xor edi, edi
jmp case.default.0x401eb0
test ecx, ecx
je 0x401ecf
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401eb0
shl edi, cl
jmp case.default.0x401eb0
sar edi, cl
jmp case.default.0x401eb0
shr edi, cl
push edi
jmp 0x401795
push 1
call fcn.00401463
push 2
pop ecx
mov edi, eax
call fcn.00401446
push eax
push edi
push esi
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401bfd
mov eax, dword [ebp - 0x1c]
mov edi, dword [0x40b104]
test eax, eax
je 0x401fb1
dec eax
test edi, edi
je 0x401f61
mov edi, dword [edi]
test eax, eax
jne 0x401f52
test edi, edi
jne 0x401f84
push dword [ebp - 0x1c]
push str.Exch:_stack____d_elements
call fcn.00406681
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406987
push eax
jmp 0x401cb0
add edi, 4
push edi
mov esi, 0x40b108
push esi
call fcn.0040634a
mov eax, dword [0x40b104]
add eax, 4
push eax
push edi
call fcn.0040634a
mov eax, dword [0x40b104]
push esi
add eax, 4
push eax
jmp 0x402ec1
cmp dword [ebp - 0x20], 0
je 0x401fe2
test edi, edi
jne 0x401fcb
push str.Pop:_stack_empty
call fcn.00406681
pop ecx
jmp 0x401a8f
lea eax, [edi + 4]
push eax
push esi
call fcn.0040634a
mov eax, dword [edi]
mov dword [0x40b104], eax
push edi
jmp 0x402472
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x24]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406987
mov eax, dword [0x40b104]
mov dword [esi], eax
mov dword [0x40b104], esi
jmp case.0x40163a.66
push 3
pop ecx
call fcn.00401446
push 4
pop ecx
mov dword [ebp - 0x48], edx
mov dword [ebp + 8], eax
call fcn.00401446
test byte [ebp - 0x10], 1
mov dword [ebp - 0x48], edx
mov ebx, eax
je 0x40203a
push 0x33
call fcn.00401463
mov dword [ebp + 8], eax
test byte [ebp - 0x10], 2
je 0x402049
push 0x44
call fcn.00401463
mov ebx, eax
cmp dword [ebp - 0x28], 0x21
jne 0x40209c
xor ecx, ecx
inc ecx
call fcn.00401446
push 2
pop ecx
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.00401446
mov ecx, dword [ebp - 0x10]
sar ecx, 2
mov dword [ebp - 0x48], edx
test ecx, ecx
je 0x40208e
lea edx, [ebp - 8]
push edx
push ecx
push 0
push ebx
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x4020cd
push ebx
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4020ca
push 1
call fcn.00401463
push 0x12
mov edi, eax
call fcn.00401463
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [edi]
neg eax
push ecx
sbb eax, eax
and eax, edi
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x24], 0
jl case.0x40163a.66
push dword [ebp - 8]
jmp 0x401795
xor ecx, ecx
call fcn.00401446
push eax
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401951
jmp 0x401938
push 2
pop ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.00401446
push edi
push eax
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d45
mov esi, dword [0x47d308]
add esi, dword [ebp - 0x20]
xor ecx, ecx
call fcn.00401446
push esi
push 0xffffffffffffffeb
push eax
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40163a.66
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x1c]
push 0x10
push eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x1c]
push eax
xor esi, esi
push esi
push esi
call fcn.00401463
push eax
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push esi
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je case.0x40163a.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40163a.66
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push 2
pop ecx
mov edi, eax
call fcn.00401446
push 0x48
push 0x5a
push edi
mov ebx, eax
mov dword [ebp - 0x48], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 0xc]
neg eax
mov dword [0x41f130], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.00401446
push dword [ebp - 0x20]
mov dword [0x41f140], eax
mov al, byte [ebp - 0x14]
mov cl, al
and cl, 1
mov byte [0x41f144], cl
mov cl, al
and cl, 2
and al, 4
push 0x41f14c
mov dword [ebp - 0x48], edx
mov byte [0x41f145], cl
mov byte [0x41f146], al
mov byte [0x41f147], 1
call fcn.00406987
push 0x41f130
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401d45
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp - 0x48], edx
call fcn.00401446
cmp dword [ebp - 0x1c], 0
mov edi, eax
mov dword [ebp - 0x48], edx
je 0x40225c
push str.HideWindow
call fcn.00406681
pop ecx
cmp dword [ebp - 0x18], 0
push edi
push esi
jne 0x40226f
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40163a.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40163a.66
push 0
call fcn.00401463
push 0x31
mov esi, eax
call fcn.00401463
push 0x22
mov ebx, eax
call fcn.00401463
push 0x15
mov edi, eax
call fcn.00401463
push 0x40f110
push 0xffffffffffffffec
call fcn.00405057
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ebx
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x68], 0x4d60b0
call fcn.00405dee
test eax, eax
jne 0x402305
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406681
add esp, 0x14
jmp 0x401a8f
test byte [ebp - 0x7c], 0x40
je 0x40231c
push dword [ebp - 0x48]
call fcn.00406802
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406681
add esp, 0x10
jmp case.0x40163a.66
xor ebx, ebx
push ebx
call fcn.00401463
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406681
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00405057
push esi
call fcn.00405dab
mov dword [ebp + 8], eax
push esi
cmp eax, ebx
je 0x402398
push str.Exec:_success____s__
call fcn.00406681
pop ecx
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x402390
push dword [ebp + 8]
call fcn.00406802
cmp dword [ebp - 0x20], ebx
jl 0x402385
push eax
push edi
call fcn.00406292
jmp 0x402390
cmp eax, ebx
je 0x402390
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402b90
push 0x4087d8
jmp 0x4019ca
push 2
call fcn.00401463
push eax
call fcn.004066bd
mov ebx, eax
test ebx, ebx
je 0x4023c6
push dword [ebx + 0x14]
push edi
call fcn.00406292
push dword [ebx + 0x18]
jmp 0x401795
xor eax, eax
mov word [esi], ax
mov word [edi], ax
jmp 0x401a8f
push 0xffffffffffffffee
call fcn.00401463
lea ecx, [ebp - 0x48]
push ecx
push eax
push 9
mov dword [ebp - 8], eax
call fcn.00406754
call eax
mov ebx, eax
xor eax, eax
mov word [esi], ax
mov word [edi], ax
mov dword [ebp - 4], 1
test ebx, ebx
je case.0x40163a.66
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 8], eax
test eax, eax
je case.0x40163a.66
push 0xa
call fcn.00406754
push 0xb
mov dword [ebp - 0x40], eax
call fcn.00406754
push dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push ebx
push 0
push dword [ebp - 8]
call dword [ebp - 0x40]
test eax, eax
je 0x40246f
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x4087d4
push dword [ebp + 8]
call dword [ebp - 0x2c]
test eax, eax
je 0x40246f
mov eax, dword [ebp - 0x34]
push dword [eax + 8]
push esi
call fcn.00406292
mov eax, dword [ebp - 0x34]
push dword [eax + 0xc]
push edi
call fcn.00406292
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40163a.66
cmp dword [0x47d3b8], 0
mov dword [ebp - 4], 1
jl 0x402574
push 0xfffffffffffffff0
call fcn.00401463
push 1
mov edi, eax
call fcn.00401463
cmp dword [ebp - 0x14], 0
mov dword [ebp - 8], eax
je 0x4024b8
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4024ce
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40255d
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004067c0
mov esi, eax
test esi, esi
je 0x40251a
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x402500
push dword [ebp - 0x1c]
call fcn.00401435
call esi
test eax, eax
je 0x402535
mov dword [ebp - 4], 1
jmp 0x402535
push section..data
push 0x40b104
push ebx
push 0x2004
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x402535
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00405057
push edi
push dword [ebp - 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406681
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne case.0x40163a.66
push dword [ebp + 8]
call fcn.00403d70
test eax, eax
je case.0x40163a.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40163a.66
push 0x40f110
push 0xfffffffffffffff6
call fcn.00405057
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x4019d1
push 0x40f110
push 0xffffffffffffffe7
call fcn.00405057
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401806
push 0xfffffffffffffff0
call fcn.00401463
push 0xffffffffffffffdf
mov dword [ebp - 0x30], eax
call fcn.00401463
push 2
mov dword [ebp - 8], eax
call fcn.00401463
push 0xffffffffffffffcd
mov dword [ebp - 0x3c], eax
call fcn.00401463
push 0x45
mov dword [ebp - 0x40], eax
call fcn.00401463
push dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov edi, eax
mov ebx, eax
mov esi, eax
sar eax, 0x10
and eax, 0xffff
sar esi, 0xc
and edi, 0xfff
and ebx, 0x8000
and esi, 7
mov dword [ebp - 0x34], eax
call fcn.00405ead
test eax, eax
jne 0x4025f5
push 0x21
call fcn.00401463
push dword [ebp - 0x34]
push esi
push edi
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 8]
push dword [ebp - 0x30]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406681
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x409ca4
push 1
push 0
push 0x409cc4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4026e5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x409cb4
push eax
call dword [ecx]
mov dword [ebp - 0x2c], eax
test eax, eax
js 0x4026d6
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x2c], eax
test ebx, ebx
jne 0x402670
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4d60b0
push eax
call dword [ecx + 0x24]
test esi, esi
je 0x40267e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x40]
cmp word [ecx], 0
je 0x40269e
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x2c], 0
jl 0x4026cd
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x30]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
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 - 0x2c], 0
jge 0x4026f8
push 0x40f110
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4016d0
push 0x40f110
push 0xfffffffffffffff4
jmp 0x4016d0
push 0
call fcn.00401463
push 0x11
mov esi, eax
call fcn.00401463
push 0x23
mov edi, eax
call fcn.00401463
push edi
push esi
push str.CopyFiles___s_____s_
mov ebx, eax
call fcn.00406681
add esp, 0xc
push esi
call fcn.004066bd
test eax, eax
jne 0x402746
push 0
push 0xfffffffffffffff9
call fcn.00405057
jmp 0x401a8f
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push edi
mov word [esi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [edi + eax*2 + 2], cx
mov ax, word [ebp - 0x1c]
push ebx
push ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4a], ebx
mov word [ebp - 0x54], ax
call fcn.00405057
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40163a.66
jmp 0x402738
cmp ecx, 0xbadf00d
jne 0x401f70
inc dword [0x47d394]
jmp case.0x40163a.66
xor ebx, ebx
push str._RM_
mov esi, 0x40f110
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp + 8], ebx
call fcn.0040634a
push esi
mov edi, 0x413118
push edi
call fcn.0040634a
cmp dword [ebp - 0x24], ebx
je 0x4027e5
push ebx
call fcn.00401463
mov dword [ebp - 8], eax
cmp dword [ebp - 0x20], ebx
je 0x4027f4
push 0x11
call fcn.00401463
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x14], ebx
je 0x402803
push 0x22
call fcn.00401463
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
call fcn.00401463
mov ebx, eax
push ebx
push edi
push esi
push 0x40b108
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406681
add esp, 0x14
push ebx
push dword [ebp + 8]
push dword [ebp - 0x34]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401a87
push 0xa
pop edi
push 1
mov dword [ebp + 8], edi
call fcn.00401463
push 0x12
mov ebx, eax
call fcn.00401463
push 0xffffffffffffffdd
mov dword [ebp - 0x48], eax
call fcn.00401463
push eax
push 0x2003
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], di
jmp 0x401a62
mov edi, dword [ebp - 0x20]
push edi
call fcn.004064b2
cmp dword [ebp - 0x14], 0
pop ecx
mov dword [ebp + 8], eax
jne 0x4028ca
push 2
pop ecx
call fcn.004014a4
mov edi, eax
test edi, edi
je 0x401a8f
push 0x33
call fcn.00401463
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x413118
push dword [ebp + 8]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406681
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4028f3
push 0x22
call fcn.00401463
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406681
mov eax, dword [ebp - 0x14]
sar eax, 1
add esp, 0xc
push eax
mov eax, edi
call fcn.0040159b
mov ebx, eax
test ebx, ebx
je case.0x40163a.66
jmp 0x401a8f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
push 2
mov esi, ecx
mov dword [ebp - 0x2c], eax
call fcn.00401463
push 0x11
mov dword [ebp - 0xc], eax
call fcn.00401463
push esi
mov dword [ebp + 8], eax
call fcn.004064b2
xor ebx, ebx
inc ebx
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], ebx
test esi, esi
js 0x402942
mov eax, dword [0x47d384]
lea esi, [eax + esi - 0x7fffffff]
lea eax, [ebp - 0x48]
push eax
push 0x100022
push dword [ebp + 8]
push esi
call fcn.004061e4
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
je 0x402a87
xor esi, esi
mov edi, 0x413118
cmp dword [ebp - 8], ebx
jne 0x4029b1
push 0x23
call fcn.00401463
push edi
call sub.KERNEL32.dll_lstrlenW
push edi
push dword [ebp - 0xc]
lea esi, [eax + eax + 2]
push dword [ebp + 8]
push dword [ebp - 0x30]
cmp dword [ebp - 0x2c], ebx
jne 0x4029a4
push str.WriteRegStr:___s_s____s___s_
call fcn.00406681
add esp, 0x14
jmp 0x402a47
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406681
add esp, 0x14
cmp dword [ebp - 8], 4
jne 0x4029e1
push 3
pop ecx
call fcn.00401446
push 4
pop esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x40], edx
push dword [ebp + 8]
mov dword [0x413118], eax
push dword [ebp - 0x30]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406681
add esp, 0x14
cmp dword [ebp - 8], 3
jne 0x402a47
cmp dword [ebp - 0x2c], 0
jne 0x4029f4
mov ebx, str.WriteRegNone
jmp 0x402a04
cmp dword [ebp - 0x2c], 7
mov ebx, str.WriteRegMultiStr
je 0x402a04
mov ebx, str.WriteRegBin
push 0xc018
push edi
push 0
push dword [ebp - 0x18]
call fcn.004033be
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x180]
push 0x80
push eax
call fcn.004065bc
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x30]
push ebx
push str._s:___s_s____s___s_
call fcn.00406681
add esp, 0x28
push esi
push edi
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402a63
and dword [ebp - 4], eax
jmp 0x402a79
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x30]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406681
add esp, 0x10
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40163a.66
push dword [ebp + 8]
push dword [ebp - 0x30]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401bf8
mov ecx, 0x20019
call fcn.004014a4
push 0x33
mov edi, eax
call fcn.00401463
xor ecx, ecx
mov word [esi], cx
test edi, edi
je 0x401a8f
lea ecx, [ebp - 0x48]
push ecx
push esi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push edi
mov dword [ebp - 0x48], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402b0f
cmp dword [ebp + 8], 4
je 0x402afa
cmp dword [ebp + 8], ecx
je 0x402ae9
cmp dword [ebp + 8], 2
jne 0x402b0f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
xor eax, eax
mov word [esi + 0x4006], ax
jmp 0x402b17
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x14], eax
push esi
sete al
mov dword [ebp - 4], eax
call fcn.00406292
jmp 0x402b17
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], ecx
push edi
jmp 0x402a7c
mov ecx, 0x20019
call fcn.004014a4
push 3
pop ecx
mov edi, eax
call fcn.00401446
mov dword [ebp - 0x48], edx
xor ecx, ecx
xor edx, edx
mov word [esi], cx
cmp edi, edx
je 0x401a8f
mov ecx, 0x2003
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x14], edx
je 0x402b5c
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402aef
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402aef
mov dword [ebp - 4], 1
jmp 0x402aef
push esi
call fcn.004062ab
test eax, eax
je case.0x40163a.66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40163a.66
push 0xffffffffffffffed
call fcn.00401463
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call fcn.00405fde
cmp eax, 0xffffffff
jne 0x401d45
xor eax, eax
mov word [esi], ax
jmp 0x401a8f
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, 0x38
sete cl
mov dword [ebp + 8], eax
mov edi, ecx
test eax, eax
je 0x402bf0
xor ecx, ecx
inc ecx
call fcn.00401446
xor ebx, ebx
test edi, edi
sete bl
mov dword [ebp - 0x48], edx
mov word [0x40f110], ax
inc ebx
jmp 0x402c36
cmp edx, 0x38
jne 0x402c25
push 0x21
call fcn.00401463
xor eax, eax
push eax
push eax
push 0x2004
mov ebx, 0x40f110
push ebx
push 0xffffffffffffffff
push 0x413118
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x402c36
push 0x11
call fcn.00401463
push eax
call sub.KERNEL32.dll_lstrlenW
mov ebx, eax
add ebx, ebx
cmp word [esi], 0
je 0x401a8f
push esi
call fcn.004062ab
or edi, dword [ebp + 8]
mov esi, eax
jne 0x402c61
cmp dword [ebp - 0x18], edi
je 0x402c61
push esi
push esi
call fcn.004060bf
test eax, eax
js 0x401a8f
push ebx
push 0x40f110
push esi
call fcn.00406090
jmp 0x401a87
and dword [ebp - 0xc], 0
push 2
pop ecx
mov dword [ebp - 0x3c], ecx
call fcn.00401446
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x34], eax
cmp eax, 1
jl case.0x40163a.66
mov ecx, 0x2003
cmp eax, ecx
jle 0x402c9c
mov dword [ebp - 0x34], ecx
cmp word [esi], 0
je 0x402e07
and dword [ebp - 8], 0
push esi
call fcn.004062ab
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
jle 0x402e07
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor esi, esi
cmp dword [ebp - 0x28], 0x39
jne 0x402d9a
push esi
lea eax, [ebp - 0x40]
push eax
push 2
pop eax
sub eax, dword [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402e07
mov ecx, dword [ebp - 0x40]
cmp ecx, esi
je 0x402e07
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x18], esi
jne 0x402dc8
push 1
lea eax, [ebp - 0x30]
push eax
push ecx
lea eax, [ebp + 8]
push eax
push 8
push esi
call ebx
test eax, eax
jne 0x402dc3
mov esi, dword [ebp - 0x3c]
neg esi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x30], eax
je 0x402d64
dec dword [ebp - 0x3c]
push 1
push 0
inc esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x40]
lea eax, [ebp + 8]
push eax
push 8
push 0
call ebx
test eax, eax
je 0x402d2b
mov eax, dword [ebp - 0x30]
xor esi, esi
cmp dword [ebp - 0x18], esi
jne 0x402dc8
cmp word [ebp - 8], 0xd
je 0x402dd7
cmp word [ebp - 8], 0xa
je 0x402dd7
mov ecx, dword [ebp - 0xc]
movzx edx, ax
mov word [edi + ecx*2], ax
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
cmp ax, si
je 0x402e07
cmp ecx, dword [ebp - 0x34]
jl 0x402cc5
jmp 0x402e07
cmp dword [ebp - 0x18], esi
jne 0x402db1
cmp dword [ebp - 0xc], esi
jne 0x402db1
push esi
push dword [ebp - 0x2c]
call fcn.004060bf
test eax, eax
js 0x402e07
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
call fcn.00406061
test eax, eax
je 0x402e07
mov eax, dword [ebp - 0x30]
jmp 0x402d66
movzx eax, ax
push eax
push edi
call fcn.00406292
jmp 0x40314f
cmp word [ebp - 8], ax
je 0x402df5
cmp ax, 0xd
je 0x402de9
cmp ax, 0xa
jne 0x402df5
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [edi + ecx*2], ax
jmp 0x402e07
mov eax, dword [ebp - 0x3c]
push 1
push esi
neg eax
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x401a87
cmp word [esi], 0
je case.0x40163a.66
push 2
pop ecx
call fcn.00401446
push dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
push 0
push eax
push esi
call fcn.004062ab
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0
jl case.0x40163a.66
push eax
push edi
jmp 0x401796
push esi
call fcn.004062ab
test eax, eax
je case.0x40163a.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40163a.66
push edi
call fcn.004062ab
test eax, eax
je 0x401a68
lea ecx, [ebp - 0x3d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401a68
jmp 0x402eb9
push 2
call fcn.00401463
lea ecx, [ebp - 0x3d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402eb2
xor eax, eax
mov word [edi], ax
jmp 0x402bb7
push eax
push edi
call fcn.00406292
lea eax, [ebp - 0x3a4]
push eax
push esi
call fcn.0040634a
jmp case.0x40163a.66
push 0xfffffffffffffff0
mov ebx, 0xfffffd66
call fcn.00401463
mov esi, eax
push esi
mov dword [ebp - 8], esi
call fcn.00405ead
test eax, eax
jne 0x402eed
push 0xffffffffffffffed
call fcn.00401463
push esi
call fcn.00405fb8
push 2
push 0x40000000
push esi
call fcn.00405fde
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402fa3
mov eax, dword [0x47d32c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x34], eax
call esi
mov edi, eax
test edi, edi
je 0x402f9a
push 0
call fcn.004033a7
push dword [ebp - 0x34]
push edi
call fcn.00403391
push dword [ebp - 0x1c]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x402f77
push dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x20]
call fcn.004033be
jmp 0x402f69
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405f94
add esi, ebx
cmp byte [esi], 0
jne 0x402f55
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x34]
push edi
push dword [ebp + 8]
call fcn.00406090
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004033be
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
push ebx
push str.created_uninstaller:__d____s_
call fcn.00406681
add esp, 0xc
push 0xfffffffffffffff3
pop esi
test ebx, ebx
jns 0x402fce
push 0xffffffffffffffef
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
call fcn.00401435
jmp case.0x40163a.66
test ecx, ecx
je 0x40301c
push dword [ebp - 0x20]
push str.settings_logging_to__d
call fcn.00406681
mov eax, dword [ebp - 0x20]
push eax
push str.logging_set_to__d
mov dword [0x46ba1c], eax
call fcn.00406681
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x403010
call fcn.00403f4e
jmp case.0x40163a.66
push 1
call fcn.0040641b
jmp case.0x40163a.66
push 1
call fcn.00401463
push eax
push 0x408a1c
jmp 0x4019d1
xor ecx, ecx
call fcn.00401446
mov ebx, eax
mov dword [ebp - 0x48], edx
cmp ebx, dword [0x47d2ec]
jae 0x401a8f
mov eax, dword [ebp - 0x1c]
mov esi, ebx
imul esi, esi, 0x4020
add esi, dword [0x47d2e8]
test eax, eax
js 0x403070
mov ecx, dword [esi + eax*4]
jne 0x40306a
add esi, 0x18
push esi
push edi
jmp 0x402ec1
push ecx
jmp 0x402e48
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x40308a
xor ecx, ecx
inc ecx
call fcn.00401446
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], eax
jmp 0x40309d
push dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.00406987
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x18], 0
je case.0x40163a.66
push ebx
call fcn.00401186
jmp case.0x40163a.66
xor ecx, ecx
call fcn.00401446
mov dword [ebp - 0x48], edx
cmp eax, 0x20
jae 0x401a8f
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x4030f4
cmp dword [ebp - 0x1c], esi
je 0x4030e9
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x40163a.66
push esi
call fcn.004012f1
jmp 0x402e47
cmp dword [ebp - 0x1c], esi
je 0x40310b
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x47d2c0]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40163a.66
mov ecx, dword [0x47d2c0]
push dword [ecx + eax*4 + 0x94]
push edi
call fcn.00406987
jmp case.0x40163a.66
mov eax, dword [0x460de0]
xor esi, esi
push esi
and eax, ecx
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x24], esi
je case.0x40163a.66
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x47d388], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4