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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x426008]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [0x425fa0]
push 0x1c
push dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004069ee
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov dword [0x40c0a0], ecx
mov ecx, dword [ebp - 0x30]
shl esi, 0xa
mov edx, section..ndata
shl eax, 0xa
add esi, edx
add ecx, 0xfffffffe
cmp ecx, 0x42
lea edi, [eax + section..ndata]
mov dword [ebp + 8], esi
ja case.0x40215c.66
jmp dword [ecx*4 + 0x403c0e]
push dword [ebp - 0x2c]
push str.Jump:__d
call fcn.00406ce4
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x403c07
xor esi, esi
call fcn.004020c1
push eax
push str.Aborting:___s_
call fcn.00406ce4
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00405c1a
jmp 0x4033e2
inc dword [0x425774]
cmp dword [ebp - 8], ebx
je 0x4033e2
jmp 0x4033db
cmp dword [ebp - 0x2c], ebx
jge 0x4021c5
sub edx, eax
sub edx, 0x400
push edx
call fcn.00406b0c
jmp 0x4021c8
mov eax, dword [ebp - 0x2c]
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406ce4
pop ecx
pop ecx
push ebx
push esi
call fcn.00402008
jmp 0x403c07
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40220c
test al, 8
je 0x4021f6
mov eax, dword [section..data]
jmp 0x402202
mov ecx, dword [0x40a038]
mov dword [section..data], ecx
mov dword [0x40a038], eax
jmp case.0x40215c.66
xor esi, esi
call fcn.004020c1
push eax
push str.detailprint:__s
call fcn.00406ce4
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
jmp 0x40327f
xor ecx, ecx
call fcn.004020ab
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406ce4
cmp esi, 1
pop ecx
pop ecx
jg 0x402247
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40215c.66
push str.BringToFront
call fcn.00406ce4
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40215c.66
xor ecx, ecx
inc ecx
call fcn.004020ab
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x426020], eax
jmp case.0x40215c.66
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
xor eax, eax
lea ecx, [ecx*4 + 0x426020]
cmp dword [ecx], ebx
sete al
and dword [ecx], edx
mov eax, dword [ebp + eax*4 - 0x2c]
jmp 0x403c07
mov eax, dword [ebp - 0x28]
push dword [eax*4 + 0x426020]
jmp 0x40379c
mov eax, dword [0x425780]
cmp eax, ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4022c6
push dword [ebp - 0x28]
push eax
call esi
mov eax, dword [0x42576c]
cmp eax, ebx
je case.0x40215c.66
push dword [ebp - 0x2c]
push eax
call esi
jmp case.0x40215c.66
push 0xfffffffffffffff0
pop esi
call fcn.004020c1
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406ce4
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x40215c.66
push str.SetFileAttributes_failed.
mov dword [ebp - 4], 1
call fcn.00406ce4
jmp 0x40249b
push 0xfffffffffffffff0
pop esi
call fcn.004020c1
push dword [ebp - 0x28]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.00406ce4
add esp, 0xc
push edi
call fcn.0040699f
cmp byte [edi], bl
mov esi, eax
je 0x402385
cmp esi, ebx
je 0x402385
push 0x5c
push esi
call fcn.00406956
mov esi, eax
mov al, byte [esi]
push edi
mov byte [ebp + 0xb], al
mov byte [esi], bl
call fcn.00406d00
cmp eax, ebx
jne 0x402373
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jmp 0x402376
test byte [eax], 0x10
jne 0x40237b
inc dword [ebp - 4]
mov al, byte [ebp + 0xb]
mov byte [esi], al
inc esi
cmp al, bl
jne 0x40234c
cmp dword [ebp - 0x28], ebx
push edi
je 0x4023a9
push 0xffffffffffffffe6
call fcn.00405c1a
push edi
push 0x42c800
call sub.KERNEL32.dll_lstrcpyA
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp case.0x40215c.66
push 0xfffffffffffffff5
jmp 0x40327f
xor esi, esi
call fcn.004020c1
mov esi, eax
push esi
call fcn.00406d00
test eax, eax
je 0x4023d9
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406ce4
add esp, 0xc
jmp 0x402c73
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406ce4
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x403c07
push 0xfffffffffffffff0
pop esi
call fcn.004020c1
push 0xffffffffffffffdf
pop esi
mov dword [ebp + 8], eax
call fcn.004020c1
push dword [ebp + 8]
mov esi, 0x40b0a0
push esi
mov dword [ebp - 8], eax
call sub.KERNEL32.dll_lstrcpyA
push dword [ebp - 8]
call sub.KERNEL32.dll_lstrlenA
push dword [ebp + 8]
mov edi, eax
call sub.KERNEL32.dll_lstrlenA
add edi, eax
cmp edi, 0x3fd
jge 0x402446
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x408844
push esi
call edi
push dword [ebp - 8]
push esi
call edi
push esi
push str.Rename:__s
call fcn.00406ce4
pop ecx
pop ecx
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x40246b
push esi
push 0xffffffffffffffe3
jmp 0x40327f
cmp dword [ebp - 0x24], ebx
je 0x4024a1
push dword [ebp + 8]
call fcn.00406d00
test eax, eax
je 0x4024a1
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00406e5f
push esi
push 0xffffffffffffffe4
call fcn.00405c1a
push esi
push str.Rename_on_reboot:__s
call fcn.00406ce4
pop ecx
pop ecx
jmp case.0x40215c.66
push esi
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x402495
xor esi, esi
call fcn.004020c1
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x4024f4
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x4024fd
cmp byte [eax], bl
je 0x4024fd
push esi
call fcn.00406d00
cmp eax, ebx
je 0x4024f4
add eax, 0x2c
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4024fd
mov dword [ebp - 4], 1
mov byte [edi], bl
cmp dword [ebp - 0x24], ebx
jne case.0x40215c.66
push 0x400
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x40215c.66
or esi, 0xffffffff
call fcn.004020c1
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x40215c.66
mov dword [ebp - 4], 1
mov byte [edi], bl
jmp case.0x40215c.66
push 0xffffffffffffffef
pop esi
call fcn.004020c1
push eax
push edi
call fcn.00406a41
test eax, eax
jmp 0x4038ab
push 0x31
pop esi
call fcn.004020c1
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.00406ce4
add esp, 0x10
push esi
call fcn.00406972
test eax, eax
push esi
mov esi, 0x40a4a0
je 0x4025a9
push esi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4025c1
push 0x42c800
push esi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406d3e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call fcn.00406ba1
mov edi, 0x40aca0
cmp dword [ebp + 8], 3
jl 0x402603
push esi
call fcn.00406d00
xor ecx, ecx
cmp eax, ebx
je 0x4025ee
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], ebx
jne 0x40261a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406a12
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x4026fa
cmp dword [ebp + 8], ebx
jne 0x4026b8
push esi
push str.File:_error_creating___s_
call fcn.00406ce4
pop ecx
pop ecx
push section..ndata
push edi
call sub.KERNEL32.dll_lstrcpyA
push esi
push section..ndata
call sub.KERNEL32.dll_lstrcpyA
push dword [ebp - 0x18]
push 0x40a8a0
call fcn.00407017
push edi
push section..ndata
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40a8a0
call fcn.00406905
sub eax, 4
jne 0x4026a2
push str.File:_error__user_retry
call fcn.00406ce4
pop ecx
jmp 0x4025cc
dec eax
je 0x4026e4
push str.File:_error__user_abort
call fcn.00406ce4
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x402192
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405c1a
cmp dword [ebp + 8], 2
jne 0x4026ce
inc dword [0x426028]
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406ce4
add esp, 0xc
jmp case.0x40215c.66
push str.File:_error__user_cancel
call fcn.00406ce4
inc dword [0x426028]
pop ecx
jmp 0x403c05
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405c1a
inc dword [0x40a038]
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call fcn.0040403b
dec dword [0x40a038]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406ce4
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x40273a
cmp dword [ebp - 0x1c], 0xffffffff
je 0x402749
lea eax, [ebp - 0x20]
push eax
push ebx
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x40215c.66
cmp edi, 0xfffffffe
jne 0x402773
push 0xffffffffffffffe9
push esi
call fcn.00407017
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40277b
push 0xffffffffffffffee
push esi
call fcn.00407017
push esi
push 0x408724
call fcn.00406ce4
pop ecx
pop ecx
push 0x100010
push esi
call fcn.00406905
jmp 0x4033e2
push 0x10
pop esi
call fcn.004020c1
mov edi, eax
push edi
mov esi, 0x40a4a0
push esi
call sub.KERNEL32.dll_lstrcpyA
push esi
push str.Delete:___s_
call fcn.00406ce4
pop ecx
pop ecx
push esi
call fcn.00406d6b
lea eax, [ebp - 0x1a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je case.0x40215c.66
test byte [ebp - 0x1a8], 0x10
jne 0x402858
lea eax, [ebp - 0x17c]
push eax
push esi
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x1a8]
add esp, 0x10
test al, 1
je 0x402810
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x402832
push edi
push str.Delete:_DeleteFile___s__
call fcn.00406ce4
pop ecx
pop ecx
push edi
push 0xfffffffffffffff2
call fcn.00405c1a
jmp 0x402858
cmp dword [ebp - 0x28], ebx
je 0x402855
push edi
push str.Delete:_DeleteFile_on_Reboot___s__
call fcn.00406ce4
pop ecx
pop ecx
push edi
push 0xfffffffffffffff1
call fcn.00405c1a
push ebx
push edi
call fcn.00406e5f
jmp 0x402858
inc dword [ebp - 4]
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4027db
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40215c.66
push 0x31
pop esi
call fcn.004020c1
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.00406ce4
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00406905
cmp eax, ebx
je 0x403954
cmp eax, dword [ebp - 0x24]
je 0x402a19
cmp eax, dword [ebp - 0x1c]
jne case.0x40215c.66
mov eax, dword [ebp - 0x18]
jmp 0x403c07
push 0xfffffffffffffff0
pop esi
call fcn.004020c1
mov esi, eax
push esi
push str.RMDir:___s_
call fcn.00406ce4
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.0040726e
push esi
call fcn.00406d00
test eax, eax
je 0x4028f8
cmp dword [ebp - 0x28], 2
jne 0x403954
push esi
push 0xffffffffffffffe5
jmp 0x40327f
xor esi, esi
inc esi
call fcn.004020c1
push eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x40379b
push 2
pop ecx
call fcn.004020ab
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.004020ab
xor esi, esi
inc esi
mov dword [ebp - 8], eax
call fcn.004020c1
cmp dword [ebp - 0x24], ebx
mov esi, eax
mov byte [edi], bl
je 0x402943
cmp dword [ebp + 8], ebx
je case.0x40215c.66
push esi
call sub.KERNEL32.dll_lstrlenA
cmp dword [ebp - 8], ebx
jge 0x402957
add dword [ebp - 8], eax
js case.0x40215c.66
mov ecx, dword [ebp - 8]
cmp ecx, eax
jle 0x402960
mov ecx, eax
add esi, ecx
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
cmp dword [ebp + 8], ebx
je case.0x40215c.66
jge 0x402982
push edi
call sub.KERNEL32.dll_lstrlenA
add dword [ebp + 8], eax
jns 0x402982
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0x400
jge case.0x40215c.66
mov eax, dword [ebp + 8]
mov byte [eax + edi], bl
jmp case.0x40215c.66
push 0x20
pop esi
call fcn.004020c1
push 0x31
pop esi
mov edi, eax
call fcn.004020c1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402a19
jmp 0x4023ea
xor esi, esi
inc esi
call fcn.004020c1
cmp dword [ebp - 0x24], ebx
push 0x400
push edi
push eax
je 0x4029e2
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x4029e8
mov dword [ebp - 4], esi
mov byte [edi], bl
jmp 0x4029e8
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [edi + 0x3ff], bl
jmp case.0x40215c.66
xor ecx, ecx
call fcn.004020ab
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004020ab
cmp dword [ebp - 0x18], ebx
jne 0x402a15
cmp esi, eax
jl 0x402a19
jle 0x4023ea
jmp 0x402a27
cmp esi, eax
jae 0x402a21
mov eax, dword [ebp - 0x20]
jmp 0x403c07
jbe 0x4023ea
mov eax, dword [ebp - 0x1c]
jmp 0x403c07
xor ecx, ecx
inc ecx
call fcn.004020ab
push 2
pop ecx
mov esi, eax
call fcn.004020ab
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xa
ja case.default.0x402a4b
jmp dword [eax*4 + 0x403d1a]
add esi, ecx
jmp case.default.0x402a4b
sub esi, ecx
jmp case.default.0x402a4b
imul ecx, esi
mov esi, ecx
jmp case.default.0x402a4b
cmp ecx, ebx
je 0x402aa3
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp case.default.0x402a4b
or esi, ecx
jmp case.default.0x402a4b
and esi, ecx
jmp case.default.0x402a4b
xor esi, ecx
jmp case.default.0x402a4b
xor eax, eax
cmp esi, ebx
sete al
jmp 0x402a6a
cmp esi, ebx
jne 0x402a91
jmp 0x402a8d
cmp esi, ebx
je 0x402aaa
cmp ecx, ebx
je 0x402aaa
xor esi, esi
inc esi
jmp case.default.0x402a4b
cmp ecx, ebx
je 0x402aa3
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x402a4b
mov dword [ebp - 4], 1
xor esi, esi
push esi
jmp 0x40379c
xor esi, esi
inc esi
call fcn.004020c1
push 2
pop ecx
mov esi, eax
call fcn.004020ab
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x4026dc
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov esi, dword [0x40a460]
je 0x402b2f
dec eax
cmp esi, ebx
je 0x402aee
cmp eax, ebx
mov esi, dword [esi]
jne 0x402adf
cmp esi, ebx
jne 0x402b02
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.00406ce4
pop ecx
pop ecx
jmp 0x40332e
lea edi, [esi + 4]
push edi
mov esi, 0x40a4a0
push esi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40a460]
add eax, 4
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40a460]
push esi
add eax, 4
push eax
jmp 0x403928
cmp dword [ebp - 0x28], ebx
je 0x402b65
cmp esi, ebx
jne 0x402b48
push str.Pop:_stack_empty
call fcn.00406ce4
pop ecx
jmp 0x403954
lea eax, [esi + 4]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [esi]
mov dword [0x40a460], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40215c.66
push 0x404
call fcn.00406947
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00407017
mov eax, dword [0x40a460]
mov dword [esi], eax
mov dword [0x40a460], esi
jmp case.0x40215c.66
push 0x33
pop esi
call fcn.004020c1
push 0x44
pop esi
mov dword [ebp - 8], eax
call fcn.004020c1
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
jne 0x402bb6
push dword [ebp - 8]
call fcn.00406b0c
mov dword [ebp - 8], eax
test byte [ebp - 0x18], 2
jne 0x402bc7
push dword [ebp + 8]
call fcn.00406b0c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
jne 0x402c15
xor ecx, ecx
inc ecx
call fcn.004020ab
push 2
pop ecx
mov esi, eax
call fcn.004020ab
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x402c05
lea edx, [ebp - 0x38]
push edx
push ecx
push ebx
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 0x402c4c
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402c49
xor esi, esi
inc esi
call fcn.004020c1
push 0x12
pop esi
mov dword [ebp - 0xc], eax
call fcn.004020c1
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0xc]
push ecx
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x2c], ebx
jl case.0x40215c.66
push dword [ebp - 0x38]
jmp 0x40379c
xor ecx, ecx
call fcn.004020ab
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4023ea
mov eax, dword [ebp - 0x28]
jmp 0x403c07
push 2
pop ecx
call fcn.004020ab
xor ecx, ecx
push eax
inc ecx
call fcn.004020ab
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x40379b
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x425fe8]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.004020ab
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x40215c.66
push dword [ebp - 0x28]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x24]
push 0x10
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x24]
push eax
push ebx
xor esi, esi
call fcn.004020c1
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.0x40215c.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40215c.66
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.004020ab
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40a464], eax
call fcn.004020ab
push dword [ebp - 0x28]
mov dword [0x40a474], eax
mov al, byte [ebp - 0x1c]
mov cl, al
and cl, 1
mov byte [0x40a478], cl
mov cl, al
and cl, 2
and al, 4
push 0x40a480
mov byte [0x40a479], cl
mov byte [0x40a47a], al
mov byte [0x40a47b], 1
call fcn.00407017
push 0x40a464
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x40379b
cmp dword [ebp - 0x24], ebx
je 0x402da1
push str.HideWindow
call fcn.00406ce4
pop ecx
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x20], ebx
jne 0x402dc2
call fcn.004020ab
push eax
xor ecx, ecx
call fcn.004020ab
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40215c.66
call fcn.004020ab
push eax
xor ecx, ecx
call fcn.004020ab
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40215c.66
xor esi, esi
call fcn.004020c1
push 0x11
pop esi
mov edi, eax
call fcn.004020c1
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.004020c1
push dword [ebp + 8]
mov esi, 0x40b0a0
push edi
push str._s__s
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push esi
push 0xffffffffffffffec
call fcn.00405c1a
mov al, byte [ebx]
push dword [ebp - 0x20]
neg al
push 0x42c800
sbb eax, eax
and eax, ebx
push eax
mov al, byte [edi]
push dword [ebp + 8]
neg al
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x402e5c
push eax
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406ce4
add esp, 0x14
jmp 0x403954
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406ce4
add esp, 0x10
jmp case.0x40215c.66
xor esi, esi
call fcn.004020c1
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406ce4
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00405c1a
push 0x42c800
push esi
call fcn.0040688d
cmp eax, ebx
mov dword [ebp - 8], eax
push esi
je 0x402f37
push str.Exec:_success____s__
call fcn.00406ce4
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
je 0x402f29
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp - 8]
call edi
cmp eax, 0x102
jne 0x402efe
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x402edf
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0xf
push 0xf
lea eax, [ebp - 0x68]
push ebx
push eax
call esi
test eax, eax
jne 0x402ed5
push 0x64
push dword [ebp - 8]
call edi
cmp eax, 0x102
je 0x402edf
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x402f1d
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00406af3
jmp 0x402f29
cmp dword [ebp - 0x10], ebx
je 0x402f29
mov dword [ebp - 4], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40215c.66
mov dword [ebp - 4], 1
push str.Exec:_failed_createprocess____s__
jmp 0x402495
push 2
pop esi
call fcn.004020c1
push eax
call fcn.00406d00
mov esi, eax
cmp esi, ebx
je 0x402f6f
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00406af3
push dword [esi + 0x18]
jmp 0x40379c
mov eax, dword [ebp + 8]
mov byte [edi], bl
mov byte [eax], bl
jmp 0x403954
push 0xffffffffffffffee
lea eax, [ebp - 0x5c]
pop esi
mov dword [ebp - 0x38], eax
call fcn.004020c1
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0xc], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 8]
mov byte [edi], bl
mov byte [eax], bl
mov dword [ebp - 4], 1
je case.0x40215c.66
push esi
call fcn.00406947
cmp eax, ebx
mov dword [ebp - 0x10], eax
je case.0x40215c.66
push eax
push esi
push ebx
push dword [ebp - 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403004
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4085a4
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403004
mov eax, dword [ebp - 0x38]
push dword [eax + 8]
push edi
call fcn.00406af3
mov eax, dword [ebp - 0x38]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00406af3
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
jmp 0x402b5a
push 0x8001
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x426048], ebx
jl 0x4030e7
push 0xfffffffffffffff0
pop esi
call fcn.004020c1
xor esi, esi
inc esi
mov edi, eax
call fcn.004020c1
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
mov dword [ebp - 0x38], eax
jne 0x40305b
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x4030d1
push dword [ebp + 8]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4030a6
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x40308d
push edi
push dword [ebp - 0x24]
call fcn.00405c1a
call esi
test eax, eax
je 0x4030c1
mov dword [ebp - 4], 1
jmp 0x4030c1
push 0x40a460
push section..ndata
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x10
jmp 0x4030c1
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00405c1a
push edi
push dword [ebp + 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406ce4
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jne 0x4030fe
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4030fe
push edi
push 0xfffffffffffffff6
call fcn.00405c1a
push edi
push str.Error_registering_DLL:_Could_not_load__s
call fcn.00406ce4
pop ecx
jmp 0x4030fd
push 0x40a8a0
push 0xffffffffffffffe7
call fcn.00405c1a
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00406ce4
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp case.0x40215c.66
push 0xffffffffffffffe0
pop esi
call fcn.004020c1
push 0xffffffffffffffef
pop esi
mov dword [ebp - 0x38], eax
call fcn.004020c1
push 2
pop esi
mov edi, eax
call fcn.004020c1
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x48], eax
call fcn.004020c1
push 0x45
pop esi
mov dword [ebp - 0x10], eax
call fcn.004020c1
push edi
mov dword [ebp - 0x14], eax
call fcn.00406972
test eax, eax
jne 0x403152
push 0x11
pop esi
call fcn.004020c1
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sar ecx, 0x10
push ecx
movzx ecx, ah
push ecx
mov esi, 0xff
and eax, esi
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x48]
push edi
push dword [ebp - 0x38]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406ce4
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x408ce8
push 1
push ebx
push 0x408cf8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x403273
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408d08
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 8], eax
jl 0x403265
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x42c800
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x4031ed
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0x10]
cmp byte [eax], bl
je 0x403211
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edi, esi
push edi
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 8], ebx
jl 0x40325c
push 0x400
mov esi, 0x40b8a0
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [0x40b8a0], bx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov dword [ebp - 8], 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 - 8], ebx
jge 0x403289
push dword [ebp - 0x38]
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00405c1a
jmp case.0x40215c.66
push dword [ebp - 0x38]
push 0xfffffffffffffff4
jmp 0x40327f
xor esi, esi
call fcn.004020c1
push 0x11
mov edi, eax
pop esi
mov dword [ebp + 8], edi
call fcn.004020c1
mov esi, eax
push esi
push edi
push str.CopyFiles___s_____s_
call fcn.00406ce4
mov eax, dword [ebp - 8]
add esp, 0xc
push edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 2
call sub.KERNEL32.dll_lstrlenA
push esi
mov byte [eax + edi + 1], bl
call sub.KERNEL32.dll_lstrlenA
push 0xfffffffffffffff8
mov edi, 0x40aca0
push edi
mov byte [eax + esi + 1], bl
call fcn.00407017
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov ax, word [ebp - 0x24]
push edi
push ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x4e], edi
mov word [ebp - 0x58], ax
call fcn.00405c1a
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x40215c.66
push ebx
push 0xfffffffffffffff9
call fcn.00405c1a
jmp 0x403954
cmp dword [ebp - 0x2c], 0xbadf00d
je 0x403341
push 0x100010
push 0xffffffffffffffe8
push ebx
call fcn.00407017
push eax
jmp 0x40278e
inc dword [0x426028]
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4033c8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
push edi
call esi
push str.LookupPrivilegeValueA
push edi
mov dword [ebp + 8], eax
call esi
push str.AdjustTokenPrivileges
push edi
mov dword [ebp - 0xc], eax
call esi
cmp dword [ebp + 8], ebx
mov esi, eax
je 0x4033c8
cmp dword [ebp - 0xc], ebx
je 0x4033c8
cmp esi, ebx
je 0x4033c8
lea eax, [ebp - 0x14]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp + 8]
test eax, eax
je 0x4033c8
lea eax, [ebp - 0x40]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [ebp - 0xc]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], 2
call esi
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4033ec
inc dword [0x425774]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 0x7fffffff
jmp 0x403c07
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40215c.66
push str._RM_
mov esi, 0x40a8a0
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], ebx
call sub.KERNEL32.dll_lstrcpyA
push esi
mov edi, 0x40aca0
push edi
call sub.KERNEL32.dll_lstrcpyA
cmp dword [ebp - 0x2c], ebx
je 0x403429
xor esi, esi
call fcn.004020c1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x28], ebx
je 0x403439
push 0x11
pop esi
call fcn.004020c1
mov dword [ebp + 8], eax
cmp dword [ebp - 0x1c], ebx
je 0x403448
push 0x22
pop esi
call fcn.004020c1
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.004020c1
mov esi, eax
push esi
push edi
push 0x40a8a0
push 0x40a4a0
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406ce4
add esp, 0x14
push esi
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40255c
xor esi, esi
inc esi
call fcn.004020c1
push 0x12
pop esi
mov dword [ebp - 0x14], eax
call fcn.004020c1
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.004020c1
push eax
push 0x3ff
push edi
push 0x408428
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [edi], 0x7e4e21
jmp 0x402539
mov edi, dword [ebp - 0x2c]
push 0x31
pop esi
call fcn.004020c1
cmp dword [ebp - 0x20], ebx
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
jne 0x403528
lea eax, [ebp + 8]
push eax
push 2
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.0x40215c.66
push 2
pop esi
call fcn.004020c1
mov esi, eax
push esi
push dword [ebp - 0x14]
push edi
push str.DeleteRegValue:__d_s_s
call fcn.00406ce4
add esp, 0x10
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40375c
mov dword [ebp - 4], ebx
jmp 0x40375c
push esi
push edi
push str.DeleteRegKey:__d_s
call fcn.00406ce4
mov eax, dword [ebp - 0x20]
add esp, 0xc
and eax, 2
push eax
push esi
push edi
call fcn.00401f81
test eax, eax
jne case.0x40215c.66
mov dword [ebp - 4], ebx
jmp case.0x40215c.66
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
push 0x12
pop esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
call fcn.004020c1
push 0x31
pop esi
mov dword [ebp + 8], eax
call fcn.004020c1
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x403649
xor esi, esi
cmp dword [ebp - 8], 1
mov edi, 0x40aca0
jne 0x4035cd
push 0x23
pop esi
call fcn.004020c1
push edi
call sub.KERNEL32.dll_lstrlenA
push edi
push dword [ebp + 8]
mov esi, eax
push dword [ebp - 0x38]
inc esi
push dword [ebp - 0x10]
push str.WriteRegStr:_set__d_s_s_to__s
call fcn.00406ce4
add esp, 0x14
cmp dword [ebp - 8], 4
jne 0x4035fa
push 3
pop ecx
call fcn.004020ab
push 4
pop esi
push eax
push dword [ebp + 8]
mov dword [0x40aca0], eax
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push str.WriteRegDWORD:_set__d_s_s_to__d
call fcn.00406ce4
add esp, 0x14
cmp dword [ebp - 8], 3
jne 0x403628
push 0x400
push edi
push ebx
push dword [ebp - 0x20]
call fcn.0040403b
mov esi, eax
push esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push str.WriteRegBin:_set__d_s_s_with__d_bytes
call fcn.00406ce4
add esp, 0x14
push esi
push edi
push dword [ebp - 0x14]
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x403641
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
jmp 0x40375f
push dword [ebp - 0x38]
push edi
push str.WriteReg:_error_creating_key__d_s
jmp 0x4026d7
mov eax, dword [ebp - 0x28]
push 2
pop esi
mov dword [ebp - 0x14], eax
call fcn.004020c1
push 0x13
pop esi
mov dword [ebp + 8], eax
call fcn.004020c1
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push dword [ebp + 8]
mov byte [edi], bl
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403954
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp + 8]
push eax
push ebx
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4036e9
cmp dword [ebp + 8], 4
je 0x4036d0
cmp dword [ebp + 8], ecx
je 0x4036c5
cmp dword [ebp + 8], 2
jne 0x4036e9
cmp dword [ebp - 0x1c], ebx
je 0x403641
jmp 0x4036eb
cmp dword [ebp - 0x1c], ebx
jne 0x4036dc
mov dword [ebp - 4], 1
push dword [edi]
push edi
call fcn.00406af3
jmp 0x403641
mov byte [edi], bl
mov dword [ebp - 4], ecx
jmp 0x403641
push 3
pop ecx
call fcn.004020ab
push 0x12
pop esi
mov dword [ebp - 0xc], eax
call fcn.004020c1
lea ecx, [ebp + 8]
push ecx
push 0x20019
push ebx
push eax
push dword [ebp - 0x28]
mov byte [edi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403954
cmp dword [ebp - 0x1c], ebx
mov eax, 0x3ff
mov dword [ebp - 0x14], eax
je 0x403741
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403756
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov byte [edi + 0x3ff], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40215c.66
cmp byte [edi], bl
je case.0x40215c.66
push edi
call fcn.00406b0c
push eax
jmp 0x402f2c
push 0xffffffffffffffed
pop esi
call fcn.004020c1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00406a12
cmp eax, 0xffffffff
je 0x403952
push eax
push edi
jmp 0x403b26
cmp dword [ebp - 0x24], ebx
je 0x4037b9
xor ecx, ecx
inc ecx
call fcn.004020ab
mov byte [0x40a8a0], al
xor eax, eax
inc eax
jmp 0x4037c7
push 0x11
pop esi
call fcn.004020c1
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], bl
je 0x403954
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40a8a0
push edi
call fcn.00406b0c
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40255c
push 2
pop ecx
mov dword [ebp - 0x48], ebx
call fcn.004020ab
cmp eax, 1
mov dword [ebp - 0x38], eax
jl case.0x40215c.66
mov eax, 0x3ff
cmp dword [ebp - 0x38], eax
jle 0x403810
mov dword [ebp - 0x38], eax
cmp byte [edi], bl
je 0x4038a3
push edi
mov byte [ebp + 0xb], bl
call fcn.00406b0c
cmp dword [ebp - 0x38], ebx
mov dword [ebp - 0xc], eax
jle 0x4038a3
mov edi, dword [ebp - 0x48]
push ebx
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x31]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4038a6
cmp dword [ebp - 0x14], 1
jne 0x4038a6
cmp dword [ebp - 0x20], ebx
jne 0x403870
mov al, byte [ebp - 0x31]
cmp al, bl
je 0x4038a6
cmp byte [ebp + 0xb], 0xd
je 0x403880
cmp byte [ebp + 0xb], 0xa
je 0x403880
mov byte [edi + esi], al
inc edi
cmp edi, dword [ebp - 0x38]
mov byte [ebp + 0xb], al
jl 0x40382c
jmp 0x4038a6
movzx eax, byte [ebp - 0x31]
push eax
push esi
call fcn.00406af3
jmp 0x403c05
cmp byte [ebp + 0xb], al
je 0x403893
cmp al, 0xd
je 0x40388d
cmp al, 0xa
jne 0x403893
mov byte [edi + esi], al
inc edi
jmp 0x4038a6
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4038a6
mov edi, dword [ebp - 0x48]
mov byte [edi + esi], bl
cmp edi, ebx
jne case.0x40215c.66
jmp 0x403954
cmp byte [edi], bl
je case.0x40215c.66
push dword [ebp - 0x20]
push ebx
push 2
pop ecx
call fcn.004020ab
push eax
push edi
call fcn.00406b0c
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x40215c.66
push eax
push esi
jmp 0x403b26
cmp byte [edi], bl
je case.0x40215c.66
push edi
call fcn.00406b0c
push eax
jmp 0x402873
cmp byte [esi], bl
je 0x40253f
lea eax, [ebp - 0x1a8]
push eax
push esi
call fcn.00406b0c
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40253f
lea eax, [ebp - 0x17c]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp case.0x40215c.66
push 2
pop esi
call fcn.004020c1
lea ecx, [ebp - 0x1a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403960
mov eax, dword [ebp + 8]
mov byte [eax], bl
mov byte [edi], bl
mov dword [ebp - 4], 1
jmp case.0x40215c.66
push eax
push dword [ebp + 8]
call fcn.00406af3
jmp 0x403920
xor esi, esi
mov dword [ebp - 0x38], 0xfffffd66
call fcn.004020c1
mov esi, eax
push esi
call fcn.00406972
test eax, eax
mov edi, 0x40a8a0
push esi
je 0x403993
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4039ab
push 0x42c400
push edi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406d3e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.00406ba1
push 2
push 0x40000000
push edi
call fcn.00406a12
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x403a71
mov eax, dword [0x426004]
push eax
mov dword [ebp - 0xc], eax
call fcn.00406947
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x403a68
push ebx
call fcn.00403e39
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00403e07
push dword [ebp - 0x24]
call fcn.00406947
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x403a3c
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.0040403b
jmp 0x403a2f
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 8]
add esi, 8
push esi
add eax, ecx
push eax
call fcn.004069ee
add esi, dword [ebp - 0x3c]
cmp byte [esi], bl
jne 0x403a14
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
call fcn.0040403b
mov dword [ebp - 0x38], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [ebp - 0x38]
push str.created_uninstaller:__d____s_
call fcn.00406ce4
add esp, 0xc
cmp dword [ebp - 0x38], ebx
push 0xfffffffffffffff3
pop esi
jge 0x403a9b
push 0xffffffffffffffef
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push edi
push esi
jmp 0x40327f
cmp dword [ebp - 0x2c], ebx
je 0x403add
push dword [ebp - 0x28]
push str.settings_logging_to__d
call fcn.00406ce4
mov eax, dword [ebp - 0x28]
push eax
push str.logging_set_to__d
mov dword [0x423b20], eax
call fcn.00406ce4
add esp, 0x10
cmp dword [ebp - 0x28], ebx
je case.0x40215c.66
call fcn.00404921
jmp case.0x40215c.66
xor esi, esi
inc esi
call fcn.004020c1
push eax
push 0x408724
jmp 0x402495
xor ecx, ecx
call fcn.004020ab
mov edi, eax
cmp edi, dword [0x425fcc]
jae 0x403954
mov ecx, dword [0x425fc8]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
mov dword [ebp + 8], eax
jl 0x403b30
mov eax, dword [eax + ecx*4]
push eax
push esi
je 0x403bd0
call fcn.00406af3
jmp case.0x40215c.66
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
or eax, 0xffffffff
sub eax, ecx
mov dword [ebp - 0x24], eax
je 0x403b4d
xor ecx, ecx
inc ecx
call fcn.004020ab
mov dword [ebp - 0x28], eax
jmp 0x403b5b
push dword [ebp - 0x28]
push edi
push 0x417
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*4], edx
cmp dword [ebp - 0x24], ebx
je case.0x40215c.66
push ebx
push edi
push 0x418
push dword [ebp - 0x10]
call esi
jmp case.0x40215c.66
xor ecx, ecx
call fcn.004020ab
cmp dword [ebp - 0x20], ebx
je 0x403ba2
inc dword [0x426038]
push ebx
push ebx
push 0x432
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x40215c.66
cmp eax, 0x20
jae 0x403954
cmp dword [ebp - 0x24], ebx
je 0x403bc2
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x425fa8]
mov dword [edx + eax*4 + 0x88], ecx
jmp case.0x40215c.66
mov ecx, dword [0x425fa8]
push dword [ecx + eax*4 + 0x88]
push esi
call fcn.00407017
jmp case.0x40215c.66
mov eax, dword [0x422990]
and eax, dword [ebp - 0x2c]
push ebx
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x2c], ebx
je case.0x40215c.66
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x426028], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4