Function at 0x4015c7
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
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x447fe8]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov edi, ecx
mov eax, section..ndata
mov ebx, edx
shl edi, 0xd
add edi, eax
shl ebx, 0xd
add ebx, eax
lea eax, [ebp - 0x2c]
mov dword [0x40a0c0], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
cmp eax, 0x42
ja case.0x40161a.66
jmp dword [eax*4 + 0x402fdb]
push ecx
push str.Jump:__d
call fcn.004062ae
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x402fd2
xor esi, esi
call fcn.00401457
push eax
push str.Aborting:___s_
call fcn.004062ae
pop ecx
pop ecx
push esi
push dword [ebp - 0x2c]
call fcn.00404dbf
mov eax, 0x7fffffff
jmp 0x402fd2
inc dword [0x443fb4]
cmp dword [ebp - 0xc], 0
je 0x401653
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401653
push ecx
call fcn.00401373
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.004062ae
pop ecx
pop ecx
push 0
push esi
call fcn.0040138f
jmp 0x402fd2
xor esi, esi
call fcn.00401457
push eax
push str.DetailPrint:__s
call fcn.004062ae
pop ecx
pop ecx
push esi
push dword [ebp - 0x2c]
call fcn.00404dbf
jmp case.0x40161a.66
xor ecx, ecx
call fcn.0040143a
mov esi, eax
push esi
push str.Sleep__d_
mov dword [ebp - 0x40], edx
call fcn.004062ae
cmp esi, 1
pop ecx
pop ecx
jg 0x4016d9
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40161a.66
push str.BringToFront
call fcn.004062ae
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40161a.66
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x24], 0
jne 0x401736
mov ecx, dword [eax + 0x4480a0]
mov dword [eax + 0x448060], ecx
xor ecx, ecx
inc ecx
call fcn.0040143a
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
mov dword [ebp - 0x40], edx
mov dword [ecx*4 + 0x4480a0], eax
push str.SetFlag:__d_d
jmp 0x401bc3
mov ecx, dword [eax + 0x448060]
mov dword [eax + 0x4480a0], ecx
jmp case.0x40161a.66
mov edx, dword [ebp - 0x24]
lea edx, [edx*4 + 0x4480a0]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x20]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x2c]
jmp 0x402fd2
push dword [edx*4 + 0x4480a0]
push edi
call fcn.00405f31
jmp case.0x40161a.66
mov eax, dword [0x443fc0]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x401790
push edx
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x443fac]
test eax, eax
je case.0x40161a.66
push ecx
push eax
call esi
jmp case.0x40161a.66
push 0xfffffffffffffff0
pop esi
call fcn.00401457
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.004062ae
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x40161a.66
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.004062ae
pop ecx
jmp case.0x40161a.66
push 0xfffffffffffffff0
pop esi
call fcn.00401457
push dword [ebp - 0x28]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.004062ae
add esp, 0xc
push edi
call fcn.00405c10
mov esi, eax
test esi, esi
je 0x40188f
push 0x5c
push esi
call fcn.00405bca
mov esi, eax
mov bl, byte [esi]
test bl, bl
mov byte [esi], 0
jne 0x40183b
cmp dword [ebp - 0x24], 0
je 0x40183b
call fcn.00406428
test eax, eax
je 0x40183b
push edi
call fcn.00405a4b
jmp 0x401841
push edi
call fcn.00405acc
test eax, eax
je 0x40187b
cmp eax, 0xb7
je 0x401860
push eax
push edi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.004062ae
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401888
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x401888
push edi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.004062ae
inc dword [ebp - 4]
jmp 0x401886
push edi
push str.CreateDirectory:___s__created
call fcn.004062ae
pop ecx
pop ecx
mov byte [esi], bl
inc esi
test bl, bl
jne 0x401811
cmp dword [ebp - 0x28], 0
je 0x4018d3
push 0xffffffffffffffe6
call fcn.00401429
push edi
push 0x475000
call fcn.00405fd3
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne case.0x40161a.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.SetCurrentDirectory__s__failed___d_
call fcn.004062ae
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x40161a.66
push 0xfffffffffffffff5
call fcn.00401429
jmp case.0x40161a.66
xor esi, esi
call fcn.00401457
mov esi, eax
push esi
call fcn.004062de
test eax, eax
je 0x40190b
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.004062ae
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x402fd2
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.004062ae
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x402fd2
push 0xffffffffffffffd0
pop esi
call fcn.00401457
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401457
push 0x13
pop esi
mov ebx, eax
call fcn.00401457
mov esi, eax
push esi
push str.Rename:__s
call fcn.004062ae
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401962
push 0xffffffffffffffe3
jmp 0x4018d5
cmp dword [ebp - 0x24], 0
je 0x401988
push edi
call fcn.004062de
test eax, eax
je 0x401988
push ebx
push edi
call fcn.0040691b
push 0xffffffffffffffe4
call fcn.00401429
push esi
push str.Rename_on_reboot:__s
jmp 0x401995
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.004062ae
pop ecx
jmp 0x4017e4
xor esi, esi
call fcn.00401457
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
mov edi, 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x4019e3
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4019ed
cmp byte [eax], 0
je 0x4019ed
push esi
call fcn.004062de
test eax, eax
je 0x4019e3
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00405fd3
jmp 0x4019ed
mov byte [ebx], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
jne case.0x40161a.66
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x40161a.66
or esi, 0xffffffff
call fcn.00401457
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2000
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x40161a.66
mov dword [ebp - 4], 1
mov byte [edi], 0
jmp case.0x40161a.66
push 0xffffffffffffffef
pop esi
call fcn.00401457
push eax
push edi
call fcn.00405d34
test eax, eax
jne case.0x40161a.66
mov dword [ebp - 4], 1
jmp case.0x40161a.66
push 0x31
pop esi
call fcn.00401457
mov esi, eax
mov eax, dword [ebp - 0x2c]
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.004062ae
add esp, 0x10
push esi
call fcn.00405be6
test eax, eax
push esi
mov esi, 0x40a0c8
je 0x401aa2
push esi
call fcn.00405fd3
jmp 0x401ab9
push 0x475000
push esi
call fcn.00405fd3
push eax
call fcn.00406488
push eax
call sub.KERNEL32.dll_lstrcatA
push esi
call fcn.00405ff5
mov edi, 0x40e0c8
mov ebx, 0x40c0c8
cmp dword [ebp + 8], 3
jl 0x401b00
push esi
call fcn.004062de
xor ecx, ecx
test eax, eax
je 0x401aeb
lea ecx, [ebp - 0x20]
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 0x401b0c
push esi
call fcn.00405cdf
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405d05
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x401be6
cmp dword [ebp + 8], 0
jne 0x401ba3
push esi
push str.File:_error_creating___s_
call fcn.004062ae
pop ecx
pop ecx
push section..ndata
push edi
call fcn.00405fd3
push esi
push section..ndata
call fcn.00405fd3
push dword [ebp - 0x18]
push ebx
call fcn.0040655e
push edi
push section..ndata
call fcn.00405fd3
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push ebx
call fcn.00405b66
sub eax, 4
jne 0x401b8d
push str.File:_error__user_retry
call fcn.004062ae
pop ecx
jmp 0x401ac9
dec eax
je 0x401bd0
push str.File:_error__user_abort
call fcn.004062ae
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x40164e
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00404dbf
cmp dword [ebp + 8], 2
jne 0x401bba
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.004062ae
add esp, 0xc
jmp case.0x40161a.66
push str.File:_error__user_cancel
call fcn.004062ae
inc dword [0x4480a8]
pop ecx
jmp 0x402fd0
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00404dbf
inc dword [0x4480d4]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.00403233
dec dword [0x4480d4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.004062ae
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401c28
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401c37
lea eax, [ebp - 0x20]
push eax
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x40161a.66
cmp edi, 0xfffffffe
jne 0x401c60
push 0xffffffffffffffe9
push esi
call fcn.0040655e
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x401c68
push 0xffffffffffffffee
push esi
call fcn.0040655e
push esi
push 0x40867c
call fcn.004062ae
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405b66
jmp 0x401653
xor esi, esi
call fcn.00401457
mov esi, eax
push esi
push str.Delete:___s_
call fcn.004062ae
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.00406947
jmp case.0x40161a.66
push 0x31
pop esi
call fcn.00401457
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.004062ae
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00405b66
test eax, eax
je 0x401a50
cmp eax, dword [ebp - 0x24]
jne 0x401ce2
mov eax, dword [ebp - 0x20]
jmp 0x402fd2
cmp eax, dword [ebp - 0x1c]
jne case.0x40161a.66
mov eax, dword [ebp - 0x18]
jmp 0x402fd2
push 0xfffffffffffffff0
pop esi
call fcn.00401457
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c94
xor esi, esi
inc esi
call fcn.00401457
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
jmp 0x40176f
push 2
pop ecx
call fcn.0040143a
push 3
pop ecx
mov esi, eax
mov dword [ebp - 0x40], edx
call fcn.0040143a
mov dword [ebp + 8], esi
xor esi, esi
inc esi
mov ebx, eax
mov dword [ebp - 0x7c], edx
call fcn.00401457
push eax
mov dword [ebp - 0x38], eax
call sub.KERNEL32.dll_lstrlenA
cmp dword [ebp - 0x40], 0
mov byte [edi], 0
mov esi, eax
je 0x401d55
mov esi, dword [ebp + 8]
test esi, esi
je case.0x40161a.66
test ebx, ebx
jge 0x401d69
add ebx, eax
js case.0x40161a.66
cmp ebx, eax
jle 0x401d6f
mov ebx, eax
mov eax, dword [ebp - 0x38]
add eax, ebx
push eax
push edi
call fcn.00405fd3
test esi, esi
jge 0x401d90
push edi
call sub.KERNEL32.dll_lstrlenA
add esi, eax
jns 0x401d90
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2000
jge case.0x40161a.66
mov byte [esi + edi], 0
jmp case.0x40161a.66
push 0x20
pop esi
call fcn.00401457
push 0x31
pop esi
mov edi, eax
call fcn.00401457
cmp dword [ebp - 0x1c], 0
push eax
push edi
jne 0x401dd2
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401cda
jmp 0x40191c
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401dc5
xor esi, esi
inc esi
call fcn.00401457
push 0x2000
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401e07
cmp dword [ebp - 0x24], 0
je 0x401e0d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401e0d
mov dword [ebp - 4], esi
mov byte [edi], 0
mov byte [edi + 0x1fff], 0
jmp case.0x40161a.66
mov esi, dword [ebp - 0x18]
xor ecx, ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov edi, eax
mov dword [ebp - 0x40], edx
call fcn.0040143a
test esi, esi
mov dword [ebp - 0x40], edx
jne 0x401e4d
cmp edi, eax
jl 0x401cda
jle 0x40191c
mov eax, dword [ebp - 0x1c]
jmp 0x402fd2
cmp edi, eax
jb 0x401cda
jbe 0x40191c
jmp 0x401e45
xor ecx, ecx
inc ecx
call fcn.0040143a
push 2
pop ecx
mov esi, eax
mov dword [ebp - 0x40], edx
call fcn.0040143a
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xd
mov dword [ebp - 0x40], edx
ja case.default.0x401e7f
jmp dword [eax*4 + 0x4030e7]
add esi, ecx
jmp case.default.0x401e7f
sub esi, ecx
jmp case.default.0x401e7f
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e7f
test ecx, ecx
je 0x401ea0
mov eax, esi
cdq
idiv ecx
jmp 0x401ebe
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401e7f
or ecx, esi
jmp 0x401e91
and ecx, esi
jmp 0x401e91
xor ecx, esi
jmp 0x401e91
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e7f
test esi, esi
jne 0x401eca
test ecx, ecx
je 0x401ed3
xor esi, esi
inc esi
jmp case.default.0x401e7f
test esi, esi
jne 0x401ec6
xor esi, esi
jmp case.default.0x401e7f
test ecx, ecx
je 0x401ea0
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e7f
shl esi, cl
jmp case.default.0x401e7f
sar esi, cl
jmp case.default.0x401e7f
shr esi, cl
push esi
jmp 0x40176f
xor esi, esi
inc esi
call fcn.00401457
push 2
pop ecx
mov esi, eax
call fcn.0040143a
push eax
push esi
push edi
mov dword [ebp - 0x40], edx
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x401bc8
mov eax, dword [ebp - 0x24]
test eax, eax
mov esi, dword [0x40a0c4]
je 0x401f83
dec eax
test esi, esi
je 0x401f33
test eax, eax
mov esi, dword [esi]
jne 0x401f24
test esi, esi
jne 0x401f56
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.004062ae
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.0040655e
push eax
jmp 0x401c7b
lea edi, [esi + 4]
push edi
mov esi, 0x40a0c8
push esi
call fcn.00405fd3
mov eax, dword [0x40a0c4]
add eax, 4
push eax
push edi
call fcn.00405fd3
mov eax, dword [0x40a0c4]
push esi
add eax, 4
push eax
jmp 0x402d46
test edx, edx
je 0x401fb2
test esi, esi
jne 0x401f9b
push str.Pop:_stack_empty
call fcn.004062ae
pop ecx
jmp 0x401a50
lea eax, [esi + 4]
push eax
push edi
call fcn.00405fd3
mov eax, dword [esi]
mov dword [0x40a0c4], eax
push esi
jmp 0x402442
push 0x2004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040655e
mov eax, dword [0x40a0c4]
mov dword [esi], eax
mov dword [0x40a0c4], esi
jmp case.0x40161a.66
push 3
pop ecx
call fcn.0040143a
push 4
pop ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 8], eax
call fcn.0040143a
test byte [ebp - 0x18], 1
mov dword [ebp - 0x40], edx
mov dword [ebp + 8], eax
je 0x40200c
push 0x33
pop esi
call fcn.00401457
mov dword [ebp - 8], eax
test byte [ebp - 0x18], 2
je 0x40201d
push 0x44
pop esi
call fcn.00401457
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
jne 0x402072
xor ecx, ecx
inc ecx
call fcn.0040143a
push 2
pop ecx
mov esi, eax
mov dword [ebp - 0x40], edx
call fcn.0040143a
mov ecx, dword [ebp - 0x18]
sar ecx, 2
mov dword [ebp - 0x40], edx
je 0x402062
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x4020a5
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4020a2
xor esi, esi
inc esi
call fcn.00401457
push 0x12
pop esi
mov ebx, eax
call fcn.00401457
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov al, byte [ebx]
neg al
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x2c], 0
jl case.0x40161a.66
push dword [ebp - 0x10]
jmp 0x40176f
xor ecx, ecx
call fcn.0040143a
push eax
mov dword [ebp - 0x40], edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40191c
jmp 0x401903
push 2
pop ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp - 0x40], edx
call fcn.0040143a
push esi
push eax
mov dword [ebp - 0x40], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d13
mov eax, dword [0x448028]
xor ecx, ecx
lea esi, [eax + edx]
call fcn.0040143a
push esi
push 0xffffffffffffffeb
push eax
mov dword [ebp - 0x40], edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x40161a.66
push edx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x24]
push 0x10
push eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.00401457
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je case.0x40161a.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40161a.66
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push 2
pop ecx
mov esi, eax
call fcn.0040143a
push 0x48
push 0x5a
push esi
mov ebx, eax
mov dword [ebp - 0x40], 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 [0x4140c8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.0040143a
push dword [ebp - 0x28]
mov dword [0x4140d8], eax
mov al, byte [ebp - 0x1c]
mov cl, al
and cl, 1
mov byte [0x4140dc], cl
mov cl, al
and cl, 2
and al, 4
push 0x4140e4
mov dword [ebp - 0x40], edx
mov byte [0x4140dd], cl
mov byte [0x4140de], al
mov byte [0x4140df], 1
call fcn.0040655e
push 0x4140c8
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401d13
xor ecx, ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp - 0x40], edx
call fcn.0040143a
cmp dword [ebp - 0x24], 0
mov edi, eax
mov dword [ebp - 0x40], edx
je 0x402232
push str.HideWindow
call fcn.004062ae
pop ecx
cmp dword [ebp - 0x20], 0
push edi
push esi
jne 0x402245
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40161a.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40161a.66
xor esi, esi
call fcn.00401457
push 0x31
pop esi
mov edi, eax
call fcn.00401457
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401457
push 0x15
pop esi
mov ebx, eax
call fcn.00401457
push 0xffffffffffffffec
call fcn.00401429
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov al, byte [edi]
neg al
mov dword [ebp - 0x68], esi
sbb eax, eax
and eax, edi
mov dword [ebp - 0x6c], eax
mov al, byte [ebx]
neg al
mov dword [ebp - 0x60], 0x475000
sbb eax, eax
and eax, ebx
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
call fcn.00405b2c
test eax, eax
jne 0x4022db
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.004062ae
add esp, 0x14
jmp 0x401a50
test byte [ebp - 0x74], 0x40
je 0x4022f2
push dword [ebp - 0x40]
call fcn.004063e6
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.004062ae
add esp, 0x10
jmp case.0x40161a.66
xor esi, esi
call fcn.00401457
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.004062ae
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00404dbf
push esi
call fcn.00405ae9
mov edi, eax
test edi, edi
push esi
je 0x40236a
push str.Exec:_success____s__
call fcn.004062ae
cmp dword [ebp - 0x24], 0
pop ecx
pop ecx
je 0x402364
push edi
call fcn.004063e6
cmp dword [ebp - 0x28], 0
jl 0x402359
push eax
push ebx
call fcn.00405f31
jmp 0x402364
test eax, eax
je 0x402364
mov dword [ebp - 4], 1
push edi
jmp 0x402b72
push str.Exec:_failed_createprocess____s__
jmp 0x40198e
push 2
pop esi
call fcn.00401457
push eax
call fcn.004062de
mov esi, eax
test esi, esi
je 0x402399
push dword [esi + 0x14]
push ebx
call fcn.00405f31
push dword [esi + 0x18]
jmp 0x40176f
mov byte [edi], 0
mov byte [ebx], 0
jmp 0x401a50
push 0xffffffffffffffee
pop esi
call fcn.00401457
lea ecx, [ebp - 0x40]
push ecx
push eax
push 9
mov dword [ebp - 0x38], eax
call fcn.00406373
call eax
mov esi, eax
test esi, esi
mov byte [edi], 0
mov byte [ebx], 0
mov dword [ebp - 4], 1
je case.0x40161a.66
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je case.0x40161a.66
push 0xa
call fcn.00406373
push 0xb
mov dword [ebp - 0x3c], eax
call fcn.00406373
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push esi
push 0
push dword [ebp - 0x38]
call dword [ebp - 0x3c]
test eax, eax
je 0x40243f
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40854c
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x40243f
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push edi
call fcn.00405f31
mov eax, dword [ebp - 0x14]
push dword [eax + 0xc]
push ebx
call fcn.00405f31
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40161a.66
cmp dword [0x4480d8], 0
mov dword [ebp - 4], 1
jl 0x40253e
push 0xfffffffffffffff0
pop esi
call fcn.00401457
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401457
cmp dword [ebp - 0x1c], 0
mov esi, eax
je 0x402489
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x40249f
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [ebp + 8], eax
je 0x40252c
push esi
push dword [ebp + 8]
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x4024ed
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x4024cf
push dword [ebp - 0x24]
call fcn.00401429
call edi
test eax, eax
je 0x402504
mov dword [ebp - 4], 1
jmp 0x402504
push section..data
push 0x40a0c4
push section..ndata
push 0x2000
push dword [ebp - 0xc]
call edi
add esp, 0x14
jmp 0x402504
push esi
push 0xfffffffffffffff7
call fcn.00404dbf
push ebx
push esi
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.004062ae
add esp, 0xc
cmp dword [ebp - 0x20], 0
jne case.0x40161a.66
push dword [ebp + 8]
call fcn.00403b67
test eax, eax
je case.0x40161a.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40161a.66
push 0xfffffffffffffff6
call fcn.00401429
push ebx
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401995
push 0xffffffffffffffe7
call fcn.00401429
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x4017df
push 0xfffffffffffffff0
pop esi
call fcn.00401457
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401457
push 2
pop esi
mov dword [ebp - 8], eax
call fcn.00401457
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401457
push 0x45
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401457
push dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
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 - 0x7c], ecx
and edi, 7
mov dword [ebp - 0x14], eax
call fcn.00405be6
test eax, eax
jne 0x4025c3
push 0x21
pop esi
call fcn.00401457
push dword [ebp - 0x14]
push edi
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 0x3c]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.004062ae
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x409024
push 1
push 0
push 0x409034
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4026cd
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0x409044
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4026c0
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x7c], 0
mov esi, eax
jne 0x40263e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x475000
push eax
call dword [ecx + 0x24]
test edi, edi
je 0x40264c
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 - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x10]
cmp byte [ecx], 0
je 0x40266b
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test esi, esi
jl 0x4026b7
push 0x2000
push dword [ebp - 8]
mov esi, 0x80004005
push 0xffffffffffffffff
push dword [ebp - 0x3c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4026b7
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push 1
push dword [ebp - 8]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x38]
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]
test esi, esi
jge 0x4026db
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4018d5
push 0xfffffffffffffff4
jmp 0x4018d5
xor esi, esi
call fcn.00401457
push 0x11
pop esi
mov edi, eax
call fcn.00401457
push 0x23
pop esi
mov ebx, eax
call fcn.00401457
push ebx
push edi
push str.CopyFiles___s_____s_
mov esi, eax
call fcn.004062ae
add esp, 0xc
push edi
call fcn.004062de
test eax, eax
jne 0x402726
push 0
push 0xfffffffffffffff9
call fcn.00404dbf
jmp 0x401a50
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 2
call sub.KERNEL32.dll_lstrlenA
push ebx
mov byte [eax + edi + 1], 0
call sub.KERNEL32.dll_lstrlenA
mov byte [eax + ebx + 1], 0
mov ax, word [ebp - 0x24]
push esi
push 0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x42], esi
mov word [ebp - 0x4c], ax
call fcn.00404dbf
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x40161a.66
jmp 0x402718
cmp ecx, 0xbadf00d
jne 0x401f42
inc dword [0x4480b4]
jmp case.0x40161a.66
xor esi, esi
push str._RM_
mov ebx, 0x40c0c8
push ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp + 8], esi
call fcn.00405fd3
push ebx
mov edi, 0x40e0c8
push edi
call fcn.00405fd3
cmp dword [ebp - 0x2c], esi
je 0x4027c1
call fcn.00401457
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x28], 0
je 0x4027d2
push 0x11
pop esi
call fcn.00401457
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x1c], 0
je 0x4027e3
push 0x22
pop esi
call fcn.00401457
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.00401457
mov esi, eax
push esi
push edi
push ebx
push 0x40a0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.004062ae
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x401a48
xor esi, esi
inc esi
mov word [ebp + 8], 0xa
call fcn.00401457
push 0x12
pop esi
mov ebx, eax
call fcn.00401457
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x40], eax
call fcn.00401457
push eax
push 0x1fff
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0xa
jmp 0x401a24
push edx
mov edi, edx
call fcn.00406125
cmp dword [ebp - 0x1c], 0
pop ecx
mov dword [ebp + 8], eax
jne 0x4028ae
push 2
pop eax
call fcn.004014a1
mov edi, eax
test edi, edi
je 0x401a50
push 0x33
pop esi
call fcn.00401457
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40e0c8
push dword [ebp + 8]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.004062ae
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4028d7
push 0x22
pop esi
call fcn.00401457
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.004062ae
mov eax, dword [ebp - 0x1c]
add esp, 0xc
sar eax, 1
push eax
push edi
call fcn.00401588
mov ebx, eax
test ebx, ebx
je case.0x40161a.66
jmp 0x401a50
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push 2
pop esi
mov edi, ecx
mov dword [ebp - 0x10], eax
call fcn.00401457
push 0x11
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401457
push edi
mov dword [ebp + 8], eax
call fcn.00406125
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40]
push eax
push 0x100022
push dword [ebp + 8]
mov eax, edi
mov dword [ebp - 4], 1
call fcn.0040148f
push eax
call fcn.00405e87
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp - 0x40]
je 0x402a6a
xor esi, esi
cmp dword [ebp - 0x14], 1
mov edi, 0x40e0c8
jne 0x402990
push 0x23
pop esi
call fcn.00401457
push edi
call sub.KERNEL32.dll_lstrlenA
push edi
push dword [ebp - 0xc]
mov esi, eax
push dword [ebp + 8]
inc esi
cmp dword [ebp - 0x10], 1
push dword [ebp - 8]
jne 0x402983
push str.WriteRegStr:___s_s____s___s_
call fcn.004062ae
add esp, 0x14
jmp 0x402a2e
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.004062ae
add esp, 0x14
cmp dword [ebp - 0x14], 4
jne 0x4029c0
push 3
pop ecx
call fcn.0040143a
push 4
pop esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x7c], edx
push dword [ebp + 8]
mov dword [0x40e0c8], eax
push dword [ebp - 8]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.004062ae
add esp, 0x14
cmp dword [ebp - 0x14], 3
jne 0x402a2e
cmp dword [ebp - 0x10], 0
jne 0x4029d5
mov dword [ebp - 0x14], str.WriteRegNone
jmp 0x4029e9
cmp dword [ebp - 0x10], 7
mov dword [ebp - 0x14], str.WriteRegMultiStr
je 0x4029e9
mov dword [ebp - 0x14], str.WriteRegBin
push 0x6000
push edi
push 0
push dword [ebp - 0x20]
call fcn.00403233
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x100]
push 0x80
push eax
call fcn.0040622f
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 0x14]
push str._s:___s_s____s___s_
call fcn.004062ae
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_RegSetValueExA]
test eax, eax
jne 0x402a48
and dword [ebp - 4], eax
jmp 0x402a5e
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.004062ae
add esp, 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40161a.66
push dword [ebp + 8]
push dword [ebp - 8]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401bc3
mov eax, 0x20019
call fcn.004014a1
push 0x33
pop esi
mov ebx, eax
call fcn.00401457
test ebx, ebx
mov byte [edi], 0
je 0x401a50
lea ecx, [ebp - 0x40]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 0x40], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402af2
cmp dword [ebp + 8], 4
je 0x402ada
cmp dword [ebp + 8], ecx
je 0x402acb
cmp dword [ebp + 8], 2
jne 0x402af2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov byte [edi + 0x1fff], 0
jmp 0x402a5e
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x1c], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405f31
jmp 0x402a5e
mov byte [edi], 0
mov dword [ebp - 4], ecx
jmp 0x402a5e
mov eax, 0x20019
call fcn.004014a1
push 3
pop ecx
mov esi, eax
call fcn.0040143a
mov dword [ebp - 0x40], edx
xor edx, edx
cmp esi, edx
mov byte [edi], 0
je 0x401a50
cmp dword [ebp - 0x1c], edx
mov ecx, 0x1fff
mov dword [ebp + 8], ecx
je 0x402b3a
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402b56
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_RegEnumValueA]
test eax, eax
je 0x402b56
mov dword [ebp - 4], 1
mov byte [edi + 0x1fff], 0
push esi
jmp 0x402a5f
push edi
call fcn.00405f4a
test eax, eax
je case.0x40161a.66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40161a.66
push 0xffffffffffffffed
pop esi
call fcn.00401457
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00405d05
cmp eax, 0xffffffff
jne 0x401d13
mov byte [edi], 0
jmp 0x401a50
cmp dword [ebp - 0x24], 0
je 0x402bbc
xor esi, esi
inc esi
mov ecx, esi
call fcn.0040143a
mov dword [ebp - 0x40], edx
mov byte [0x40c0c8], al
jmp 0x402bcc
push 0x11
pop esi
call fcn.00401457
push eax
call sub.KERNEL32.dll_lstrlenA
mov esi, eax
cmp byte [edi], 0
je 0x401a50
push edi
call fcn.00405f4a
push esi
push 0x40c0c8
push eax
call fcn.00405dab
jmp 0x401a48
push 2
pop ecx
xor esi, esi
call fcn.0040143a
cmp eax, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], eax
jl case.0x40161a.66
mov ecx, 0x1fff
cmp eax, ecx
jle 0x402c11
mov dword [ebp - 0x14], ecx
cmp byte [edi], 0
je 0x402c91
push edi
mov byte [ebp + 0xb], 0
call fcn.00405f4a
cmp dword [ebp - 0x14], esi
mov edi, eax
jle 0x402c91
push 1
lea eax, [ebp - 0x31]
push eax
push edi
call fcn.00405d7c
test eax, eax
je 0x402c91
cmp dword [ebp - 0x20], 0
jne 0x402c5e
cmp byte [ebp + 0xb], 0xd
je 0x402c6e
cmp byte [ebp + 0xb], 0xa
je 0x402c6e
mov al, byte [ebp - 0x31]
mov byte [esi + ebx], al
inc esi
test al, al
mov byte [ebp + 0xb], al
je 0x402c91
cmp esi, dword [ebp - 0x14]
jl 0x402c27
jmp 0x402c91
movzx eax, byte [ebp - 0x31]
push eax
push ebx
call fcn.00405f31
jmp 0x402fd0
mov al, byte [ebp - 0x31]
cmp byte [ebp + 0xb], al
je 0x402c84
cmp al, 0xd
je 0x402c7e
cmp al, 0xa
jne 0x402c84
mov byte [esi + ebx], al
inc esi
jmp 0x402c91
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [esi + ebx], 0
test esi, esi
jmp 0x401a4a
cmp byte [edi], 0
je case.0x40161a.66
push 2
pop ecx
call fcn.0040143a
push dword [ebp - 0x20]
mov dword [ebp - 0x40], edx
push 0
push eax
push edi
call fcn.00405f4a
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], 0
jl case.0x40161a.66
push eax
push ebx
jmp 0x401770
push edi
call fcn.00405f4a
test eax, eax
je case.0x40161a.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40161a.66
push ebx
call fcn.00405f4a
test eax, eax
je 0x401a2a
lea ecx, [ebp - 0x240]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x401a2a
jmp 0x402d3e
push 2
pop esi
call fcn.00401457
lea ecx, [ebp - 0x240]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402d37
mov byte [ebx], 0
jmp 0x402b9a
push eax
push ebx
call fcn.00405f31
lea eax, [ebp - 0x214]
push eax
push edi
call fcn.00405fd3
jmp case.0x40161a.66
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.00401457
mov edi, eax
push edi
mov dword [ebp - 0x3c], edi
call fcn.00405be6
test eax, eax
jne 0x402d74
push 0xffffffffffffffed
pop esi
call fcn.00401457
push edi
call fcn.00405cdf
push 2
push 0x40000000
push edi
call fcn.00405d05
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402e2a
mov eax, dword [0x44804c]
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 0x402e21
push 0
call fcn.0040321c
push dword [ebp - 0x38]
push edi
call fcn.00403206
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0x40], esi
je 0x402dfe
push dword [ebp - 0x24]
push esi
push 0
push dword [ebp - 0x28]
call fcn.00403233
jmp 0x402df0
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405cbb
add esi, ebx
cmp byte [esi], 0
jne 0x402ddc
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x38]
push edi
push dword [ebp + 8]
call fcn.00405dab
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403233
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
push ebx
push str.created_uninstaller:__d____s_
call fcn.004062ae
add esp, 0xc
test ebx, ebx
push 0xfffffffffffffff3
pop esi
jge 0x402e55
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
jmp 0x4018d5
test ecx, ecx
je 0x402e9c
push edx
push str.settings_logging_to__d
call fcn.004062ae
mov eax, dword [ebp - 0x28]
push eax
push str.logging_set_to__d
mov dword [0x43f368], eax
call fcn.004062ae
add esp, 0x10
cmp dword [ebp - 0x28], 0
je 0x402e90
call fcn.00403d45
jmp case.0x40161a.66
push 1
call fcn.0040608f
jmp case.0x40161a.66
xor esi, esi
inc esi
call fcn.00401457
push eax
push 0x40867c
jmp 0x401995
xor ecx, ecx
call fcn.0040143a
mov edi, eax
cmp edi, dword [0x44800c]
mov dword [ebp - 0x40], edx
jae 0x401a50
mov eax, dword [ebp - 0x24]
mov esi, edi
imul esi, esi, 0x2018
add esi, dword [0x448008]
test eax, eax
jl 0x402ef1
mov ecx, dword [esi + eax*4]
jne 0x402eeb
add esi, 0x18
push esi
push ebx
jmp 0x402d46
push ecx
jmp 0x402cce
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x402f0b
xor ecx, ecx
inc ecx
call fcn.0040143a
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], eax
jmp 0x402f1e
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.0040655e
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], 0
je case.0x40161a.66
push edi
call fcn.0040117d
jmp case.0x40161a.66
xor ecx, ecx
call fcn.0040143a
cmp eax, 0x20
mov dword [ebp - 0x40], edx
jae 0x401a50
xor esi, esi
cmp dword [ebp - 0x20], esi
je 0x402f75
cmp dword [ebp - 0x24], esi
je 0x402f6a
push eax
call fcn.0040129d
push esi
push esi
call fcn.004011ef
jmp case.0x40161a.66
push esi
call fcn.004012e8
jmp 0x402ccd
cmp dword [ebp - 0x24], esi
je 0x402f8c
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x447ff0]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40161a.66
mov ecx, dword [0x447ff0]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.0040655e
jmp case.0x40161a.66
mov eax, dword [0x43a1d8]
xor esi, esi
push esi
and eax, ecx
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x2c], esi
je case.0x40161a.66
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x4480a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4