Function at 0x40158c
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, 0x3cc
mov eax, dword [0x4725d8]
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 ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
mov edi, ecx
mov ebx, edx
imul edi, edi, 0x4008
imul ebx, ebx, 0x4008
mov dword [ebp - 0xc], eax
mov eax, section..ndata
add edi, eax
add ebx, eax
lea eax, [ebp - 0x28]
mov dword [0x40b0c0], eax
lea eax, [esi - 2]
cmp eax, 0x45
ja case.0x4015e5.20
jmp dword [eax*4 + 0x403134]
push ecx
push str.Jump:__d
call fcn.004066b5
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jmp 0x40312d
xor esi, esi
call fcn.0040145a
push eax
push str.Aborting:___s_
call fcn.004066b5
pop ecx
pop ecx
push esi
push dword [ebp - 0x28]
call fcn.004050de
mov eax, 0x7fffffff
jmp 0x40312d
inc dword [0x46a594]
cmp dword [ebp - 0xc], 0
je 0x40161e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40161e
push ecx
call fcn.00401373
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.004066b5
pop ecx
pop ecx
push 0
push esi
call fcn.00401392
jmp 0x40312d
xor esi, esi
call fcn.0040145a
push eax
push str.DetailPrint:__s
call fcn.004066b5
pop ecx
pop ecx
push esi
push dword [ebp - 0x28]
call fcn.004050de
jmp case.0x4015e5.20
xor ecx, ecx
call fcn.0040143d
mov esi, eax
push esi
push str.Sleep__d_
mov dword [ebp - 0x44], edx
call fcn.004066b5
cmp esi, 1
pop ecx
pop ecx
jg 0x4016a4
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015e5.20
push str.BringToFront
call fcn.004066b5
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015e5.20
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x20], 0
jne 0x401701
mov ecx, dword [eax + 0x4726a0]
mov dword [eax + 0x472660], ecx
xor ecx, ecx
inc ecx
call fcn.0040143d
mov ecx, dword [ebp - 0x28]
push eax
push ecx
mov dword [ebp - 0x44], edx
mov dword [ecx*4 + 0x4726a0], eax
push str.SetFlag:__d_d
jmp 0x401b9f
mov ecx, dword [eax + 0x472660]
mov dword [eax + 0x4726a0], ecx
jmp case.0x4015e5.20
mov edx, dword [ebp - 0x20]
lea edx, [edx*4 + 0x4726a0]
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 0x40312d
push dword [edx*4 + 0x4726a0]
push edi
call fcn.0040630b
jmp case.0x4015e5.20
mov eax, dword [0x46a5a0]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x40175b
push edx
push eax
call esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x46a58c]
test eax, eax
je case.0x4015e5.20
push ecx
push eax
call esi
jmp case.0x4015e5.20
push 0xfffffffffffffff0
pop esi
call fcn.0040145a
push dword [ebp - 0x24]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.004066b5
add esp, 0xc
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015e5.20
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.004066b5
pop ecx
jmp case.0x4015e5.20
push 0xfffffffffffffff0
pop esi
call fcn.0040145a
push dword [ebp - 0x24]
mov ebx, eax
push ebx
push str.CreateDirectory:___s____d_
call fcn.004066b5
add esp, 0xc
push ebx
call fcn.00405f5b
mov esi, eax
test esi, esi
je 0x401868
push 0x5c
push esi
call fcn.00405f07
mov esi, eax
movzx edi, word [esi]
and word [esi], 0
test di, di
jne 0x40180d
cmp dword [ebp - 0x20], 0
je 0x40180d
call fcn.0040686f
test eax, eax
je 0x40180d
push ebx
call fcn.00405d88
jmp 0x401813
push ebx
call fcn.00405e09
test eax, eax
je 0x40184d
cmp eax, 0xb7
je 0x401832
push eax
push ebx
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.004066b5
add esp, 0xc
inc dword [ebp - 4]
jmp 0x40185a
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40185a
push ebx
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.004066b5
inc dword [ebp - 4]
jmp 0x401858
push ebx
push str.CreateDirectory:___s__created
call fcn.004066b5
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x4017e0
cmp dword [ebp - 0x24], 0
je 0x4018ac
push 0xffffffffffffffe6
call fcn.0040142c
push ebx
push 0x4cb0b0
call fcn.004063c4
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x4015e5.20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.SetCurrentDirectory__s__failed___d_
call fcn.004066b5
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x4015e5.20
push 0xfffffffffffffff5
call fcn.0040142c
jmp case.0x4015e5.20
xor esi, esi
call fcn.0040145a
mov esi, eax
push esi
call fcn.004066e7
test eax, eax
je 0x4018e4
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.004066b5
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x40312d
push dword [ebp - 0x20]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.004066b5
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x40312d
push 0xffffffffffffffd0
pop esi
call fcn.0040145a
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.0040145a
push 0x13
pop esi
mov ebx, eax
call fcn.0040145a
mov esi, eax
push esi
push str.Rename:__s
call fcn.004066b5
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40193b
push 0xffffffffffffffe3
jmp 0x4018ae
cmp dword [ebp - 0x20], 0
je 0x401961
push edi
call fcn.004066e7
test eax, eax
je 0x401961
push ebx
push edi
call fcn.00406da0
push 0xffffffffffffffe4
call fcn.0040142c
push esi
push str.Rename_on_reboot:__s
jmp 0x40196e
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.004066b5
pop ecx
jmp 0x4017af
xor esi, esi
call fcn.0040145a
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
mov edi, 0x2004
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4019bd
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4019c8
cmp word [eax], 0
je 0x4019c8
push esi
call fcn.004066e7
test eax, eax
je 0x4019bd
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004063c4
jmp 0x4019c8
and word [ebx], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
jne case.0x4015e5.20
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015e5.20
or esi, 0xffffffff
call fcn.0040145a
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.0x4015e5.20
and word [edi], 0
mov dword [ebp - 4], 1
jmp case.0x4015e5.20
push 0xffffffffffffffef
pop esi
call fcn.0040145a
push eax
push edi
call fcn.00406087
test eax, eax
jne case.0x4015e5.20
mov dword [ebp - 4], 1
jmp case.0x4015e5.20
push 0x31
pop esi
call fcn.0040145a
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 - 0x34], esi
mov dword [ebp + 8], ecx
call fcn.004066b5
add esp, 0x10
push esi
call fcn.00405f26
test eax, eax
push esi
mov esi, 0x40b0c8
je 0x401a7e
push esi
call fcn.004063c4
jmp 0x401a95
push 0x4cb0b0
push esi
call fcn.004063c4
push eax
call fcn.004068cf
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004063e6
mov edi, 0x4130d8
mov ebx, 0x40f0d0
cmp dword [ebp + 8], 3
jl 0x401adc
push esi
call fcn.004066e7
xor ecx, ecx
test eax, eax
je 0x401ac7
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 0x401ae8
push esi
call fcn.00406032
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406058
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401bc2
cmp dword [ebp + 8], 0
jne 0x401b7f
push esi
push str.File:_error_creating___s_
call fcn.004066b5
pop ecx
pop ecx
push section..ndata
push edi
call fcn.004063c4
push esi
push section..ndata
call fcn.004063c4
push dword [ebp - 0x14]
push ebx
call fcn.004069b2
push edi
push section..ndata
call fcn.004063c4
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push ebx
call fcn.00405ea3
sub eax, 4
jne 0x401b69
push str.File:_error__user_retry
call fcn.004066b5
pop ecx
jmp 0x401aa5
dec eax
je 0x401bac
push str.File:_error__user_abort
call fcn.004066b5
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x401619
push dword [ebp - 0x34]
push 0xffffffffffffffe2
call fcn.004050de
cmp dword [ebp + 8], 2
jne 0x401b96
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.004066b5
add esp, 0xc
jmp case.0x4015e5.20
push str.File:_error__user_cancel
call fcn.004066b5
inc dword [0x4726a8]
pop ecx
jmp 0x40312b
push dword [ebp - 0x34]
push 0xffffffffffffffea
call fcn.004050de
inc dword [0x4726d4]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.00403551
dec dword [0x4726d4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.004066b5
add esp, 0xc
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401c04
cmp dword [ebp - 0x18], 0xffffffff
je 0x401c13
lea eax, [ebp - 0x1c]
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.0x4015e5.20
cmp edi, 0xfffffffe
jne 0x401c3c
push 0xffffffffffffffe9
push esi
call fcn.004069b2
push dword [ebp - 0x34]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c44
push 0xffffffffffffffee
push esi
call fcn.004069b2
push esi
push 0x408a1c
call fcn.004066b5
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405ea3
jmp 0x40161e
xor esi, esi
call fcn.0040145a
mov esi, eax
push esi
push str.Delete:___s_
call fcn.004066b5
pop ecx
pop ecx
push dword [ebp - 0x24]
push esi
call fcn.00406dcc
jmp case.0x4015e5.20
push 0x31
pop esi
call fcn.0040145a
mov esi, eax
push esi
push dword [ebp - 0x28]
push str.MessageBox:__d___s_
call fcn.004066b5
add esp, 0xc
push dword [ebp - 0x28]
push esi
call fcn.00405ea3
test eax, eax
je 0x401a2c
cmp eax, dword [ebp - 0x20]
jne 0x401cbe
mov eax, dword [ebp - 0x1c]
jmp 0x40312d
cmp eax, dword [ebp - 0x18]
jne case.0x4015e5.20
mov eax, dword [ebp - 0x14]
jmp 0x40312d
push 0xfffffffffffffff0
pop esi
call fcn.0040145a
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c70
xor esi, esi
inc esi
call fcn.0040145a
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x40173a
push 2
pop ecx
call fcn.0040143d
push 3
pop ecx
mov esi, eax
mov dword [ebp - 0x44], edx
call fcn.0040143d
mov dword [ebp + 8], esi
xor esi, esi
inc esi
mov ebx, eax
mov dword [ebp - 0x38], edx
call fcn.0040145a
push eax
mov dword [ebp - 0x38], eax
call sub.KERNEL32.dll_lstrlenW
and word [edi], 0
cmp dword [ebp - 0x44], 0
mov esi, eax
je 0x401d32
mov esi, dword [ebp + 8]
test esi, esi
je case.0x4015e5.20
test ebx, ebx
jge 0x401d46
add ebx, eax
js case.0x4015e5.20
cmp ebx, eax
jle 0x401d4c
mov ebx, eax
mov eax, dword [ebp - 0x38]
lea eax, [eax + ebx*2]
push eax
push edi
call fcn.004063c4
test esi, esi
jge 0x401d6e
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
jns 0x401d6e
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2004
jge case.0x4015e5.20
and word [edi + esi*2], 0
jmp case.0x4015e5.20
push 0x20
pop esi
call fcn.0040145a
push 0x31
pop esi
mov edi, eax
call fcn.0040145a
cmp dword [ebp - 0x18], 0
push eax
push edi
jne 0x401db1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401cb6
jmp 0x4018f5
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401da4
xor esi, esi
inc esi
call fcn.0040145a
push 0x2004
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401de6
cmp dword [ebp - 0x20], 0
je 0x401ded
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401ded
and word [edi], 0
mov dword [ebp - 4], esi
and word [edi + 0x4006], 0
jmp case.0x4015e5.20
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp - 0x44], edx
call fcn.0040143d
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x44], edx
jne 0x401e2d
cmp esi, eax
jl 0x401cb6
jle 0x4018f5
mov eax, dword [ebp - 0x18]
jmp 0x40312d
cmp esi, eax
jb 0x401cb6
jbe 0x4018f5
jmp 0x401e25
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
mov dword [ebp - 0x44], edx
call fcn.0040143d
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
mov dword [ebp - 0x44], edx
ja case.default.0x401e5f
jmp dword [eax*4 + 0x40324c]
add esi, ecx
jmp case.default.0x401e5f
sub esi, ecx
jmp case.default.0x401e5f
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e5f
test ecx, ecx
je 0x401e80
mov eax, esi
cdq
idiv ecx
jmp 0x401e9e
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401e5f
or ecx, esi
jmp 0x401e71
and ecx, esi
jmp 0x401e71
xor ecx, esi
jmp 0x401e71
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e5f
test esi, esi
jne 0x401eaa
test ecx, ecx
je 0x401eb3
xor esi, esi
inc esi
jmp case.default.0x401e5f
test esi, esi
jne 0x401ea6
xor esi, esi
jmp case.default.0x401e5f
test ecx, ecx
je 0x401e80
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e5f
shl esi, cl
jmp case.default.0x401e5f
sar esi, cl
push esi
jmp 0x40173a
xor esi, esi
inc esi
call fcn.0040145a
push 2
pop ecx
mov esi, eax
call fcn.0040143d
push eax
push esi
push edi
mov dword [ebp - 0x44], edx
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401ba4
mov eax, dword [ebp - 0x20]
test eax, eax
mov esi, dword [0x40b0c4]
je 0x401f5f
dec eax
test esi, esi
je 0x401f0f
test eax, eax
mov esi, dword [esi]
jne 0x401f00
test esi, esi
jne 0x401f32
push dword [ebp - 0x20]
push str.Exch:_stack____d_elements
call fcn.004066b5
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.004069b2
push eax
jmp 0x401c57
lea edi, [esi + 4]
push edi
mov esi, 0x40b0c8
push esi
call fcn.004063c4
mov eax, dword [0x40b0c4]
add eax, 4
push eax
push edi
call fcn.004063c4
mov eax, dword [0x40b0c4]
push esi
add eax, 4
push eax
jmp 0x402ea1
test edx, edx
je 0x401f8e
test esi, esi
jne 0x401f77
push str.Pop:_stack_empty
call fcn.004066b5
pop ecx
jmp 0x401a2c
lea eax, [esi + 4]
push eax
push edi
call fcn.004063c4
mov eax, dword [esi]
mov dword [0x40b0c4], eax
push esi
jmp 0x40242a
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.004069b2
mov eax, dword [0x40b0c4]
mov dword [esi], eax
mov dword [0x40b0c4], esi
jmp case.0x4015e5.20
push 3
pop ecx
call fcn.0040143d
push 4
pop ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x10], eax
call fcn.0040143d
test byte [ebp - 0x14], 1
mov dword [ebp - 0x44], edx
mov dword [ebp + 8], eax
je 0x401fe8
push 0x33
pop esi
call fcn.0040145a
mov dword [ebp - 0x10], eax
test byte [ebp - 0x14], 2
je 0x401ff9
push 0x44
pop esi
call fcn.0040145a
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x22
jne 0x40204e
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
mov dword [ebp - 0x44], edx
call fcn.0040143d
mov ecx, dword [ebp - 0x14]
sar ecx, 2
mov dword [ebp - 0x44], edx
je 0x40203e
lea edx, [ebp - 8]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x402085
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402082
xor esi, esi
inc esi
call fcn.0040145a
push 0x12
pop esi
mov ebx, eax
call fcn.0040145a
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [ebx]
neg ax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28], 0
jl case.0x4015e5.20
push dword [ebp - 8]
jmp 0x40173a
xor ecx, ecx
call fcn.0040143d
push eax
mov dword [ebp - 0x44], edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018f5
jmp 0x4018dc
push 2
pop ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp - 0x44], edx
call fcn.0040143d
push esi
push eax
mov dword [ebp - 0x44], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401cef
mov eax, dword [0x472628]
xor ecx, ecx
lea esi, [eax + edx]
call fcn.0040143d
push esi
push 0xffffffffffffffeb
push eax
mov dword [ebp - 0x44], edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015e5.20
push edx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x20]
push 0x10
push eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x20]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.0040145a
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.0x4015e5.20
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015e5.20
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push 2
pop ecx
mov esi, eax
call fcn.0040143d
push 0x48
push 0x5a
push esi
mov ebx, eax
mov dword [ebp - 0x44], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp - 0xc]
neg eax
mov dword [0x41f0f0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.0040143d
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 dword [ebp - 0x44], edx
mov byte [0x41f105], cl
mov byte [0x41f106], al
mov byte [0x41f107], 1
call fcn.004069b2
push 0x41f0f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401cef
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp - 0x44], edx
call fcn.0040143d
cmp dword [ebp - 0x20], 0
mov edi, eax
mov dword [ebp - 0x44], edx
je 0x402212
push str.HideWindow
call fcn.004066b5
pop ecx
cmp dword [ebp - 0x1c], 0
push edi
push esi
jne 0x402225
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015e5.20
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015e5.20
xor esi, esi
call fcn.0040145a
push 0x31
pop esi
mov edi, eax
call fcn.0040145a
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.0040145a
push 0x15
pop esi
mov ebx, eax
call fcn.0040145a
push 0xffffffffffffffec
call fcn.0040142c
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov ax, word [edi]
neg ax
mov dword [ebp - 0x6c], esi
sbb eax, eax
and eax, edi
mov dword [ebp - 0x70], eax
mov ax, word [ebx]
neg ax
mov dword [ebp - 0x64], 0x4cb0b0
sbb eax, eax
and eax, ebx
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00405e69
test eax, eax
jne 0x4022bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push esi
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.004066b5
add esp, 0x14
jmp 0x401a2c
test byte [ebp - 0x78], 0x40
je 0x4022d6
push dword [ebp - 0x44]
call fcn.0040682d
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.004066b5
add esp, 0x10
jmp case.0x4015e5.20
xor esi, esi
call fcn.0040145a
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.004066b5
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.004050de
push esi
call fcn.00405e26
mov edi, eax
test edi, edi
push esi
je 0x40234e
push str.Exec:_success____s__
call fcn.004066b5
cmp dword [ebp - 0x20], 0
pop ecx
pop ecx
je 0x402348
push edi
call fcn.0040682d
cmp dword [ebp - 0x24], 0
jl 0x40233d
push eax
push ebx
call fcn.0040630b
jmp 0x402348
test eax, eax
je 0x402348
mov dword [ebp - 4], 1
push edi
jmp 0x402b67
push 0x4087d8
jmp 0x401967
push 2
pop esi
call fcn.0040145a
push eax
call fcn.004066e7
mov esi, eax
test esi, esi
je 0x40237d
push dword [esi + 0x14]
push ebx
call fcn.0040630b
push dword [esi + 0x18]
jmp 0x40173a
and word [edi], 0
and word [ebx], 0
jmp 0x401a2c
push 0xffffffffffffffee
pop esi
call fcn.0040145a
lea ecx, [ebp - 0x44]
push ecx
push eax
push 9
mov dword [ebp - 8], eax
call fcn.0040677e
call eax
and word [edi], 0
and word [ebx], 0
mov esi, eax
test esi, esi
mov dword [ebp - 4], 1
je case.0x4015e5.20
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je case.0x4015e5.20
push 0xa
call fcn.0040677e
push 0xb
mov dword [ebp - 0x34], eax
call fcn.0040677e
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push esi
push 0
push dword [ebp - 8]
call dword [ebp - 0x34]
test eax, eax
je 0x402427
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4087d4
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x402427
mov eax, dword [ebp - 0x38]
push dword [eax + 8]
push edi
call fcn.0040630b
mov eax, dword [ebp - 0x38]
push dword [eax + 0xc]
push ebx
call fcn.0040630b
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015e5.20
cmp dword [0x4726d8], 0
mov dword [ebp - 4], 1
jl 0x402526
push 0xfffffffffffffff0
pop esi
call fcn.0040145a
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040145a
cmp dword [ebp - 0x18], 0
mov esi, eax
je 0x402471
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov dword [ebp + 8], eax
jne 0x402487
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp + 8], eax
je 0x402514
push esi
push dword [ebp + 8]
call fcn.004067eb
mov edi, eax
test edi, edi
je 0x4024d5
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x4024b7
push dword [ebp - 0x20]
call fcn.0040142c
call edi
test eax, eax
je 0x4024ec
mov dword [ebp - 4], 1
jmp 0x4024ec
push section..data
push 0x40b0c4
push section..ndata
push 0x2004
push dword [ebp - 0xc]
call edi
add esp, 0x14
jmp 0x4024ec
push esi
push 0xfffffffffffffff7
call fcn.004050de
push ebx
push esi
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.004066b5
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne case.0x4015e5.20
push dword [ebp + 8]
call fcn.00403e32
test eax, eax
je case.0x4015e5.20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015e5.20
push 0xfffffffffffffff6
call fcn.0040142c
push ebx
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x40196e
push 0xffffffffffffffe7
call fcn.0040142c
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x4017aa
push 0xfffffffffffffff0
pop esi
call fcn.0040145a
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x40], eax
call fcn.0040145a
push 2
pop esi
mov dword [ebp - 8], eax
call fcn.0040145a
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x34], eax
call fcn.0040145a
push 0x45
pop esi
mov dword [ebp - 0x10], eax
call fcn.0040145a
push dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov ebx, eax
mov ecx, eax
mov edi, eax
sar eax, 0x10
and ecx, 0x8000
and eax, 0xffff
sar edi, 0xc
and ebx, 0xfff
mov dword [ebp - 0xc], ecx
and edi, 7
mov dword [ebp - 0x38], eax
call fcn.00405f26
test eax, eax
jne 0x4025ab
push 0x21
pop esi
call fcn.0040145a
push dword [ebp - 0x38]
mov esi, dword [ebp - 0x10]
push edi
push ebx
push esi
push dword [ebp - 0x34]
push dword [ebp - 8]
push dword [ebp - 0x40]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.004066b5
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x409b60
push 1
push 0
push 0x409b70
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40269b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0x409b80
push eax
call dword [ecx]
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x40268c
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
jne 0x402629
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4cb0b0
push eax
call dword [ecx + 0x24]
test edi, edi
je 0x402637
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp word [esi], 0
je 0x402654
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x10], 0
jl 0x402683
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x40]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x10], 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 - 0x10], 0
jge 0x4026a9
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4018ae
push 0xfffffffffffffff4
jmp 0x4018ae
xor esi, esi
call fcn.0040145a
push 0x11
pop esi
mov edi, eax
call fcn.0040145a
push 0x23
pop esi
mov ebx, eax
call fcn.0040145a
push ebx
push edi
push str.CopyFiles___s_____s_
mov esi, eax
call fcn.004066b5
add esp, 0xc
push edi
call fcn.004066e7
test eax, eax
jne 0x4026f4
push 0
push 0xfffffffffffffff9
call fcn.004050de
jmp 0x401a2c
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 2
call sub.KERNEL32.dll_lstrlenW
and word [edi + eax*2 + 2], 0
push ebx
call sub.KERNEL32.dll_lstrlenW
and word [ebx + eax*2 + 2], 0
mov ax, word [ebp - 0x20]
push esi
push 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x46], esi
mov word [ebp - 0x50], ax
call fcn.004050de
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015e5.20
jmp 0x4026e6
cmp ecx, 0xbadf00d
jne 0x401f1e
inc dword [0x4726b4]
jmp case.0x4015e5.20
xor esi, esi
push str._RM_
mov ebx, 0x40f0d0
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x38], esi
mov dword [ebp + 8], esi
call fcn.004063c4
push ebx
mov edi, 0x4130d8
push edi
call fcn.004063c4
cmp dword [ebp - 0x28], esi
je 0x402791
call fcn.0040145a
mov dword [ebp - 8], eax
cmp dword [ebp - 0x24], 0
je 0x4027a2
push 0x11
pop esi
call fcn.0040145a
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0
je 0x4027b3
push 0x22
pop esi
call fcn.0040145a
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.0040145a
mov esi, eax
push esi
push edi
push ebx
push 0x40b0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.004066b5
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401a24
push 0xa
pop ebx
xor esi, esi
inc esi
mov dword [ebp + 8], ebx
call fcn.0040145a
push 0x12
pop esi
mov dword [ebp - 0x38], eax
call fcn.0040145a
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x44], eax
call fcn.0040145a
push eax
push 0x2003
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], bx
jmp 0x4019ff
push edx
mov edi, edx
call fcn.0040652c
cmp dword [ebp - 0x18], 0
pop ecx
mov ebx, eax
jne 0x40287f
push 2
pop eax
call fcn.004014a7
mov edi, eax
test edi, edi
je 0x401a2c
push 0x33
pop esi
call fcn.0040145a
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4130d8
push ebx
push str.DeleteRegValue:___s_s____s_
mov dword [ebp + 8], eax
call fcn.004066b5
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4028d0
push 0x22
pop esi
call fcn.0040145a
mov esi, eax
push esi
push ebx
push str.DeleteRegKey:___s_s_
call fcn.004066b5
mov eax, dword [ebp - 0x18]
or eax, 0x200040
sar eax, 1
mov dword [ebp + 8], eax
add esp, 0xc
lea eax, [ebp + 8]
push eax
mov eax, edi
call fcn.00401495
push eax
call fcn.004061b2
test eax, eax
je 0x4028c9
push dword [ebp + 8]
push esi
push eax
call fcn.004014de
mov dword [ebp + 8], eax
jmp 0x4028d0
mov dword [ebp + 8], 6
cmp dword [ebp + 8], 0
je case.0x4015e5.20
jmp 0x401a2c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
push 2
pop esi
mov edi, ecx
mov dword [ebp - 0x10], eax
call fcn.0040145a
push 0x11
pop esi
mov dword [ebp - 0xc], eax
call fcn.0040145a
push edi
mov dword [ebp + 8], eax
call fcn.0040652c
pop ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
push 0x100022
push dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], 1
call fcn.00401495
push eax
call fcn.0040625f
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 0x44]
je 0x402a66
xor esi, esi
cmp dword [ebp - 8], 1
mov edi, 0x4130d8
jne 0x40298c
push 0x23
pop esi
call fcn.0040145a
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x10], 1
push edi
push dword [ebp - 0xc]
lea esi, [eax + eax + 2]
push dword [ebp + 8]
push dword [ebp - 0x30]
jne 0x40297f
push str.WriteRegStr:___s_s____s___s_
call fcn.004066b5
add esp, 0x14
jmp 0x402a2a
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.004066b5
add esp, 0x14
cmp dword [ebp - 8], 4
jne 0x4029bc
push 3
pop ecx
call fcn.0040143d
push 4
pop esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x38], edx
push dword [ebp + 8]
mov dword [0x4130d8], eax
push dword [ebp - 0x30]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.004066b5
add esp, 0x14
cmp dword [ebp - 8], 3
jne 0x402a2a
cmp dword [ebp - 0x10], 0
jne 0x4029d1
mov dword [ebp - 8], str.WriteRegNone
jmp 0x4029e5
cmp dword [ebp - 0x10], 7
mov dword [ebp - 8], str.WriteRegMultiStr
je 0x4029e5
mov dword [ebp - 8], str.WriteRegBin
push 0xc018
push edi
push 0
push dword [ebp - 0x1c]
call fcn.00403551
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x17c]
push 0x80
push eax
call fcn.00406636
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x30]
push dword [ebp - 8]
push str._s:___s_s____s___s_
call fcn.004066b5
add esp, 0x28
push esi
push edi
push dword [ebp - 0x10]
push 0
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402a44
and dword [ebp - 4], eax
jmp 0x402a5a
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x30]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.004066b5
add esp, 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015e5.20
push dword [ebp + 8]
push dword [ebp - 0x30]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401b9f
mov eax, 0x20019
call fcn.004014a7
push 0x33
pop esi
mov ebx, eax
call fcn.0040145a
xor esi, esi
cmp ebx, esi
mov word [edi], si
je 0x401a2c
lea ecx, [ebp - 0x44]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push ebx
mov dword [ebp - 0x44], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402aef
cmp dword [ebp + 8], 4
je 0x402ad7
cmp dword [ebp + 8], ecx
je 0x402ac8
cmp dword [ebp + 8], 2
jne 0x402aef
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov word [edi + 0x4006], si
jmp 0x402a5a
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x18], esi
push edi
sete al
mov dword [ebp - 4], eax
call fcn.0040630b
jmp 0x402a5a
mov word [edi], si
mov dword [ebp - 4], ecx
jmp 0x402a5a
mov eax, 0x20019
call fcn.004014a7
push 3
pop ecx
mov ebx, eax
call fcn.0040143d
xor esi, esi
cmp ebx, esi
mov dword [ebp - 0x44], edx
mov word [edi], si
je 0x401a2c
cmp dword [ebp - 0x18], esi
mov ecx, 0x2003
mov dword [ebp + 8], ecx
je 0x402b37
push ecx
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402ace
push esi
push esi
push esi
push esi
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402ace
mov dword [ebp - 4], 1
jmp 0x402ace
push edi
call fcn.00406324
test eax, eax
je case.0x4015e5.20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015e5.20
push 0xffffffffffffffed
pop esi
call fcn.0040145a
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00406058
cmp eax, 0xffffffff
jne 0x401cef
and word [edi], 0
jmp 0x401a2c
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp esi, 0x39
sete cl
test eax, eax
mov dword [ebp - 0x44], eax
mov ebx, 0x40f0d0
mov dword [ebp + 8], ecx
je 0x402bd0
xor ecx, ecx
inc ecx
call fcn.0040143d
mov esi, dword [ebp + 8]
mov word [0x40f0d0], ax
xor eax, eax
test esi, esi
sete al
mov dword [ebp - 0x38], edx
inc eax
jmp 0x402c12
cmp esi, 0x39
jne 0x402bff
push 0x21
pop esi
call fcn.0040145a
xor eax, eax
push eax
push eax
push 0x2004
push ebx
push 0xffffffffffffffff
push 0x4130d8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402c0f
push 0x11
pop esi
call fcn.0040145a
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov esi, dword [ebp + 8]
cmp word [edi], 0
mov dword [ebp - 8], eax
je 0x401a2c
push edi
call fcn.00406324
or esi, dword [ebp - 0x44]
mov edi, eax
jne 0x402c40
cmp dword [ebp - 0x1c], esi
je 0x402c40
push edi
push edi
call fcn.00406139
test eax, eax
jl 0x401a2c
push dword [ebp - 8]
push ebx
push edi
call fcn.0040610a
jmp 0x401a24
and dword [ebp - 0xc], 0
push 2
pop ecx
mov dword [ebp - 0x40], ecx
call fcn.0040143d
cmp eax, 1
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], eax
jl case.0x4015e5.20
mov ecx, 0x2003
cmp eax, ecx
jle 0x402c79
mov dword [ebp - 0x38], ecx
cmp word [edi], 0
je 0x402de8
and dword [ebp - 8], 0
push edi
call fcn.00406324
cmp dword [ebp - 0x38], 0
mov dword [ebp - 0x10], eax
jle 0x402de8
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edi, edi
cmp dword [ebp - 0x2c], 0x3a
jne 0x402d7b
push edi
lea eax, [ebp - 0x34]
push eax
push 2
pop eax
sub eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402de8
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
je 0x402de8
cmp dword [ebp - 0x1c], edi
movzx ax, byte [ebp + 8]
movzx eax, ax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], eax
jne 0x402da9
push 1
lea eax, [ebp - 0x30]
push eax
push ecx
lea eax, [ebp + 8]
push eax
push 8
push edi
call esi
test eax, eax
jne 0x402da4
mov edi, dword [ebp - 0x40]
neg edi
dec dword [ebp - 0x34]
mov eax, 0xfffd
mov dword [ebp - 0x30], eax
je 0x402d45
dec dword [ebp - 0x40]
push 1
push 0
inc edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
push 8
push 0
call esi
test eax, eax
je 0x402d0c
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x402da9
cmp word [ebp - 8], 0xd
je 0x402db8
cmp word [ebp - 8], 0xa
je 0x402db8
mov ecx, dword [ebp - 0xc]
movzx edx, ax
mov word [ebx + ecx*2], ax
inc ecx
cmp ax, di
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
je 0x402de8
cmp ecx, dword [ebp - 0x38]
jl 0x402ca2
jmp 0x402de8
cmp dword [ebp - 0x1c], edi
jne 0x402d92
cmp dword [ebp - 0xc], edi
jne 0x402d92
push edi
push dword [ebp - 0x10]
call fcn.00406139
test eax, eax
jl 0x402de8
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call fcn.004060db
test eax, eax
je 0x402de8
mov eax, dword [ebp - 0x30]
jmp 0x402d47
movzx eax, ax
push eax
push ebx
call fcn.0040630b
jmp 0x40312b
cmp word [ebp - 8], ax
je 0x402dd6
cmp ax, 0xd
je 0x402dca
cmp ax, 0xa
jne 0x402dd6
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [ebx + ecx*2], ax
jmp 0x402de8
mov eax, dword [ebp - 0x40]
push 1
push edi
neg eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0xc]
and word [ebx + eax*2], 0
jmp 0x401a24
cmp word [edi], 0
je case.0x4015e5.20
push 2
pop ecx
call fcn.0040143d
push dword [ebp - 0x1c]
mov dword [ebp - 0x44], edx
push 0
push eax
push edi
call fcn.00406324
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], 0
jl case.0x4015e5.20
push eax
push ebx
jmp 0x40173b
push edi
call fcn.00406324
test eax, eax
je case.0x4015e5.20
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015e5.20
push ebx
call fcn.00406324
test eax, eax
je 0x401a05
lea ecx, [ebp - 0x3cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401a05
jmp 0x402e99
push 2
pop esi
call fcn.0040145a
lea ecx, [ebp - 0x3cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e92
and word [ebx], 0
jmp 0x402b8f
push eax
push ebx
call fcn.0040630b
lea eax, [ebp - 0x3a0]
push eax
push edi
call fcn.004063c4
jmp case.0x4015e5.20
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.0040145a
mov edi, eax
push edi
mov dword [ebp - 8], edi
call fcn.00405f26
test eax, eax
jne 0x402ecf
push 0xffffffffffffffed
pop esi
call fcn.0040145a
push edi
call fcn.00406032
push 2
push 0x40000000
push edi
call fcn.00406058
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402f85
mov eax, dword [0x47264c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x38], eax
call esi
mov edi, eax
test edi, edi
je 0x402f7c
push 0
call fcn.004033d3
push dword [ebp - 0x38]
push edi
call fcn.004033bd
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0x44], esi
je 0x402f59
push dword [ebp - 0x20]
push esi
push 0
push dword [ebp - 0x24]
call fcn.00403551
jmp 0x402f4b
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.0040600e
add esi, ebx
cmp byte [esi], 0
jne 0x402f37
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x38]
push edi
push dword [ebp + 8]
call fcn.0040610a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403551
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.004066b5
add esp, 0xc
test ebx, ebx
push 0xfffffffffffffff3
pop esi
jge 0x402fb0
push 0xffffffffffffffef
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4018ae
test ecx, ecx
je 0x402ff7
push edx
push str.settings_logging_to__d
call fcn.004066b5
mov eax, dword [ebp - 0x24]
push eax
push str.logging_set_to__d
mov dword [0x460d28], eax
call fcn.004066b5
add esp, 0x10
cmp dword [ebp - 0x24], 0
je 0x402feb
call fcn.00403fee
jmp case.0x4015e5.20
push 1
call fcn.00406495
jmp case.0x4015e5.20
xor esi, esi
inc esi
call fcn.0040145a
push eax
push 0x408a1c
jmp 0x40196e
xor ecx, ecx
call fcn.0040143d
mov edi, eax
cmp edi, dword [0x47260c]
mov dword [ebp - 0x44], edx
jae 0x401a2c
mov eax, dword [ebp - 0x20]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x472608]
test eax, eax
jl 0x40304c
mov ecx, dword [esi + eax*4]
jne 0x403046
add esi, 0x18
push esi
push ebx
jmp 0x402ea1
push ecx
jmp 0x402e28
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x403066
xor ecx, ecx
inc ecx
call fcn.0040143d
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x24], eax
jmp 0x403079
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.004069b2
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.0x4015e5.20
push edi
call fcn.0040117d
jmp case.0x4015e5.20
xor ecx, ecx
call fcn.0040143d
cmp eax, 0x20
mov dword [ebp - 0x44], edx
jae 0x401a2c
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x4030d0
cmp dword [ebp - 0x20], esi
je 0x4030c5
push eax
call fcn.0040129d
push esi
push esi
call fcn.004011ef
jmp case.0x4015e5.20
push esi
call fcn.004012e8
jmp 0x402e27
cmp dword [ebp - 0x20], esi
je 0x4030e7
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x4725e0]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015e5.20
mov ecx, dword [0x4725e0]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.004069b2
jmp case.0x4015e5.20
mov eax, dword [0x457278]
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 - 0x28], esi
je case.0x4015e5.20
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x4726a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4