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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x47eaf4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebp - 4], 0
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edi, edx
mov ebx, ecx
imul edi, edi, 0x4008
imul ebx, ebx, 0x4008
mov dword [ebp - 8], eax
mov eax, section..ndata
add edi, eax
add ebx, eax
lea eax, [ebp - 0x30]
mov dword [0x40c124], eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffffe
cmp eax, 0x47
ja case.0x4015f5.70
jmp dword [eax*4 + 0x403134]
push edx
push str.Jump:__d
call fcn.00406dcd
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
jmp 0x40312a
xor esi, esi
call fcn.0040145c
push eax
push str.Aborting:___s_
call fcn.00406dcd
pop ecx
pop ecx
push esi
push dword [ebp - 0x30]
call fcn.004050a1
mov eax, 0x7fffffff
jmp 0x40312a
inc dword [0x476ab4]
cmp dword [ebp - 8], 0
je 0x40162e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40162e
push edx
call fcn.0040137c
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406dcd
pop ecx
pop ecx
push 0
push esi
call fcn.0040139b
jmp 0x40312a
xor esi, esi
call fcn.0040145c
push eax
push str.detailprint:__s
call fcn.00406dcd
pop ecx
pop ecx
push esi
push dword [ebp - 0x30]
call fcn.004050a1
jmp case.0x4015f5.70
xor ecx, ecx
call fcn.00401446
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406dcd
cmp esi, 1
pop ecx
pop ecx
jg 0x4016b1
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015f5.70
push str.BringToFront
call fcn.00406dcd
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015f5.70
mov eax, edx
shl eax, 2
cmp dword [ebp - 0x28], 0
jne 0x401704
mov ecx, dword [eax + 0x47eba0]
mov dword [eax + 0x47eb60], ecx
xor ecx, ecx
inc ecx
call fcn.00401446
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x47eba0], eax
jmp case.0x4015f5.70
mov ecx, dword [eax + 0x47eb60]
mov dword [eax + 0x47eba0], ecx
jmp case.0x4015f5.70
mov edx, dword [ebp - 0x28]
lea edx, [edx*4 + 0x47eba0]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x24]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x30]
jmp 0x40312a
push dword [ecx*4 + 0x47eba0]
jmp 0x403119
mov eax, dword [0x476ac0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401758
push ecx
push eax
call esi
mov edx, dword [ebp - 0x30]
mov eax, dword [0x476aac]
test eax, eax
je case.0x4015f5.70
push edx
push eax
call esi
jmp case.0x4015f5.70
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
push dword [ebp - 0x2c]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406dcd
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015f5.70
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406dcd
pop ecx
jmp case.0x4015f5.70
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
push dword [ebp - 0x2c]
mov ebx, eax
push ebx
push str.CreateDirectory:___s____d_
call fcn.00406dcd
add esp, 0xc
push ebx
call fcn.00405f28
mov esi, eax
test esi, esi
je 0x401850
push 0x5c
push esi
call fcn.00405ed4
mov esi, eax
movzx edi, word [esi]
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401839
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40181e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406dcd
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401846
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401846
push ebx
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406dcd
inc dword [ebp - 4]
jmp 0x401844
push ebx
push str.CreateDirectory:___s__created
call fcn.00406dcd
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x4017d9
cmp dword [ebp - 0x2c], 0
je 0x401874
push 0xffffffffffffffe6
call fcn.00401435
push ebx
push 0x4d70b0
call fcn.0040624d
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015f5.70
push 0xfffffffffffffff5
call fcn.00401435
jmp case.0x4015f5.70
xor esi, esi
call fcn.0040145c
mov esi, eax
push esi
call fcn.00406410
test eax, eax
je 0x4018ac
push dword [ebp - 0x2c]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406dcd
add esp, 0xc
mov eax, dword [ebp - 0x2c]
jmp 0x40312a
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406dcd
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x40312a
push 0xffffffffffffffd0
pop esi
call fcn.0040145c
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.0040145c
push 0x13
pop esi
mov ebx, eax
call fcn.0040145c
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406dcd
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401903
push 0xffffffffffffffe3
jmp 0x401876
cmp dword [ebp - 0x28], 0
je 0x401929
push edi
call fcn.00406410
test eax, eax
je 0x401929
push ebx
push edi
call fcn.00406fca
push 0xffffffffffffffe4
call fcn.00401435
push esi
push str.Rename_on_reboot:__s
jmp 0x401936
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.00406dcd
pop ecx
jmp 0x4017ac
xor esi, esi
call fcn.0040145c
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x2004
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401984
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401990
cmp word [eax], 0
je 0x401990
push esi
call fcn.00406410
test eax, eax
je 0x401984
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040624d
jmp 0x401990
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
jne case.0x4015f5.70
push 0x2004
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015f5.70
or esi, 0xffffffff
call fcn.0040145c
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015f5.70
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
jmp case.0x4015f5.70
push 0xffffffffffffffef
pop esi
call fcn.0040145c
push eax
push edi
call fcn.004060c2
test eax, eax
jne case.0x4015f5.70
mov dword [ebp - 4], 1
jmp case.0x4015f5.70
push 0x31
pop esi
call fcn.0040145c
mov esi, eax
mov eax, dword [ebp - 0x30]
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.00406dcd
add esp, 0x10
push esi
call fcn.00405ef3
push esi
mov esi, 0x40c128
test eax, eax
je 0x401a4b
push esi
call fcn.0040624d
jmp 0x401a62
push 0x4d70b0
push esi
call fcn.0040624d
push eax
call fcn.004068d4
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040627c
mov edi, 0x414138
mov ebx, 0x410130
cmp dword [ebp + 8], 3
jl 0x401aa9
push esi
call fcn.00406410
xor ecx, ecx
test eax, eax
je 0x401a94
lea ecx, [ebp - 0x24]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x401ab5
push esi
call fcn.004060a2
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.004069b8
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x401b8f
cmp dword [ebp + 8], 0
jne 0x401b4c
push esi
push str.File:_error_creating___s_
call fcn.00406dcd
pop ecx
pop ecx
push section..ndata
push edi
call fcn.0040624d
push esi
push section..ndata
call fcn.0040624d
push dword [ebp - 0x1c]
push ebx
call fcn.00406a63
push edi
push section..ndata
call fcn.0040624d
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push ebx
call fcn.00405e6e
sub eax, 4
jne 0x401b36
push str.File:_error__user_retry
call fcn.00406dcd
pop ecx
jmp 0x401a72
dec eax
je 0x401b79
push str.File:_error__user_abort
call fcn.00406dcd
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x401629
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.004050a1
cmp dword [ebp + 8], 2
jne 0x401b63
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406dcd
add esp, 0xc
jmp case.0x4015f5.70
push str.File:_error__user_cancel
call fcn.00406dcd
inc dword [0x47eba8]
pop ecx
jmp 0x403128
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.004050a1
inc dword [0x47ebd4]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call fcn.004033bb
dec dword [0x47ebd4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406dcd
add esp, 0xc
cmp dword [ebp - 0x24], 0xffffffff
jne 0x401bd1
cmp dword [ebp - 0x20], 0xffffffff
je 0x401be0
lea eax, [ebp - 0x24]
push eax
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015f5.70
cmp edi, 0xfffffffe
jne 0x401c09
push 0xffffffffffffffe9
push esi
call fcn.00406a63
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c11
push 0xffffffffffffffee
push esi
call fcn.00406a63
push esi
push 0x409a74
call fcn.00406dcd
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405e6e
jmp 0x40162e
xor esi, esi
call fcn.0040145c
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406dcd
pop ecx
pop ecx
push dword [ebp - 0x2c]
push esi
call fcn.00406ffd
jmp case.0x4015f5.70
push 0x31
pop esi
call fcn.0040145c
mov esi, eax
push esi
push dword [ebp - 0x30]
push str.MessageBox:__d___s_
call fcn.00406dcd
add esp, 0xc
push dword [ebp - 0x30]
push esi
call fcn.00405e6e
test eax, eax
je 0x4019f9
cmp eax, dword [ebp - 0x28]
jne 0x401c8b
mov eax, dword [ebp - 0x24]
jmp 0x40312a
cmp eax, dword [ebp - 0x20]
jne case.0x4015f5.70
mov eax, dword [ebp - 0x1c]
jmp 0x40312a
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c3d
xor esi, esi
inc esi
call fcn.0040145c
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x403118
push 2
pop ecx
call fcn.00401446
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401446
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040145c
mov esi, eax
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x28], eax
je 0x401cf3
cmp dword [ebp + 8], eax
je case.0x4015f5.70
push esi
call sub.KERNEL32.dll_lstrlenW
test ebx, ebx
jge 0x401d05
add ebx, eax
js case.0x4015f5.70
cmp ebx, eax
jle 0x401d0b
mov ebx, eax
lea eax, [esi + ebx*2]
push eax
push edi
call fcn.0040624d
mov esi, dword [ebp + 8]
test esi, esi
je case.0x4015f5.70
jge 0x401d33
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
jns 0x401d33
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2004
jge case.0x4015f5.70
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x4015f5.70
push 0x20
pop esi
call fcn.0040145c
push 0x31
pop esi
mov edi, eax
call fcn.0040145c
cmp dword [ebp - 0x20], 0
push eax
push edi
jne 0x401d77
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401c83
jmp 0x4018bd
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401d6a
xor esi, esi
inc esi
call fcn.0040145c
push 0x2004
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401dac
cmp dword [ebp - 0x28], 0
je 0x401db4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401db4
xor eax, eax
mov dword [ebp - 4], esi
mov word [edi], ax
xor eax, eax
mov word [edi + 0x4006], ax
jmp case.0x4015f5.70
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401446
cmp dword [ebp - 0x1c], 0
jne 0x401def
cmp esi, eax
jl 0x401c83
jle 0x4018bd
mov eax, dword [ebp - 0x20]
jmp 0x40312a
cmp esi, eax
jb 0x401c83
jbe 0x4018bd
jmp 0x401de7
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.00401446
push 2
pop ecx
mov esi, eax
call fcn.00401446
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xc
ja case.default.0x401e1d
jmp dword [eax*4 + 0x403254]
add esi, ecx
jmp case.default.0x401e1d
sub esi, ecx
jmp case.default.0x401e1d
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e1d
test ecx, ecx
je 0x401e3e
mov eax, esi
cdq
idiv ecx
jmp 0x401e58
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401e1d
or esi, ecx
jmp case.default.0x401e1d
and esi, ecx
jmp case.default.0x401e1d
xor esi, ecx
jmp case.default.0x401e1d
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e1d
test esi, esi
jne 0x401e64
test ecx, ecx
je 0x401e6c
mov esi, ebx
jmp case.default.0x401e1d
test esi, esi
jne 0x401e60
xor esi, esi
jmp case.default.0x401e1d
test ecx, ecx
je 0x401e3e
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e1d
shl esi, cl
jmp case.default.0x401e1d
sar esi, cl
push esi
jmp 0x403119
xor esi, esi
inc esi
call fcn.0040145c
push 2
pop ecx
mov esi, eax
call fcn.00401446
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401b71
mov eax, dword [ebp - 0x28]
mov esi, dword [0x40c120]
test eax, eax
je 0x401f15
dec eax
test esi, esi
je 0x401ec5
mov esi, dword [esi]
test eax, eax
jne 0x401eb6
test esi, esi
jne 0x401ee8
push dword [ebp - 0x28]
push str.Exch:_stack____d_elements
call fcn.00406dcd
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406a63
push eax
jmp 0x401c24
lea edi, [esi + 4]
push edi
mov esi, 0x40c128
push esi
call fcn.0040624d
mov eax, dword [0x40c120]
add eax, 4
push eax
push edi
call fcn.0040624d
mov eax, dword [0x40c120]
push esi
add eax, 4
push eax
jmp 0x402e88
test ecx, ecx
je 0x401f44
test esi, esi
jne 0x401f2d
push str.Pop:_stack_empty
call fcn.00406dcd
pop ecx
jmp 0x4019f9
lea eax, [esi + 4]
push eax
push edi
call fcn.0040624d
mov eax, dword [esi]
mov dword [0x40c120], eax
push esi
jmp 0x4023ad
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406a63
mov eax, dword [0x40c120]
mov dword [esi], eax
mov dword [0x40c120], esi
jmp case.0x4015f5.70
push 3
pop ecx
call fcn.00401446
push 4
pop ecx
mov dword [ebp - 0xc], eax
call fcn.00401446
test byte [ebp - 0x1c], 1
mov dword [ebp + 8], eax
je 0x401f98
push 0x33
pop esi
call fcn.0040145c
mov dword [ebp - 0xc], eax
test byte [ebp - 0x1c], 2
je 0x401fa9
push 0x44
pop esi
call fcn.0040145c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
jne 0x401ffa
xor ecx, ecx
inc ecx
call fcn.00401446
push 2
pop ecx
mov esi, eax
call fcn.00401446
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
test ecx, ecx
je 0x401fea
lea edx, [ebp - 8]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40202f
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40202c
xor esi, esi
inc esi
call fcn.0040145c
push 0x12
pop esi
mov ebx, eax
call fcn.0040145c
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [ebx]
neg eax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x30], 0
jl case.0x4015f5.70
push dword [ebp - 8]
jmp 0x403119
xor ecx, ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018bd
jmp 0x4018a4
push 2
pop ecx
call fcn.00401446
xor ecx, ecx
push eax
inc ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x403118
mov eax, dword [0x47eb28]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015f5.70
push ecx
push dword [ebp - 8]
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 - 0x28]
push 0x10
push eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x28]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.0040145c
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015f5.70
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015f5.70
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.00401446
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x420150], eax
call fcn.00401446
push dword [ebp - 0x2c]
mov dword [0x420160], eax
mov al, byte [ebp - 0x20]
mov cl, al
and cl, 1
mov byte [0x420164], cl
mov cl, al
and cl, 2
and al, 4
push 0x42016c
mov byte [0x420165], cl
mov byte [0x420166], al
mov byte [0x420167], 1
call fcn.00406a63
push 0x420150
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x403118
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401446
cmp dword [ebp - 0x28], 0
mov edi, eax
je 0x402193
push str.HideWindow
call fcn.00406dcd
pop ecx
cmp dword [ebp - 0x24], 0
push edi
push esi
jne 0x4021a6
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015f5.70
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015f5.70
xor esi, esi
call fcn.0040145c
push 0x31
pop esi
mov edi, eax
call fcn.0040145c
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.0040145c
push 0x15
pop esi
mov ebx, eax
call fcn.0040145c
push 0xffffffffffffffec
call fcn.00401435
movzx eax, word [ebx]
push dword [ebp - 0x24]
neg eax
sbb eax, eax
and eax, ebx
push 0x4d70b0
push eax
movzx eax, word [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x402223
push eax
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406dcd
add esp, 0x14
jmp 0x4019f9
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406dcd
add esp, 0x10
jmp case.0x4015f5.70
xor esi, esi
call fcn.0040145c
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406dcd
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.004050a1
push esi
call fcn.00405e0d
mov dword [ebp + 8], eax
push esi
test eax, eax
je 0x4022d1
push str.Exec:_success____s__
call fcn.00406dcd
cmp dword [ebp - 0x28], 0
pop ecx
pop ecx
je 0x4022c9
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp + 8]
call esi
mov edi, 0x102
jmp 0x40229a
push 0xf
call fcn.004064cc
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x40228c
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x2c], 0
jl 0x4022bc
push dword [ebp - 0x10]
push ebx
call fcn.00406194
jmp 0x4022c9
cmp dword [ebp - 0x10], 0
je 0x4022c9
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402b1f
push str.Exec:_failed_createprocess____s__
jmp 0x40192f
push 2
pop esi
call fcn.0040145c
push eax
call fcn.00406410
mov esi, eax
test esi, esi
je 0x402300
push dword [esi + 0x14]
push ebx
call fcn.00406194
push dword [esi + 0x18]
jmp 0x403119
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
jmp 0x4019f9
push 0xffffffffffffffee
pop esi
call fcn.0040145c
lea ecx, [ebp - 8]
push ecx
push eax
push 0xc
mov dword [ebp - 0x14], eax
call fcn.00406492
call eax
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
mov dword [ebp - 4], 1
test esi, esi
je case.0x4015f5.70
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 8], eax
test eax, eax
je case.0x4015f5.70
push 0xd
call fcn.00406492
push 0xe
mov dword [ebp - 0x18], eax
call fcn.00406492
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push esi
push 0
push dword [ebp - 0x14]
call dword [ebp - 0x18]
test eax, eax
je 0x4023aa
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x409828
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
je 0x4023aa
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.00406194
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push ebx
call fcn.00406194
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015f5.70
push 0x11
pop esi
call fcn.0040145c
push 0x2004
mov esi, eax
push edi
push esi
call fcn.00407570
add esp, 0xc
test eax, eax
jne 0x4023dc
mov dword [ebp - 4], 1
push edi
push esi
push str.GetTTFVersionString__s__returned__s
jmp 0x401b6c
push 0x11
pop esi
call fcn.0040145c
push 0x2004
mov esi, eax
push edi
push esi
call fcn.004075e2
add esp, 0xc
test eax, eax
jne 0x40240c
mov dword [ebp - 4], 1
push edi
push esi
push str.GetTTFFontName__s__returned__s
jmp 0x401b6c
cmp dword [0x47ebd8], 0
mov dword [ebp - 4], 1
jl 0x402509
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040145c
cmp dword [ebp - 0x20], 0
mov esi, eax
je 0x402454
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x40246a
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4024f7
push esi
push dword [ebp + 8]
call fcn.004064ff
mov edi, eax
test edi, edi
je 0x4024b8
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x40249a
push dword [ebp - 0x28]
call fcn.00401435
call edi
test eax, eax
je 0x4024cf
mov dword [ebp - 4], 1
jmp 0x4024cf
push section..data
push 0x40c120
push section..ndata
push 0x2004
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x4024cf
push esi
push 0xfffffffffffffff7
call fcn.004050a1
push ebx
push esi
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406dcd
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne case.0x4015f5.70
push dword [ebp + 8]
call fcn.00403dae
test eax, eax
je case.0x4015f5.70
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015f5.70
push 0xfffffffffffffff6
call fcn.00401435
push ebx
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401936
push 0xffffffffffffffe7
call fcn.00401435
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x4017a7
push 0xfffffffffffffff0
pop esi
call fcn.0040145c
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 8], eax
call fcn.0040145c
push 2
pop esi
mov edi, eax
call fcn.0040145c
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x10], eax
call fcn.0040145c
push 0x45
pop esi
mov ebx, eax
call fcn.0040145c
push edi
mov dword [ebp - 0x14], eax
call fcn.00405ef3
test eax, eax
jne 0x402561
push 0x21
pop esi
call fcn.0040145c
mov eax, dword [ebp - 0x20]
mov ecx, eax
sar ecx, 0x10
push ecx
mov ecx, eax
sar ecx, 8
mov esi, 0xff
and ecx, esi
push ecx
and eax, esi
push eax
push ebx
push dword [ebp - 0x10]
push edi
push dword [ebp - 8]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406dcd
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x40ad28
push 1
push 0
push 0x40ad48
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402669
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x40ad38
push eax
call dword [ecx]
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x40265a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4d70b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x4025ff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
cmp word [ebx], 0
je 0x402622
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and edx, esi
push edx
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0xc], 0
jl 0x402651
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 1
push dword [ebp - 8]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
jge 0x402677
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x401876
push 0xfffffffffffffff4
jmp 0x401876
xor esi, esi
call fcn.0040145c
push 0x11
pop esi
mov edi, eax
call fcn.0040145c
push 0x23
pop esi
mov ebx, eax
call fcn.0040145c
push ebx
push edi
push str.CopyFiles___s_____s_
mov esi, eax
call fcn.00406dcd
add esp, 0xc
push edi
call fcn.00406410
test eax, eax
jne 0x4026c2
push 0
push 0xfffffffffffffff9
call fcn.004050a1
jmp 0x4019f9
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push ebx
mov word [edi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ax, word [ebp - 0x28]
push esi
push ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x3e], esi
mov word [ebp - 0x48], ax
call fcn.004050a1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015f5.70
jmp 0x4026b4
cmp edx, 0xbadf00d
jne 0x401ed4
inc dword [0x47ebb4]
jmp case.0x4015f5.70
xor esi, esi
push str._RM_
mov ebx, 0x410130
push ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], esi
call fcn.0040624d
push ebx
mov edi, 0x414138
push edi
call fcn.0040624d
cmp dword [ebp - 0x30], esi
je 0x402760
call fcn.0040145c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x2c], 0
je 0x402771
push 0x11
pop esi
call fcn.0040145c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
je 0x402782
push 0x22
pop esi
call fcn.0040145c
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.0040145c
mov esi, eax
push esi
push edi
push ebx
push 0x40c128
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406dcd
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4019f1
mov eax, dword [0x40957c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x409580]
xor esi, esi
inc esi
mov dword [ebp - 0x40], eax
call fcn.0040145c
push 0x12
pop esi
mov ebx, eax
call fcn.0040145c
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.0040145c
push eax
push 0x2003
push edi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4019c9
push ecx
call fcn.0040632d
cmp dword [ebp - 0x20], 0
pop ecx
mov dword [ebp + 8], eax
jne 0x40285c
push 2
call fcn.0040154d
mov edi, eax
test edi, edi
je 0x4019f9
push 0x33
pop esi
call fcn.0040145c
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x414138
push dword [ebp + 8]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406dcd
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402898
push 0x22
pop esi
call fcn.0040145c
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406dcd
mov eax, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
jne 0x402888
mov eax, dword [0x47eba4]
add eax, 0x80000001
mov ecx, dword [ebp - 0x20]
and ecx, 2
push ecx
push esi
push eax
call fcn.00401497
mov ebx, eax
test ebx, ebx
je case.0x4015f5.70
jmp 0x4019f9
test edx, edx
je 0x4028ad
mov edi, edx
jmp 0x4028b9
mov edi, dword [0x47eba4]
add edi, 0x80000001
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 2
pop esi
mov dword [ebp - 0x18], eax
call fcn.0040145c
push 0x11
pop esi
mov dword [ebp - 8], eax
call fcn.0040145c
push edi
mov dword [ebp + 8], eax
call fcn.0040632d
pop ecx
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [0x47ebd0]
push eax
or ecx, 2
push ecx
push eax
push eax
push eax
push dword [ebp + 8]
xor ebx, ebx
inc ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402a13
xor esi, esi
mov edi, 0x414138
cmp dword [ebp - 0x10], ebx
jne 0x40295e
push 0x23
pop esi
call fcn.0040145c
push edi
call sub.KERNEL32.dll_lstrlenW
push edi
push dword [ebp - 8]
lea esi, [eax + eax + 2]
push dword [ebp + 8]
push dword [ebp - 0xc]
cmp dword [ebp - 0x18], ebx
jne 0x402951
push str.WriteRegStr:___s_s____s___s_
call fcn.00406dcd
add esp, 0x14
jmp 0x4029d3
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406dcd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jne 0x40298b
push 3
pop ecx
call fcn.00401446
push 4
pop esi
push eax
push dword [ebp - 8]
mov dword [0x414138], eax
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406dcd
add esp, 0x14
cmp dword [ebp - 0x10], 3
jne 0x4029d3
push 0xc018
push edi
push 0
push dword [ebp - 0x24]
call fcn.004033bb
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x158]
push 0x100
push eax
call fcn.00406391
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406dcd
add esp, 0x24
push esi
push edi
push dword [ebp - 0x18]
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4029ef
and dword [ebp - 4], eax
jmp 0x402a05
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406dcd
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015f5.70
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401b6c
push 0x20019
call fcn.0040154d
push 0x33
pop esi
mov ebx, eax
call fcn.0040145c
xor ecx, ecx
mov word [edi], cx
test ebx, ebx
je 0x4019f9
lea ecx, [ebp - 0x14]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 0x14], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402a9c
cmp dword [ebp + 8], 4
je 0x402a87
cmp dword [ebp + 8], ecx
je 0x402a76
cmp dword [ebp + 8], 2
jne 0x402a9c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x402aa4
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00406194
jmp 0x402aa4
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], ecx
push ebx
jmp 0x402a08
push 0x20019
call fcn.0040154d
push 3
pop ecx
mov esi, eax
call fcn.00401446
xor ecx, ecx
xor edx, edx
mov word [edi], cx
cmp esi, edx
je 0x4019f9
mov ecx, 0x2003
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x20], edx
je 0x402ae6
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402aff
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4019f9
xor eax, eax
mov word [edi + 0x4006], ax
push esi
jmp 0x402a08
cmp word [edi], 0
je case.0x4015f5.70
push edi
call fcn.004061ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015f5.70
push 0xffffffffffffffed
pop esi
call fcn.0040145c
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.004069b8
cmp eax, 0xffffffff
jne 0x403118
xor eax, eax
mov word [edi], ax
jmp 0x4019f9
mov ebx, 0x2004
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x28], 0
mov esi, eax
mov dword [ebp + 8], esi
je 0x402b79
xor ecx, ecx
inc ecx
call fcn.00401446
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x402ba1
push 0x11
pop esi
call fcn.0040145c
xor eax, eax
push eax
push eax
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x410130
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [edi], 0
je 0x402bc6
push 0
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.004061ad
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4023aa
mov dword [ebp - 4], 1
jmp 0x4023aa
push 2
pop ecx
xor esi, esi
call fcn.00401446
cmp eax, 1
mov dword [ebp - 0x10], eax
jl case.0x4015f5.70
mov ecx, 0x2003
cmp eax, ecx
jle 0x402bf4
mov dword [ebp - 0x10], ecx
cmp word [edi], si
je 0x402cb0
push edi
mov byte [ebp - 0x35], 0
call fcn.004061ad
cmp dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
jle 0x402cb0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402cb0
cmp dword [ebp - 0x18], 1
jne 0x402cb0
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x402c76
push 2
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x35]
cmp al, 0xd
je 0x402c86
cmp al, 0xa
je 0x402c86
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
mov byte [ebp - 0x35], al
test al, al
je 0x402cb0
cmp esi, dword [ebp - 0x10]
jl 0x402c13
jmp 0x402cb0
movzx eax, byte [ebp + 0xb]
push eax
push ebx
call fcn.00406194
jmp 0x403128
cmp al, byte [ebp + 0xb]
je 0x402ca2
cmp byte [ebp + 0xb], 0xd
je 0x402c97
cmp byte [ebp + 0xb], 0xa
jne 0x402ca2
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
inc esi
jmp 0x402cb0
push 1
push edi
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov word [ebx + esi*2], ax
test esi, esi
jmp 0x4019f3
cmp dword [ebp - 0x28], 0
je 0x402cd6
xor ecx, ecx
inc ecx
call fcn.00401446
mov word [0x410130], ax
xor eax, eax
inc eax
jmp 0x402ce4
push 0x11
pop esi
call fcn.0040145c
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], 0
je 0x4019f9
push 0
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x410130
push edi
call fcn.004061ad
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019f1
push 2
pop ecx
xor esi, esi
call fcn.00401446
cmp eax, 1
mov dword [ebp - 0xc], eax
jl case.0x4015f5.70
mov ecx, 0x2003
cmp eax, ecx
jle 0x402d30
mov dword [ebp - 0xc], ecx
cmp word [edi], si
je 0x402cb0
and dword [ebp + 8], esi
push edi
call fcn.004061ad
cmp dword [ebp - 0xc], esi
mov dword [ebp - 0x14], eax
jle 0x402cb0
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402cb0
cmp dword [ebp - 0x18], 2
jne 0x402cb0
cmp dword [ebp - 0x24], 0
jne 0x402da9
cmp di, 0xd
je 0x402db2
cmp di, 0xa
je 0x402db2
mov ax, word [ebp + 8]
mov word [ebx + esi*2], ax
inc esi
movzx edi, ax
test ax, ax
je 0x402cb0
cmp esi, dword [ebp - 0xc]
jl 0x402d51
jmp 0x402cb0
movzx eax, word [ebp + 8]
jmp 0x402c7a
mov ax, word [ebp + 8]
cmp di, ax
je 0x402dcf
cmp ax, 0xd
je 0x402c9b
cmp ax, 0xa
je 0x402c9b
push 1
push 0
push 0xfffffffffffffffe
jmp 0x402ca7
cmp word [edi], 0
je case.0x4015f5.70
push dword [ebp - 0x24]
push 0
push 2
pop ecx
call fcn.00401446
push eax
push edi
call fcn.004061ad
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], 0
jl case.0x4015f5.70
push eax
push ebx
jmp 0x40311a
cmp word [edi], 0
je case.0x4015f5.70
push edi
call fcn.004061ad
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015f5.70
cmp word [ebx], 0
je 0x4019d1
lea eax, [ebp - 0x3a8]
push eax
push ebx
call fcn.004061ad
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4019d1
jmp 0x402e80
push 2
pop esi
call fcn.0040145c
lea ecx, [ebp - 0x3a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e79
xor eax, eax
mov word [ebx], ax
jmp 0x402b47
push eax
push ebx
call fcn.00406194
lea eax, [ebp - 0x37c]
push eax
push edi
call fcn.0040624d
jmp case.0x4015f5.70
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.0040145c
mov edi, eax
push edi
mov dword [ebp - 0x18], edi
call fcn.00405ef3
test eax, eax
jne 0x402eb6
push 0xffffffffffffffed
pop esi
call fcn.0040145c
push edi
call fcn.004060a2
push 2
push 0x40000000
push edi
call fcn.004069b8
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402f72
mov eax, dword [0x47eb4c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
test edi, edi
je 0x402f69
push 0
call fcn.004033a4
push dword [ebp - 0x14]
push edi
call fcn.00403372
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x402f40
push dword [ebp - 0x28]
push esi
push 0
push dword [ebp - 0x2c]
call fcn.004033bb
jmp 0x402f32
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.0040607e
add esi, ebx
cmp byte [esi], 0
jne 0x402f1e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004033bb
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
push ebx
push str.created_uninstaller:__d____s_
call fcn.00406dcd
add esp, 0xc
push 0xfffffffffffffff3
pop esi
test ebx, ebx
jge 0x402f9d
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x401876
test edx, edx
je 0x402fe4
push ecx
push str.settings_logging_to__d
call fcn.00406dcd
mov eax, dword [ebp - 0x2c]
push eax
push str.logging_set_to__d
mov dword [0x46d244], eax
call fcn.00406dcd
add esp, 0x10
cmp dword [ebp - 0x2c], 0
je 0x402fd8
call fcn.00403f6a
jmp case.0x4015f5.70
push 1
call fcn.00406cf4
jmp case.0x4015f5.70
xor esi, esi
inc esi
call fcn.0040145c
push eax
push 0x409a74
jmp 0x401936
xor ecx, ecx
call fcn.00401446
mov edi, eax
cmp edi, dword [0x47eb0c]
jae 0x4019f9
mov eax, dword [ebp - 0x28]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x47eb08]
test eax, eax
jl 0x403036
mov ecx, dword [esi + eax*4]
jne 0x403030
add esi, 0x18
push esi
push ebx
jmp 0x402e88
push ecx
jmp 0x402e0a
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x40304d
xor ecx, ecx
inc ecx
call fcn.00401446
mov dword [ebp - 0x2c], eax
jmp 0x403060
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.00406a63
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], 0
je case.0x4015f5.70
push edi
call fcn.00401186
jmp case.0x4015f5.70
xor ecx, ecx
call fcn.00401446
cmp eax, 0x20
jae 0x4019f9
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x4030b4
cmp dword [ebp - 0x28], esi
je 0x4030a9
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x4015f5.70
push esi
call fcn.004012f1
jmp 0x402e09
cmp dword [ebp - 0x28], esi
je 0x4030cb
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x47eafc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015f5.70
mov ecx, dword [0x47eafc]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.00406a63
jmp case.0x4015f5.70
mov eax, dword [0x461e0c]
push 0
and eax, edx
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], 0
je case.0x4015f5.70
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015f5.70
xor esi, esi
inc esi
call fcn.0040145c
push eax
call fcn.00406546
push eax
push edi
call fcn.00406194
mov eax, dword [ebp - 4]
add dword [0x47eba8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4