Function at 0x4014a8
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
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x454048]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov esi, ecx
shl esi, 0xd
mov eax, section..ndata
mov edi, edx
shl edi, 0xd
add esi, eax
add edi, eax
lea eax, [ebp - 0x28]
mov dword [0x40b830], eax
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
dec eax
cmp eax, 0x44
mov dword [ebp - 4], ebx
ja case.0x4014fa.2
jmp dword [eax*4 + 0x402d84]
push ecx
push str.Jump:__d
call fcn.00406530
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jmp 0x402d7d
push ebx
call fcn.00402ee9
push eax
push str.Aborting:___s_
call fcn.00406530
pop ecx
pop ecx
push ebx
push dword [ebp - 0x28]
call fcn.004053bd
jmp 0x402543
inc dword [0x45000c]
cmp dword [ebp - 8], ebx
je 0x402543
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402543
push ecx
call fcn.004013e1
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406530
pop ecx
pop ecx
push ebx
push esi
call fcn.004013fd
jmp 0x402d7d
push ebx
call fcn.00402ee9
push eax
push str.detailprint:__s
call fcn.00406530
pop ecx
pop ecx
push ebx
push dword [ebp - 0x28]
call fcn.004053bd
jmp case.0x4014fa.2
push ebx
call fcn.00402ecc
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406530
cmp esi, 1
pop ecx
pop ecx
jg 0x4015b2
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4014fa.2
push str.BringToFront
call fcn.00406530
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4014fa.2
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x20], ebx
jne 0x401603
mov ecx, dword [eax + 0x4540c0]
push 1
mov dword [eax + 0x454100], ecx
call fcn.00402ecc
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x4540c0], eax
jmp case.0x4014fa.2
mov ecx, dword [eax + 0x454100]
mov dword [eax + 0x4540c0], ecx
jmp case.0x4014fa.2
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x4540c0]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x1c]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x28]
jmp 0x402d7d
push dword [edx*4 + 0x4540c0]
push esi
jmp 0x402d0c
mov eax, dword [0x450010]
cmp eax, ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x401658
push edx
push eax
call esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x450024]
cmp eax, ebx
je case.0x4014fa.2
push ecx
push eax
call esi
jmp case.0x4014fa.2
push 0xfffffffffffffff0
call fcn.00402ee9
push dword [ebp - 0x24]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406530
add esp, 0xc
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x4014fa.2
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
jmp 0x40230e
push 0xfffffffffffffff0
call fcn.00402ee9
push dword [ebp - 0x24]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.00406530
add esp, 0xc
push edi
call fcn.00405c34
mov esi, eax
cmp esi, ebx
je 0x401747
push 0x5c
push esi
call fcn.00405bcb
mov esi, eax
mov al, byte [esi]
push ebx
push edi
mov byte [ebp + 0xb], al
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x401730
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401715
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406530
add esp, 0xc
inc dword [ebp - 4]
jmp 0x40173d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40173d
push edi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406530
inc dword [ebp - 4]
jmp 0x40173b
push edi
push str.CreateDirectory:___s__created
call fcn.00406530
pop ecx
pop ecx
mov al, byte [ebp + 0xb]
mov byte [esi], al
inc esi
cmp al, bl
jne 0x4016d1
cmp dword [ebp - 0x24], ebx
je 0x40176a
push 0xffffffffffffffe6
call fcn.00401497
push edi
push 0x481000
call fcn.004060ae
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp case.0x4014fa.2
push 0xfffffffffffffff5
jmp 0x402489
push ebx
call fcn.00402ee9
mov esi, eax
push esi
call fcn.0040655e
test eax, eax
je 0x401799
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406530
add esp, 0xc
jmp 0x401ee8
push dword [ebp - 0x20]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406530
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x402d7d
push 0xffffffffffffffd0
call fcn.00402ee9
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402ee9
push 0x13
mov dword [ebp + 8], eax
call fcn.00402ee9
mov edi, eax
push edi
push str.Rename:__s
call fcn.00406530
pop ecx
pop ecx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4017f0
push 0xffffffffffffffe3
jmp 0x402489
cmp dword [ebp - 0x20], ebx
je 0x40181a
push esi
call fcn.0040655e
test eax, eax
je 0x40181a
push dword [ebp + 8]
push esi
call fcn.00405dfc
push 0xffffffffffffffe4
call fcn.00401497
push edi
push str.Rename_on_reboot:__s
jmp 0x402c4b
push edi
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x402c4b
push ebx
call fcn.00402ee9
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x40186c
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401875
cmp byte [eax], bl
je 0x401875
push esi
call fcn.0040655e
cmp eax, ebx
je 0x40186c
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004060ae
jmp 0x401875
mov dword [ebp - 4], 1
mov byte [edi], bl
cmp dword [ebp - 0x20], ebx
jne case.0x4014fa.2
push 0x2000
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x4014fa.2
push 0xffffffffffffffff
call fcn.00402ee9
lea ecx, [ebp + 8]
push ecx
push esi
push 0x2000
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x4014fa.2
jmp 0x402a9e
push 0xffffffffffffffef
call fcn.00402ee9
push eax
push esi
call fcn.00405db4
test eax, eax
jne case.0x4014fa.2
jmp 0x402aca
push 0x31
call fcn.00402ee9
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
sar eax, 3
push esi
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 8], esi
mov dword [ebp + 8], ecx
call fcn.00406530
add esp, 0x10
push esi
call fcn.00405c0d
test eax, eax
push esi
mov esi, 0x40b838
je 0x401917
push esi
call fcn.004060ae
jmp 0x40192e
push 0x481000
push esi
call fcn.004060ae
push eax
call fcn.00405ba0
push eax
call sub.KERNEL32.dll_lstrcatA
push esi
call fcn.00406316
mov edi, 0x40f838
cmp dword [ebp + 8], 3
jl 0x401970
push esi
call fcn.0040655e
xor ecx, ecx
cmp eax, ebx
je 0x40195b
lea ecx, [ebp - 0x1c]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x40197b
push esi
call fcn.00405d65
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405d85
cmp eax, 0xffffffff
mov dword [ebp - 0x40], eax
jne 0x401a54
cmp dword [ebp + 8], ebx
jne 0x401a19
push esi
push str.File:_error_creating___s_
call fcn.00406530
pop ecx
pop ecx
push section..ndata
push edi
call fcn.004060ae
push esi
push section..ndata
call fcn.004060ae
push dword [ebp - 0x14]
push 0x40d838
call fcn.004060d0
push edi
push section..ndata
call fcn.004060ae
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40d838
call fcn.00405915
sub eax, 4
jne 0x401a03
push str.File:_error__user_retry
call fcn.00406530
pop ecx
jmp 0x401939
dec eax
je 0x401a3e
push str.File:_error__user_abort
call fcn.00406530
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x40152d
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.004053bd
cmp dword [ebp + 8], 2
jne 0x401a30
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
jmp 0x402810
push str.File:_error__user_cancel
call fcn.00406530
inc dword [0x4540c8]
pop ecx
jmp 0x402d7b
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.004053bd
inc dword [0x4540f4]
push ebx
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x20]
call fcn.0040334e
dec dword [0x4540f4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406530
add esp, 0xc
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401a94
cmp dword [ebp - 0x18], 0xffffffff
je 0x401aa6
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4014fa.2
cmp edi, 0xfffffffe
jne 0x401acf
push 0xffffffffffffffe9
push esi
call fcn.004060d0
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x401ad7
push 0xffffffffffffffee
push esi
call fcn.004060d0
push esi
push 0x40a3bc
call fcn.00406530
pop ecx
pop ecx
push 0x200010
push esi
jmp 0x40253e
push ebx
call fcn.00402ee9
mov esi, eax
push esi
push str.Delete:___s_
jmp 0x401b53
push 0x31
call fcn.00402ee9
mov esi, eax
push esi
push dword [ebp - 0x28]
push str.MessageBox:__d___s_
call fcn.00406530
add esp, 0xc
push dword [ebp - 0x28]
push esi
call fcn.00405915
cmp eax, ebx
je 0x402aca
cmp eax, dword [ebp - 0x20]
je 0x401c8d
cmp eax, dword [ebp - 0x18]
jne case.0x4014fa.2
mov eax, dword [ebp - 0x14]
jmp 0x402d7d
push 0xfffffffffffffff0
call fcn.00402ee9
mov esi, eax
push esi
push str.RMDir:___s_
call fcn.00406530
pop ecx
pop ecx
push dword [ebp - 0x24]
push esi
call fcn.00405979
jmp case.0x4014fa.2
push 1
call fcn.00402ee9
push eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x402926
push 2
call fcn.00402ecc
push 3
mov dword [ebp + 8], eax
call fcn.00402ecc
push 1
mov edi, eax
call fcn.00402ee9
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], eax
mov byte [esi], bl
je 0x401ba7
cmp dword [ebp + 8], ebx
je case.0x4014fa.2
push eax
call sub.KERNEL32.dll_lstrlenA
cmp edi, ebx
jge 0x401bb9
add edi, eax
js case.0x4014fa.2
cmp edi, eax
jle 0x401bbf
mov edi, eax
mov eax, dword [ebp - 0xc]
add eax, edi
push eax
push esi
call fcn.004060ae
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x4014fa.2
jge 0x401be7
push esi
call sub.KERNEL32.dll_lstrlenA
add edi, eax
jns 0x401be7
mov dword [ebp + 8], ebx
mov edi, ebx
cmp edi, 0x2000
jge case.0x4014fa.2
mov byte [edi + esi], bl
jmp case.0x4014fa.2
push 0x20
call fcn.00402ee9
push 0x31
mov esi, eax
call fcn.00402ee9
cmp dword [ebp - 0x18], ebx
push eax
push esi
jne 0x401c21
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401c8d
jmp 0x4017aa
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401c18
xor edi, edi
inc edi
push edi
call fcn.00402ee9
push 0x2000
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401c59
cmp dword [ebp - 0x20], ebx
je 0x401c5e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401c5e
mov dword [ebp - 4], edi
mov byte [esi], bl
mov byte [esi + 0x1fff], bl
jmp case.0x4014fa.2
push ebx
call fcn.00402ecc
push 1
mov esi, eax
call fcn.00402ecc
cmp dword [ebp - 0x14], ebx
jne 0x401c89
cmp esi, eax
jl 0x401c8d
jle 0x4017aa
jmp 0x401c9b
cmp esi, eax
jae 0x401c95
mov eax, dword [ebp - 0x1c]
jmp 0x402d7d
jbe 0x4017aa
mov eax, dword [ebp - 0x18]
jmp 0x402d7d
push 1
call fcn.00402ecc
push 2
mov edi, eax
call fcn.00402ecc
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x401cbd
jmp dword [eax*4 + 0x402e98]
add edi, ecx
jmp case.default.0x401cbd
sub edi, ecx
jmp case.default.0x401cbd
imul ecx, edi
mov edi, ecx
jmp case.default.0x401cbd
cmp ecx, ebx
je 0x401d19
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x401cbd
or edi, ecx
jmp case.default.0x401cbd
and edi, ecx
jmp case.default.0x401cbd
xor edi, ecx
jmp case.default.0x401cbd
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401cdc
cmp edi, ebx
jne 0x401d07
jmp 0x401d03
xor edi, edi
jmp case.default.0x401cbd
cmp edi, ebx
je 0x401cfb
cmp ecx, ebx
je 0x401cfb
xor edi, edi
inc edi
jmp case.default.0x401cbd
cmp ecx, ebx
je 0x401d19
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401cbd
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401cbd
shl edi, cl
jmp case.default.0x401cbd
sar edi, cl
push edi
jmp 0x40163c
push 1
call fcn.00402ee9
push 2
mov edi, eax
call fcn.00402ecc
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x402815
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov edi, dword [0x415838]
je 0x401dab
dec eax
cmp edi, ebx
je 0x401d6a
cmp eax, ebx
mov edi, dword [edi]
jne 0x401d5b
cmp edi, ebx
jne 0x401d7e
push dword [ebp - 0x20]
push str.Exch:_stack____d_elements
call fcn.00406530
pop ecx
pop ecx
jmp 0x402530
add edi, 4
push edi
mov esi, 0x40b838
push esi
call fcn.004060ae
mov eax, dword [0x415838]
add eax, 4
push eax
push edi
call fcn.004060ae
mov eax, dword [0x415838]
push esi
add eax, 4
push eax
jmp 0x402c8a
cmp edx, ebx
je 0x401de6
cmp edi, ebx
jne 0x401dc9
push str.Pop:_stack_empty
call fcn.00406530
mov dword [ebp - 4], 1
jmp 0x402d71
lea eax, [edi + 4]
push eax
push esi
call fcn.004060ae
mov eax, dword [edi]
mov dword [0x415838], eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4014fa.2
push 0x2004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004060d0
mov eax, dword [0x415838]
mov dword [esi], eax
mov dword [0x415838], esi
jmp case.0x4014fa.2
push 3
call fcn.00402ecc
push 4
mov dword [ebp - 0x40], eax
call fcn.00402ecc
test byte [ebp - 0x14], 1
mov dword [ebp + 8], eax
je 0x401e37
push 0x33
call fcn.00402ee9
mov dword [ebp - 0x40], eax
test byte [ebp - 0x14], 2
je 0x401e47
push 0x44
call fcn.00402ee9
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x22
push 1
jne 0x401e93
call fcn.00402ecc
push 2
mov edi, eax
call fcn.00402ecc
mov ecx, dword [ebp - 0x14]
sar ecx, 2
je 0x401e83
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x40]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401ec2
push dword [ebp + 8]
push dword [ebp - 0x40]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401ebf
call fcn.00402ee9
push 0x12
mov edi, eax
call fcn.00402ee9
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov al, byte [edi]
neg al
push ecx
sbb eax, eax
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28], ebx
jl case.0x4014fa.2
push dword [ebp - 8]
jmp 0x40163c
push ebx
call fcn.00402ecc
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4017aa
mov eax, dword [ebp - 0x24]
jmp 0x402d7d
push 2
call fcn.00402ecc
push eax
push 1
call fcn.00402ecc
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402926
mov eax, dword [0x454090]
add eax, edx
push eax
push 0xffffffffffffffeb
push ebx
call fcn.00402ecc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x4014fa.2
push edx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x20]
push 0x10
push eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x20]
push eax
push ebx
push ebx
call fcn.00402ee9
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je case.0x4014fa.2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4014fa.2
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
call fcn.00402ecc
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x41583c], eax
call fcn.00402ecc
push dword [ebp - 0x24]
mov dword [0x41584c], eax
mov al, byte [ebp - 0x18]
mov cl, al
and cl, 1
mov byte [0x415850], cl
mov cl, al
and cl, 2
and al, 4
push 0x415858
mov byte [0x415851], cl
mov byte [0x415852], al
mov byte [0x415853], 1
call fcn.004060d0
push 0x41583c
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x402926
push ebx
call fcn.00402ecc
push 1
mov esi, eax
call fcn.00402ecc
cmp dword [ebp - 0x20], ebx
mov edi, eax
je 0x40201c
push str.HideWindow
call fcn.00406530
pop ecx
cmp dword [ebp - 0x1c], ebx
push edi
push esi
jne 0x40202e
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4014fa.2
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4014fa.2
push ebx
call fcn.00402ee9
push 0x31
mov esi, eax
call fcn.00402ee9
push 0x22
mov ebx, eax
call fcn.00402ee9
push 0x15
mov edi, eax
call fcn.00402ee9
push 0xffffffffffffffec
call fcn.00401497
mov al, byte [edi]
push dword [ebp - 0x1c]
neg al
push 0x481000
sbb eax, eax
and eax, edi
push eax
mov al, byte [esi]
neg al
push ebx
sbb eax, eax
and eax, esi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x4020a0
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406530
add esp, 0x14
jmp 0x402aca
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406530
add esp, 0x10
jmp case.0x4014fa.2
push ebx
call fcn.00402ee9
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406530
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.004053bd
push esi
call fcn.004058b4
cmp eax, ebx
mov dword [ebp + 8], eax
push esi
je 0x402145
push str.Exec:_success____s__
call fcn.00406530
cmp dword [ebp - 0x20], ebx
pop ecx
pop ecx
je 0x402137
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402100
push 0xf
call fcn.004065be
push 0x64
push dword [ebp + 8]
call esi
cmp eax, 0x102
je 0x4020f9
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], ebx
jl 0x40212b
push dword [ebp - 0x10]
push edi
call fcn.0040600c
jmp 0x402137
cmp dword [ebp - 0x10], ebx
je 0x402137
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4014fa.2
mov dword [ebp - 4], 1
push str.Exec:_failed_createprocess____s__
jmp 0x402c4b
push 2
call fcn.00402ee9
push eax
call fcn.0040655e
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40217d
mov ebx, eax
push dword [ebx + 0x14]
push edi
call fcn.0040600c
push dword [ebx + 0x18]
jmp 0x40163c
mov byte [esi], bl
mov byte [edi], bl
jmp 0x402aca
push 0xffffffffffffffee
call fcn.00402ee9
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0xc], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov byte [esi], bl
mov dword [ebp - 0x10], eax
mov byte [edi], bl
mov dword [ebp - 4], 1
je case.0x4014fa.2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x4014fa.2
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402209
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x40a28c
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402209
mov eax, dword [ebp - 0x40]
push dword [eax + 8]
push esi
call fcn.0040600c
mov eax, dword [ebp - 0x40]
push dword [eax + 0xc]
push edi
call fcn.0040600c
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401ddb
cmp dword [0x4540f8], ebx
mov dword [ebp - 4], 1
jl 0x402302
push 0xfffffffffffffff0
call fcn.00402ee9
push 1
mov edi, eax
call fcn.00402ee9
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], eax
je 0x40224a
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x40225f
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4022f0
push dword [ebp - 0x40]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4022ae
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x402290
push dword [ebp - 0x20]
call fcn.00401497
call esi
test eax, eax
je 0x4022c9
mov dword [ebp - 4], 1
jmp 0x4022c9
push section..data
push 0x415838
push section..ndata
push 0x2000
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4022c9
push dword [ebp - 0x40]
push 0xfffffffffffffff7
call fcn.004053bd
push edi
push dword [ebp - 0x40]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406530
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jne case.0x4014fa.2
push dword [ebp + 8]
call fcn.00403a65
test eax, eax
je case.0x4014fa.2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4014fa.2
push 0xfffffffffffffff6
call fcn.00401497
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x402c4b
push 0xffffffffffffffe7
call fcn.00401497
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00406530
jmp 0x402d71
push 0xfffffffffffffff0
call fcn.00402ee9
push 0xffffffffffffffdf
mov dword [ebp - 0x34], eax
call fcn.00402ee9
push 2
mov edi, eax
call fcn.00402ee9
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402ee9
push 0x45
mov dword [ebp - 0x10], eax
call fcn.00402ee9
push edi
mov dword [ebp - 0x38], eax
call fcn.00405c0d
test eax, eax
jne 0x40235a
push 0x21
call fcn.00402ee9
mov eax, dword [ebp - 0x18]
mov ecx, eax
sar ecx, 0x10
push ecx
xor ecx, ecx
mov cl, ah
mov esi, 0xff
and eax, esi
push ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 0x34]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406530
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x40848c
push 1
push ebx
push 0x40849c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402480
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x4084ac
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x40], eax
jl 0x402472
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x481000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x4023f6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x18]
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 0x40241a
mov edi, dword [ebp - 0x18]
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 - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x40], ebx
jl 0x402469
push 0x400
mov esi, 0x40b030
push esi
push 0xffffffffffffffff
push dword [ebp - 0x34]
mov dword [ebp - 0x40], 0x80004005
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x402469
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x40], 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 - 0x40], ebx
jge 0x402493
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401497
jmp case.0x4014fa.2
push 0xfffffffffffffff4
jmp 0x402489
push ebx
call fcn.00402ee9
push 0x11
mov esi, eax
call fcn.00402ee9
push 0x23
mov edi, eax
call fcn.00402ee9
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [ebp + 8], eax
call fcn.00406530
add esp, 0xc
push esi
call fcn.0040655e
test eax, eax
jne 0x4024d8
push ebx
push 0xfffffffffffffff9
call fcn.004053bd
jmp 0x402aca
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 2
call sub.KERNEL32.dll_lstrlenA
push edi
mov byte [eax + esi + 1], bl
call sub.KERNEL32.dll_lstrlenA
mov byte [eax + edi + 1], bl
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x48], cx
call fcn.004053bd
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x4014fa.2
jmp 0x4024cb
cmp ecx, 0xbadf00d
je 0x40254d
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004060d0
push eax
call fcn.00405915
mov eax, 0x7fffffff
jmp 0x402d7d
inc dword [0x4540d4]
jmp case.0x4014fa.2
push str._RM_
mov esi, 0x40d838
push esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], ebx
call fcn.004060ae
push esi
mov edi, 0x40f838
push edi
call fcn.004060ae
cmp dword [ebp - 0x28], ebx
je 0x40258b
push ebx
call fcn.00402ee9
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x24], ebx
je 0x40259a
push 0x11
call fcn.00402ee9
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], ebx
je 0x4025a9
push 0x22
call fcn.00402ee9
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
call fcn.00402ee9
mov ebx, eax
push ebx
push edi
push esi
push 0x40b838
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406530
add esp, 0x14
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4018c5
push 1
mov dword [ebp + 8], 0x7e4e21
call fcn.00402ee9
push 0x12
mov edi, eax
call fcn.00402ee9
push 0xffffffffffffffdd
mov dword [ebp - 0x38], eax
call fcn.00402ee9
push eax
push 0x1fff
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi]
cmp eax, dword [ebp + 8]
jmp 0x4018ac
push edx
call fcn.0040644e
cmp dword [ebp - 0x18], ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x40266f
push 2
call fcn.00402ff4
mov edi, eax
cmp edi, ebx
je 0x402aca
push 0x33
call fcn.00402ee9
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40f838
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406530
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4026a2
push 0x22
call fcn.00402ee9
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406530
mov eax, dword [ebp - 0x18]
add esp, 0xc
and eax, 2
push eax
push esi
push dword [ebp - 0x24]
call fcn.00402fdf
push eax
call fcn.00402f29
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], ebx
je case.0x4014fa.2
jmp 0x402aca
push ecx
call fcn.00402fdf
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0xc], eax
call fcn.00402ee9
push 0x11
mov dword [ebp - 8], eax
call fcn.00402ee9
push esi
mov dword [ebp + 8], eax
call fcn.0040644e
pop ecx
push ebx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4540f0]
push ebx
or eax, 2
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402805
xor esi, esi
cmp dword [ebp - 0x10], 1
mov edi, 0x40f838
jne 0x402759
push 0x23
call fcn.00402ee9
push edi
call sub.KERNEL32.dll_lstrlenA
push edi
push dword [ebp - 8]
mov esi, eax
push dword [ebp + 8]
inc esi
cmp dword [ebp - 0xc], 1
push dword [ebp - 0x40]
jne 0x40274c
push str.WriteRegStr:___s_s____s___s_
call fcn.00406530
add esp, 0x14
jmp 0x4027cc
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406530
add esp, 0x14
cmp dword [ebp - 0x10], 4
jne 0x402785
push 3
call fcn.00402ecc
push 4
pop esi
push eax
push dword [ebp - 8]
mov dword [0x40f838], eax
push dword [ebp + 8]
push dword [ebp - 0x40]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406530
add esp, 0x14
cmp dword [ebp - 0x10], 3
jne 0x4027cc
push 0x6000
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.0040334e
mov esi, eax
push esi
push edi
lea eax, [ebp - 0xd8]
push 0x80
push eax
call fcn.004064b2
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0x40]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406530
add esp, 0x24
push esi
push edi
push dword [ebp - 0xc]
push ebx
push dword [ebp - 8]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4027e7
mov dword [ebp - 4], ebx
jmp 0x4027fd
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0x40]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406530
add esp, 0x10
push dword [ebp - 0x34]
jmp 0x4028eb
push dword [ebp + 8]
push dword [ebp - 0x40]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406530
add esp, 0xc
jmp case.0x4014fa.2
push 0x20019
call fcn.00402ff4
push 0x33
mov edi, eax
call fcn.00402ee9
cmp edi, ebx
mov byte [esi], bl
je 0x402aca
lea ecx, [ebp - 0xc]
push ecx
push esi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
mov dword [ebp - 0xc], 0x1fff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40288e
cmp dword [ebp + 8], 4
je 0x402879
cmp dword [ebp + 8], ecx
je 0x40286b
cmp dword [ebp + 8], 2
jne 0x40288e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + esi], bl
jmp 0x4028ea
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.0040600c
jmp 0x4028ea
mov byte [esi], bl
mov dword [ebp - 4], ecx
jmp 0x4028ea
push 0x20019
call fcn.00402ff4
push 3
mov edi, eax
call fcn.00402ecc
cmp edi, ebx
mov byte [esi], bl
je 0x402aca
cmp dword [ebp - 0x18], ebx
mov ecx, 0x1fff
mov dword [ebp + 8], ecx
je 0x4028cb
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x4028e4
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x402aca
mov byte [esi + 0x1fff], bl
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4014fa.2
cmp byte [esi], bl
je case.0x4014fa.2
push esi
call fcn.00406025
push eax
jmp 0x40213a
push 0xffffffffffffffed
call fcn.00402ee9
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405d85
cmp eax, 0xffffffff
je 0x402ac8
push eax
jmp 0x40163c
cmp dword [ebp - 0x20], ebx
je 0x402942
push 1
call fcn.00402ecc
mov byte [0x40d838], al
xor eax, eax
inc eax
jmp 0x40294f
push 0x11
call fcn.00402ee9
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [esi], bl
je 0x402aca
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40d838
push esi
call fcn.00406025
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4018c5
push 2
mov dword [ebp - 0x34], ebx
call fcn.00402ecc
cmp eax, 1
mov dword [ebp - 0x40], eax
jl case.0x4014fa.2
mov ecx, 0x1fff
cmp eax, ecx
jle 0x402996
mov dword [ebp - 0x40], ecx
cmp byte [esi], bl
je 0x402a2c
push esi
mov byte [ebp + 0xb], bl
call fcn.00406025
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 0xc], eax
jle 0x402a2c
mov esi, dword [ebp - 0x34]
push ebx
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x2d]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402a2f
cmp dword [ebp - 0x38], 1
jne 0x402a2f
cmp dword [ebp - 0x1c], ebx
jne 0x4029f6
cmp byte [ebp + 0xb], 0xd
je 0x402a06
cmp byte [ebp + 0xb], 0xa
je 0x402a06
mov al, byte [ebp - 0x2d]
mov byte [esi + edi], al
inc esi
cmp al, bl
mov byte [ebp + 0xb], al
je 0x402a2f
cmp esi, dword [ebp - 0x40]
jl 0x4029b2
jmp 0x402a2f
movzx eax, byte [ebp - 0x2d]
push eax
push edi
call fcn.0040600c
jmp 0x402d7b
mov al, byte [ebp - 0x2d]
cmp byte [ebp + 0xb], al
je 0x402a1c
cmp al, 0xd
je 0x402a16
cmp al, 0xa
jne 0x402a1c
mov byte [esi + edi], al
inc esi
jmp 0x402a2f
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402a2f
mov esi, dword [ebp - 0x34]
mov byte [esi + edi], bl
cmp esi, ebx
jmp 0x4018c7
cmp byte [esi], bl
je case.0x4014fa.2
push dword [ebp - 0x1c]
push ebx
push 2
call fcn.00402ecc
push eax
push esi
call fcn.00406025
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x4014fa.2
jmp 0x402d0a
cmp byte [esi], bl
je case.0x4014fa.2
push esi
call fcn.00406025
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4014fa.2
cmp byte [edi], bl
je 0x402a9e
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.00406025
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402add
mov dword [ebp - 4], 1
mov byte [esi], bl
jmp case.0x4014fa.2
push 2
call fcn.00402ee9
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402ad6
mov byte [edi], bl
mov byte [esi], bl
mov dword [ebp - 4], 1
jmp case.0x4014fa.2
push eax
push edi
call fcn.0040600c
lea eax, [ebp - 0x1ec]
push eax
push esi
jmp 0x402c8a
push 0xfffffffffffffff0
mov dword [ebp - 0x10], 0xfffffd66
call fcn.00402ee9
mov esi, eax
push esi
mov dword [ebp - 0x34], esi
call fcn.00405c0d
test eax, eax
jne 0x402b0e
push 0xffffffffffffffed
call fcn.00402ee9
push esi
call fcn.00405d65
push 2
push 0x40000000
push esi
call fcn.00405d85
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402bca
mov eax, dword [0x454054]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0xc], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402bc1
push ebx
call fcn.004035a2
push dword [ebp - 0xc]
push edi
call fcn.00403570
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], esi
je 0x402b99
push dword [ebp - 0x20]
push esi
push ebx
push dword [ebp - 0x24]
call fcn.0040334e
jmp 0x402b8c
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x44], ecx
call fcn.00405d45
add esi, dword [ebp - 0x44]
cmp byte [esi], bl
jne 0x402b74
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.0040334e
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
push dword [ebp - 0x10]
push str.created_uninstaller:__d____s_
call fcn.00406530
add esp, 0xc
cmp dword [ebp - 0x10], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402bf8
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
jmp 0x402489
cmp ecx, ebx
je 0x402c3e
push edx
push str.settings_logging_to__d
call fcn.00406530
mov eax, dword [ebp - 0x24]
push eax
push str.logging_set_to__d
mov dword [0x44b7c0], eax
call fcn.00406530
add esp, 0x10
cmp dword [ebp - 0x24], ebx
je 0x402c32
call fcn.00403ac5
jmp case.0x4014fa.2
push 1
call fcn.004063b1
jmp case.0x4014fa.2
push 1
call fcn.00402ee9
push eax
push 0x40a3bc
call fcn.00406530
pop ecx
jmp 0x402d71
push ebx
call fcn.00402ecc
cmp eax, dword [0x454074]
mov dword [ebp + 8], eax
jae 0x402aca
mov esi, eax
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x2018
add esi, dword [0x454070]
cmp eax, ebx
jl 0x402c97
mov ecx, dword [esi + eax*4]
jne 0x402c94
add esi, 0x18
push esi
push edi
call fcn.004060ae
jmp case.0x4014fa.2
push ecx
jmp 0x402d0b
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402cad
push 1
call fcn.00402ecc
mov dword [ebp - 0x24], eax
jmp 0x402cbd
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.004060d0
or byte [esi + 9], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x1c], ebx
je case.0x4014fa.2
push dword [ebp + 8]
call fcn.0040117d
jmp case.0x4014fa.2
push ebx
call fcn.00402ecc
cmp eax, 0x20
jae 0x402aca
cmp dword [ebp - 0x1c], ebx
je 0x402d13
cmp dword [ebp - 0x20], ebx
je 0x402d04
push eax
call fcn.0040129d
push ebx
push ebx
call fcn.004011ef
jmp case.0x4014fa.2
push ebx
call fcn.004012e8
push eax
push edi
call fcn.0040600c
jmp case.0x4014fa.2
cmp dword [ebp - 0x20], ebx
je 0x402d2a
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x454050]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4014fa.2
mov ecx, dword [0x454050]
push dword [ecx + eax*4 + 0x94]
push edi
call fcn.004060d0
jmp case.0x4014fa.2
mov eax, dword [0x445490]
push ebx
and eax, ecx
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x28], ebx
je case.0x4014fa.2
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4014fa.2
push ebx
call fcn.00402ee9
push eax
call fcn.00407423
pop ecx
mov eax, dword [ebp - 4]
add dword [0x4540c8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4