Function at 0x40381b
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, 0x1a4
mov eax, dword [0x425bec]
and dword [ebp - 4], 0
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 edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4264a0]
lea ecx, [ebp - 0x28]
mov dword [0x40e900], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov ebx, edx
shl ebx, 0xa
mov eax, esi
shl eax, 0xa
add ecx, 0xfffffffe
add ebx, section..ndata
cmp ecx, 0x42
lea edi, [eax + section..ndata]
ja case.0x40387a.66
jmp dword [ecx*4 + 0x40515e]
push esi
push str.Jump:__d
call fcn.00405e33
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jmp 0x405157
xor esi, esi
call fcn.0040372a
push eax
push str.Aborting:___s_
call fcn.00405e33
pop ecx
pop ecx
push esi
push dword [ebp - 0x28]
call fcn.00402842
jmp 0x40495a
inc dword [0x425c74]
cmp dword [ebp - 8], 0
je 0x40495a
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40495a
test esi, esi
jge 0x4038ee
mov ecx, section..ndata
sub ecx, eax
sub ecx, 0x400
push ecx
call fcn.00405c5c
jmp 0x4038f0
mov eax, esi
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00405e33
pop ecx
pop ecx
push 0
push esi
call fcn.00403648
jmp 0x405157
test edx, edx
je 0x40393a
test dl, 8
je 0x403925
mov eax, dword [0x40a054]
mov dword [0x40a02c], eax
jmp case.0x40387a.66
mov eax, dword [0x40a02c]
mov dword [0x40a054], eax
mov dword [0x40a02c], edx
jmp case.0x40387a.66
xor esi, esi
call fcn.0040372a
push eax
push str.detailprint:__s
call fcn.00405e33
pop ecx
pop ecx
push esi
push dword [ebp - 0x28]
call fcn.00402842
jmp case.0x40387a.66
xor ecx, ecx
call fcn.00403714
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00405e33
cmp esi, 1
pop ecx
pop ecx
jg 0x40397a
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40387a.66
push str.BringToFront
call fcn.00405e33
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40387a.66
xor ecx, ecx
inc ecx
call fcn.00403714
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x425c00], eax
jmp case.0x40387a.66
mov edx, dword [ebp - 0x20]
lea edx, [edx*4 + 0x425c00]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x28]
jmp 0x405157
push dword [edx*4 + 0x425c00]
jmp 0x404ce3
mov eax, dword [0x425c80]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4039f9
push edx
push eax
call edi
mov esi, dword [ebp - 0x28]
mov eax, dword [0x425c6c]
test eax, eax
je case.0x40387a.66
push esi
push eax
call edi
jmp case.0x40387a.66
push 0xfffffffffffffff0
pop esi
call fcn.0040372a
push dword [ebp - 0x24]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00405e33
add esp, 0xc
push dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x40387a.66
push str.SetFileAttributes_failed.
mov dword [ebp - 4], 1
call fcn.00405e33
jmp 0x403bbe
push 0xfffffffffffffff0
pop esi
call fcn.0040372a
push dword [ebp - 0x24]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.00405e33
add esp, 0xc
push edi
call fcn.00405af5
cmp byte [edi], 0
mov esi, eax
je 0x403ab2
test esi, esi
je 0x403ab2
push 0x5c
push esi
call fcn.00405ab2
mov esi, eax
mov bl, byte [esi]
and byte [esi], 0
push edi
call fcn.00405e4f
test eax, eax
jne 0x403aa3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jmp 0x403aa6
test byte [eax], 0x10
jne 0x403aab
inc dword [ebp - 4]
mov byte [esi], bl
inc esi
test bl, bl
jne 0x403a7e
cmp dword [ebp - 0x24], 0
je 0x403ad6
push 0xffffffffffffffe6
call fcn.00403703
push edi
push 0x42c800
call sub.KERNEL32.dll_lstrcpyA
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp case.0x40387a.66
push 0xfffffffffffffff5
jmp 0x40489d
xor esi, esi
call fcn.0040372a
mov esi, eax
push esi
call fcn.00405e4f
test eax, eax
je 0x403b06
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00405e33
add esp, 0xc
jmp 0x4042ac
push dword [ebp - 0x20]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00405e33
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x405157
push 0xffffffffffffffd0
pop esi
call fcn.0040372a
push 0xffffffffffffffdf
pop esi
mov dword [ebp + 8], eax
call fcn.0040372a
push dword [ebp + 8]
mov ebx, 0x40d0c0
push ebx
mov edi, eax
call sub.KERNEL32.dll_lstrcpyA
push edi
call sub.KERNEL32.dll_lstrlenA
push dword [ebp + 8]
mov esi, eax
call sub.KERNEL32.dll_lstrlenA
add esi, eax
cmp esi, 0x3fd
jge 0x403b6e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40888c
push ebx
call esi
push edi
push ebx
call esi
push ebx
push str.Rename:__s
call fcn.00405e33
pop ecx
pop ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x403b90
push 0xffffffffffffffe3
jmp 0x40489d
cmp dword [ebp - 0x20], 0
je 0x403bc4
push dword [ebp + 8]
call fcn.00405e4f
test eax, eax
je 0x403bc4
push edi
push dword [ebp + 8]
call fcn.00405fa2
push 0xffffffffffffffe4
call fcn.00403703
push ebx
push str.Rename_on_reboot:__s
call fcn.00405e33
pop ecx
pop ecx
jmp case.0x40387a.66
push ebx
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x403bb8
xor esi, esi
call fcn.0040372a
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
mov edi, 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x403c16
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x403c20
cmp byte [eax], 0
je 0x403c20
push esi
call fcn.00405e4f
test eax, eax
je 0x403c16
add eax, 0x2c
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x403c20
and byte [ebx], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
jne case.0x40387a.66
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x40387a.66
or esi, 0xffffffff
call fcn.0040372a
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x40387a.66
mov dword [ebp - 4], 1
and byte [edi], 0
jmp case.0x40387a.66
push 0xffffffffffffffef
pop esi
call fcn.0040372a
push eax
push edi
call fcn.00405b91
test eax, eax
jmp 0x404df8
push 0x31
pop esi
call fcn.0040372a
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.00405e33
add esp, 0x10
push esi
call fcn.00405ace
test eax, eax
push esi
mov esi, 0x40ccc0
je 0x403cc8
push esi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x403ce0
push 0x42c800
push esi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00405e8d
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call fcn.00405cf1
mov ebx, 0x40d0c0
mov edi, 0x40d4c0
cmp dword [ebp + 8], 3
jl 0x403d27
push esi
call fcn.00405e4f
xor ecx, ecx
test eax, eax
je 0x403d12
lea ecx, [ebp - 0x1c]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x403d3f
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.00405b62
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x403e18
cmp dword [ebp + 8], 0
jne 0x403dd6
push esi
push str.File:_error_creating___s_
call fcn.00405e33
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 - 0x14]
push ebx
call fcn.00406159
push edi
push section..ndata
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push ebx
call fcn.00405a61
sub eax, 4
jne 0x403dc0
push str.File:_error__user_retry
call fcn.00405e33
pop ecx
jmp 0x403cf0
dec eax
je 0x403e02
push str.File:_error__user_abort
call fcn.00405e33
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x4038ae
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00402842
cmp dword [ebp + 8], 2
jne 0x403dec
inc dword [0x425c08]
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00405e33
add esp, 0xc
jmp case.0x40387a.66
push str.File:_error__user_cancel
call fcn.00405e33
inc dword [0x425c08]
pop ecx
jmp 0x405155
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00402842
inc dword [0x40a02c]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x20]
call fcn.00405593
dec dword [0x40a02c]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00405e33
add esp, 0xc
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x403e5a
cmp dword [ebp - 0x18], 0xffffffff
je 0x403e6c
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x1c]
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.0x40387a.66
cmp edi, 0xfffffffe
jne 0x403e96
push 0xffffffffffffffe9
push esi
call fcn.00406159
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x403e9e
push 0xffffffffffffffee
push esi
call fcn.00406159
push esi
push 0x40876c
call fcn.00405e33
pop ecx
pop ecx
push 0x100010
push esi
jmp 0x404955
xor esi, esi
call fcn.0040372a
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00405e33
pop ecx
pop ecx
push dword [ebp - 0x24]
push esi
call fcn.0040638e
jmp case.0x40387a.66
push 0x31
pop esi
call fcn.0040372a
mov esi, eax
push esi
push dword [ebp - 0x28]
push str.MessageBox:__d___s_
call fcn.00405e33
add esp, 0xc
push dword [ebp - 0x28]
push esi
call fcn.00405a61
test eax, eax
je 0x404eab
cmp eax, dword [ebp - 0x20]
je 0x40404d
cmp eax, dword [ebp - 0x18]
jne case.0x40387a.66
mov eax, dword [ebp - 0x14]
jmp 0x405157
push 0xfffffffffffffff0
pop esi
call fcn.0040372a
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x403ec5
xor esi, esi
inc esi
call fcn.0040372a
push eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x404ce2
push 2
pop ecx
call fcn.00403714
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00403714
xor esi, esi
inc esi
mov ebx, eax
call fcn.0040372a
and byte [edi], 0
cmp dword [ebp - 0x20], 0
mov esi, eax
je 0x403f77
cmp dword [ebp + 8], 0
je case.0x40387a.66
push esi
call sub.KERNEL32.dll_lstrlenA
test ebx, ebx
jge 0x403f89
add ebx, eax
js case.0x40387a.66
cmp ebx, eax
jle 0x403f8f
mov ebx, eax
add esi, ebx
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
mov esi, dword [ebp + 8]
test esi, esi
je case.0x40387a.66
jge 0x403fb6
push edi
call sub.KERNEL32.dll_lstrlenA
add esi, eax
jns 0x403fb6
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x400
jge case.0x40387a.66
and byte [esi + edi], 0
jmp case.0x40387a.66
push 0x20
pop esi
call fcn.0040372a
push 0x31
pop esi
mov edi, eax
call fcn.0040372a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40404d
jmp 0x403b17
xor esi, esi
inc esi
call fcn.0040372a
cmp dword [ebp - 0x20], 0
push 0x400
push edi
push eax
je 0x404014
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x40401a
and byte [edi], al
mov dword [ebp - 4], esi
jmp 0x40401a
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [edi + 0x3ff], 0
jmp case.0x40387a.66
xor ecx, ecx
call fcn.00403714
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00403714
cmp dword [ebp - 0x14], 0
jne 0x404049
cmp esi, eax
jl 0x40404d
jle 0x403b17
jmp 0x40405b
cmp esi, eax
jae 0x404055
mov eax, dword [ebp - 0x1c]
jmp 0x405157
jbe 0x403b17
mov eax, dword [ebp - 0x18]
jmp 0x405157
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.00403714
push 2
pop ecx
mov esi, eax
call fcn.00403714
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x404081
jmp dword [eax*4 + 0x40526a]
add esi, ecx
jmp case.default.0x404081
sub esi, ecx
jmp case.default.0x404081
imul ecx, esi
mov esi, ecx
jmp case.default.0x404081
test ecx, ecx
je 0x4040dc
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp case.default.0x404081
or esi, ecx
jmp case.default.0x404081
and esi, ecx
jmp case.default.0x404081
xor esi, ecx
jmp case.default.0x404081
xor eax, eax
test esi, esi
sete al
jmp 0x4040a0
test esi, esi
jne 0x4040cb
jmp 0x4040c7
xor esi, esi
jmp case.default.0x404081
test esi, esi
je 0x4040bf
test ecx, ecx
je 0x4040bf
mov esi, ebx
jmp case.default.0x404081
test ecx, ecx
je 0x4040dc
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x404081
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x404081
shl esi, cl
jmp case.default.0x404081
sar esi, cl
push esi
jmp 0x404ce3
xor esi, esi
inc esi
call fcn.0040372a
push 2
pop ecx
mov esi, eax
call fcn.00403714
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x403dfa
mov eax, dword [ebp - 0x20]
test eax, eax
mov esi, dword [0x40ccb8]
je 0x40416c
dec eax
test esi, esi
je 0x40412b
test eax, eax
mov esi, dword [esi]
jne 0x40411c
test esi, esi
jne 0x40413f
push dword [ebp - 0x20]
push str.Exch:_stack____d_elements
call fcn.00405e33
pop ecx
pop ecx
jmp 0x404946
lea edi, [esi + 4]
push edi
mov esi, 0x40ccc0
push esi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40ccb8]
add eax, 4
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40ccb8]
push esi
add eax, 4
push eax
jmp 0x404e80
test edx, edx
je 0x4041a1
test esi, esi
jne 0x404184
push str.Pop:_stack_empty
call fcn.00405e33
pop ecx
jmp 0x404eab
lea eax, [esi + 4]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [esi]
mov dword [0x40ccb8], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40387a.66
push 0x404
call fcn.00405aa3
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406159
mov eax, dword [0x40ccb8]
mov dword [esi], eax
mov dword [0x40ccb8], esi
jmp case.0x40387a.66
push 0x33
pop esi
call fcn.0040372a
push 0x44
pop esi
mov dword [ebp - 8], eax
call fcn.0040372a
xor esi, esi
inc esi
test byte [ebp - 0x14], 1
mov dword [ebp + 8], eax
jne 0x4041f5
push dword [ebp - 8]
call fcn.00405c5c
mov dword [ebp - 8], eax
test byte [ebp - 0x14], 2
jne 0x404206
push dword [ebp + 8]
call fcn.00405c5c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
jne 0x404254
mov ecx, esi
call fcn.00403714
push 2
pop ecx
mov esi, eax
call fcn.00403714
mov ecx, dword [ebp - 0x14]
sar ecx, 2
je 0x404244
lea edx, [ebp - 0x38]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x404284
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x404281
call fcn.0040372a
push 0x12
pop esi
mov ebx, eax
call fcn.0040372a
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov al, byte [ebx]
neg al
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x28], 0
jl case.0x40387a.66
push dword [ebp - 0x38]
jmp 0x404ce3
xor ecx, ecx
call fcn.00403714
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403b17
mov eax, dword [ebp - 0x24]
jmp 0x405157
push 2
pop ecx
call fcn.00403714
xor ecx, ecx
push eax
inc ecx
call fcn.00403714
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x404ce2
mov eax, dword [0x425bc8]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00403714
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x40387a.66
push edx
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 - 0x20]
push 0x10
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x20]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.0040372a
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.0x40387a.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40387a.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.00403714
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40e0c0], eax
call fcn.00403714
push dword [ebp - 0x24]
mov dword [0x40e0d0], eax
mov al, byte [ebp - 0x18]
mov cl, al
and cl, 1
mov byte [0x40e0d4], cl
mov cl, al
and cl, 2
and al, 4
push 0x40e0dc
mov byte [0x40e0d5], cl
mov byte [0x40e0d6], al
mov byte [0x40e0d7], 1
call fcn.00406159
push 0x40e0c0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x404ce2
xor ecx, ecx
call fcn.00403714
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00403714
cmp dword [ebp - 0x20], 0
mov edi, eax
je 0x4043eb
push str.HideWindow
call fcn.00405e33
pop ecx
cmp dword [ebp - 0x1c], 0
push edi
push esi
jne 0x4043fe
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40387a.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40387a.66
xor esi, esi
call fcn.0040372a
push 0x31
pop esi
mov edi, eax
call fcn.0040372a
push 0x22
pop esi
mov ebx, eax
call fcn.0040372a
push ebx
push edi
push str._s__s
push 0x40d0c0
mov esi, eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0xffffffffffffffec
call fcn.00403703
mov al, byte [esi]
push dword [ebp - 0x1c]
neg al
push 0x42c800
sbb eax, eax
and eax, esi
push eax
mov al, byte [edi]
neg al
push ebx
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x404481
push eax
push esi
push ebx
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00405e33
add esp, 0x14
jmp 0x404eab
push esi
push ebx
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00405e33
add esp, 0x10
jmp case.0x40387a.66
xor esi, esi
call fcn.0040372a
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00405e33
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00402842
push 0x42c800
push esi
call fcn.004059e9
test eax, eax
mov dword [ebp + 8], eax
push esi
je 0x40455c
push str.Exec:_success____s__
call fcn.00405e33
cmp dword [ebp - 0x20], 0
pop ecx
pop ecx
je 0x40454e
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp + 8]
call edi
cmp eax, 0x102
jne 0x404523
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x404503
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0xf
push 0xf
lea eax, [ebp - 0x64]
push 0
push eax
call esi
test eax, eax
jne 0x4044f9
push 0x64
push dword [ebp + 8]
call edi
cmp eax, 0x102
je 0x404503
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], 0
jl 0x404541
push dword [ebp - 0xc]
push ebx
call fcn.00405c43
jmp 0x40454e
cmp dword [ebp - 0xc], 0
je 0x40454e
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40387a.66
mov dword [ebp - 4], 1
push str.Exec:_failed_createprocess____s__
jmp 0x403bb8
push 2
pop esi
call fcn.0040372a
push eax
call fcn.00405e4f
mov esi, eax
test esi, esi
je 0x404592
push dword [esi + 0x14]
push ebx
call fcn.00405c43
push dword [esi + 0x18]
jmp 0x404ce3
and byte [edi], 0
and byte [ebx], 0
jmp 0x404eab
push 0xffffffffffffffee
lea eax, [ebp - 0x58]
pop esi
mov dword [ebp + 8], eax
call fcn.0040372a
lea ecx, [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 0x10], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
and byte [edi], 0
and byte [ebx], 0
mov esi, eax
test esi, esi
mov dword [ebp - 4], 1
je case.0x40387a.66
push esi
call fcn.00405aa3
test eax, eax
mov dword [ebp - 0x38], eax
je case.0x40387a.66
push eax
push esi
push 0
push dword [ebp - 0x10]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404625
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 0x408634
push dword [ebp - 0x38]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404625
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.00405c43
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push ebx
call fcn.00405c43
and dword [ebp - 4], 0
push dword [ebp - 0x38]
jmp 0x404196
push 0x8001
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x425c30], 0
jl 0x40470e
push 0xfffffffffffffff0
pop esi
call fcn.0040372a
xor esi, esi
inc esi
mov edi, eax
call fcn.0040372a
cmp dword [ebp - 0x18], 0
mov ebx, eax
je 0x404674
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x404682
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 8], eax
je 0x4046f9
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4046d1
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x4046b3
push dword [ebp - 0x20]
call fcn.00403703
call esi
test eax, eax
je 0x4046e8
mov dword [ebp - 4], 1
jmp 0x4046e8
push 0x40a04c
push 0x40ccb8
push section..ndata
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4046e8
push ebx
push 0xfffffffffffffff7
call fcn.00402842
push edi
push ebx
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00405e33
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x404720
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x404720
push 0xfffffffffffffff6
call fcn.00403703
push edi
push str.Error_registering_DLL:_Could_not_load__s
call fcn.00405e33
pop ecx
jmp 0x40471f
push 0xffffffffffffffe7
call fcn.00403703
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00405e33
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp case.0x40387a.66
push 0xfffffffffffffff0
pop esi
call fcn.0040372a
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 8], eax
call fcn.0040372a
push 2
pop esi
mov edi, eax
call fcn.0040372a
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x38], eax
call fcn.0040372a
push 0x45
pop esi
mov dword [ebp - 0xc], eax
call fcn.0040372a
push edi
mov dword [ebp - 0x34], eax
call fcn.00405ace
test eax, eax
jne 0x404775
push 0x21
pop esi
call fcn.0040372a
mov eax, dword [ebp - 0x18]
mov ecx, eax
sar ecx, 0x10
push ecx
movzx ecx, ah
push ecx
mov esi, 0xff
and eax, esi
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x38]
push edi
push dword [ebp - 8]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00405e33
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x408cb8
push 1
push 0
push 0x408cc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x404894
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x408cd8
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jl 0x404887
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x42c800
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x40480f
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 ecx, dword [ebp - 0xc]
cmp byte [ecx], 0
je 0x404834
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
and edi, esi
push edi
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
xor eax, eax
cmp ebx, eax
jl 0x40487e
push 0x400
mov esi, 0x40e100
push esi
push 0xffffffffffffffff
push dword [ebp - 8]
mov word [0x40e100], ax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jge 0x4048a7
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00403703
jmp case.0x40387a.66
push 0xfffffffffffffff4
jmp 0x40489d
xor esi, esi
call fcn.0040372a
push 0x11
pop esi
mov ebx, eax
call fcn.0040372a
mov esi, eax
push esi
push ebx
push str.CopyFiles___s_____s_
call fcn.00405e33
mov eax, dword [ebp - 8]
add esp, 0xc
push ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 2
call sub.KERNEL32.dll_lstrlenA
and byte [eax + ebx + 1], 0
push esi
call sub.KERNEL32.dll_lstrlenA
and byte [eax + esi + 1], 0
push 0xfffffffffffffff8
mov edi, 0x40d4c0
push edi
call fcn.00406159
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ax, word [ebp - 0x20]
push edi
push 0
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4a], edi
mov word [ebp - 0x54], ax
call fcn.00402842
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x40387a.66
push 0
push 0xfffffffffffffff9
call fcn.00402842
jmp 0x404eab
cmp esi, 0xbadf00d
je 0x404964
push 0x100010
push 0xffffffffffffffe8
push 0
call fcn.00406159
push eax
call fcn.00405a61
mov eax, 0x7fffffff
jmp 0x405157
inc dword [0x425c14]
jmp case.0x40387a.66
xor esi, esi
push str._RM_
mov ebx, 0x40d0c0
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], esi
call sub.KERNEL32.dll_lstrcpyA
push ebx
mov edi, 0x40d4c0
push edi
call sub.KERNEL32.dll_lstrcpyA
cmp dword [ebp - 0x28], esi
je 0x4049a3
call fcn.0040372a
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0
je 0x4049b4
push 0x11
pop esi
call fcn.0040372a
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
je 0x4049c5
push 0x22
pop esi
call fcn.0040372a
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.0040372a
mov esi, eax
push esi
push edi
push ebx
push 0x40ccc0
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00405e33
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x403c7b
xor ebx, ebx
inc ebx
mov esi, ebx
mov dword [ebp + 8], 0x7e4e21
call fcn.0040372a
push 0x12
pop esi
mov dword [ebp - 0x10], eax
call fcn.0040372a
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x34], eax
call fcn.0040372a
push eax
push 0x3ff
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [edi]
cmp eax, dword [ebp + 8]
jne case.0x40387a.66
mov dword [ebp - 4], ebx
jmp 0x403c64
cmp dword [ebp - 0x18], 0
jne 0x404a94
push 2
call fcn.004037e9
mov edi, eax
test edi, edi
je 0x404eab
push 0x33
pop esi
call fcn.0040372a
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40d4c0
push dword [ebp - 0x24]
mov ebx, eax
push str.DeleteRegValue:__d_s_s
call fcn.00405e33
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404ac1
push 0x22
pop esi
call fcn.0040372a
mov esi, eax
push esi
push dword [ebp - 0x24]
push str.DeleteRegKey:__d_s
call fcn.00405e33
mov eax, dword [ebp - 0x18]
add esp, 0xc
and eax, 2
push eax
push esi
push dword [ebp - 0x24]
call fcn.00403762
mov ebx, eax
test ebx, ebx
je case.0x40387a.66
jmp 0x404eab
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp + 8], esi
pop esi
mov dword [ebp - 0x34], eax
call fcn.0040372a
push 0x11
pop esi
mov dword [ebp - 8], eax
call fcn.0040372a
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404bca
xor esi, esi
cmp dword [ebp - 0xc], 1
mov edi, 0x40d4c0
jne 0x404b4e
push 0x23
pop esi
call fcn.0040372a
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 + 8]
push str.WriteRegStr:_set__d_s_s_to__s
call fcn.00405e33
add esp, 0x14
cmp dword [ebp - 0xc], 4
jne 0x404b7b
push 3
pop ecx
call fcn.00403714
push 4
pop esi
push eax
push dword [ebp - 8]
mov dword [0x40d4c0], eax
push dword [ebp - 0x38]
push dword [ebp + 8]
push str.WriteRegDWORD:_set__d_s_s_to__d
call fcn.00405e33
add esp, 0x14
cmp dword [ebp - 0xc], 3
jne 0x404ba9
push 0xc00
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.00405593
mov esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 0x38]
push dword [ebp + 8]
push str.WriteRegBin:_set__d_s_s_with__d_bytes
call fcn.00405e33
add esp, 0x14
push esi
push edi
push dword [ebp - 0x34]
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x404bc2
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
jmp 0x404ca5
push dword [ebp - 0x38]
push dword [ebp + 8]
push str.WriteReg:_error_creating_key__d_s
jmp 0x403df5
push 0x20019
call fcn.004037e9
push 0x33
pop esi
mov ebx, eax
call fcn.0040372a
and byte [edi], 0
xor esi, esi
cmp ebx, esi
je 0x404eab
lea ecx, [ebp - 0x34]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push ebx
mov dword [ebp - 0x34], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x404c49
cmp dword [ebp + 8], 4
je 0x404c33
cmp dword [ebp + 8], ecx
je 0x404c2c
cmp dword [ebp + 8], 2
jne 0x404c49
cmp dword [ebp - 0x18], esi
je 0x404c4f
jmp 0x404c4c
cmp dword [ebp - 0x18], esi
jne 0x404c3f
mov dword [ebp - 4], 1
push dword [edi]
push edi
call fcn.00405c43
jmp 0x404c4f
and byte [edi], 0
mov dword [ebp - 4], ecx
push ebx
jmp 0x404ca5
push 0x20019
call fcn.004037e9
push 3
pop ecx
mov esi, eax
call fcn.00403714
and byte [edi], 0
xor edx, edx
cmp esi, edx
je 0x404eab
cmp dword [ebp - 0x18], edx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x404c8c
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x404c9d
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
and byte [edi + 0x3ff], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40387a.66
cmp byte [edi], 0
je case.0x40387a.66
push edi
call fcn.00405c5c
push eax
jmp 0x404551
push 0xffffffffffffffed
pop esi
call fcn.0040372a
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405b62
cmp eax, 0xffffffff
je 0x404ea8
push eax
push edi
jmp 0x405071
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x20], 0
je 0x404d02
mov ecx, ebx
call fcn.00403714
mov byte [0x40d0c0], al
mov eax, ebx
jmp 0x404d10
push 0x11
pop esi
call fcn.0040372a
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x404d36
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40d0c0
push edi
call fcn.00405c5c
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne case.0x40387a.66
mov dword [ebp - 4], ebx
jmp case.0x40387a.66
push 2
pop ecx
xor esi, esi
call fcn.00403714
cmp eax, 1
mov dword [ebp - 0x38], eax
jl case.0x40387a.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x404d60
mov dword [ebp - 0x38], ecx
cmp byte [edi], 0
je 0x404df2
and byte [ebp + 0xb], 0
push edi
call fcn.00405c5c
cmp dword [ebp - 0x38], 0
mov edi, eax
jle 0x404df2
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x2d]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404df2
cmp dword [ebp - 0x34], 1
jne 0x404df2
cmp dword [ebp - 0x1c], 0
jne 0x404dbf
cmp byte [ebp + 0xb], 0xd
je 0x404dcf
cmp byte [ebp + 0xb], 0xa
je 0x404dcf
mov al, byte [ebp - 0x2d]
mov byte [esi + ebx], al
inc esi
test al, al
mov byte [ebp + 0xb], al
je 0x404df2
cmp esi, dword [ebp - 0x38]
jl 0x404d7b
jmp 0x404df2
movzx eax, byte [ebp - 0x2d]
push eax
push ebx
call fcn.00405c43
jmp 0x405155
mov al, byte [ebp - 0x2d]
cmp byte [ebp + 0xb], al
je 0x404de5
cmp al, 0xd
je 0x404ddf
cmp al, 0xa
jne 0x404de5
mov byte [esi + ebx], al
inc esi
jmp 0x404df2
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and byte [esi + ebx], 0
test esi, esi
jne case.0x40387a.66
jmp 0x404eab
cmp byte [edi], 0
je case.0x40387a.66
push dword [ebp - 0x1c]
push 0
push 2
pop ecx
call fcn.00403714
push eax
push edi
call fcn.00405c5c
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], 0
jl case.0x40387a.66
push eax
push ebx
jmp 0x405071
cmp byte [edi], 0
je case.0x40387a.66
push edi
call fcn.00405c5c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40387a.66
cmp byte [ebx], 0
je 0x403c5d
lea eax, [ebp - 0x1a4]
push eax
push ebx
call fcn.00405c5c
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403c5d
lea eax, [ebp - 0x178]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
jmp case.0x40387a.66
push 2
pop esi
call fcn.0040372a
lea ecx, [ebp - 0x1a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x404eb7
and byte [ebx], 0
and byte [edi], 0
mov dword [ebp - 4], 1
jmp case.0x40387a.66
push eax
push ebx
call fcn.00405c43
jmp 0x404e78
xor esi, esi
mov dword [ebp - 0xc], 0xfffffd66
call fcn.0040372a
mov esi, eax
push esi
call fcn.00405ace
test eax, eax
mov ebx, 0x40d0c0
push esi
je 0x404ee8
push ebx
call sub.KERNEL32.dll_lstrcpyA
jmp 0x404f00
push 0x42c400
push ebx
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00405e8d
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
call fcn.00405cf1
push 2
push 0x40000000
push ebx
call fcn.00405b62
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x404fc1
mov eax, dword [0x425be8]
push eax
mov dword [ebp - 0x10], eax
call fcn.00405aa3
mov edi, eax
test edi, edi
je 0x404fb8
push 0
call fcn.00405391
push dword [ebp - 0x10]
push edi
call fcn.0040535f
push dword [ebp - 0x20]
call fcn.00405aa3
mov esi, eax
test esi, esi
mov dword [ebp - 0x34], esi
je 0x404f8e
push dword [ebp - 0x20]
push esi
push 0
push dword [ebp - 0x24]
call fcn.00405593
jmp 0x404f80
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x3c], ecx
call fcn.00405b42
add esi, dword [ebp - 0x3c]
cmp byte [esi], 0
jne 0x404f68
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
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.00405593
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0xc]
push str.created_uninstaller:__d____s_
call fcn.00405e33
add esp, 0xc
cmp dword [ebp - 0xc], 0
push 0xfffffffffffffff3
pop esi
jge 0x404fec
push 0xffffffffffffffef
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
jmp 0x40489d
test esi, esi
je 0x40502b
push edx
push str.settings_logging_to__d
call fcn.00405e33
mov eax, dword [ebp - 0x24]
push eax
push str.logging_set_to__d
mov dword [0x423f78], eax
call fcn.00405e33
add esp, 0x10
cmp dword [ebp - 0x24], 0
je case.0x40387a.66
call fcn.00401574
jmp case.0x40387a.66
xor esi, esi
inc esi
call fcn.0040372a
push eax
push 0x40876c
jmp 0x403bb8
xor ecx, ecx
call fcn.00403714
mov esi, eax
cmp esi, dword [0x425bac]
jae 0x404eab
mov ecx, dword [0x425ba8]
lea eax, [esi + esi*2]
lea edi, [ecx + eax*8]
mov eax, dword [ebp - 0x20]
test eax, eax
jl 0x40507b
mov edi, dword [edi + eax*4]
push edi
push ebx
je 0x40511f
call fcn.00405c43
jmp case.0x40387a.66
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x405098
xor ecx, ecx
inc ecx
call fcn.00403714
mov dword [ebp - 0x24], eax
jmp 0x4050a6
push dword [ebp - 0x24]
push esi
push 0x417
push dword [ebp - 0xc]
call ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [edi + eax*4], ecx
cmp dword [ebp - 0x20], 0
je case.0x40387a.66
push 0
push esi
push 0x418
push dword [ebp - 0xc]
call ebx
jmp case.0x40387a.66
xor ecx, ecx
call fcn.00403714
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
je 0x4050f1
inc dword [0x425c1c]
push ecx
push ecx
push 0x432
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x40387a.66
cmp eax, 0x20
jae 0x404eab
cmp dword [ebp - 0x20], ecx
je 0x405111
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x425b80]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40387a.66
mov ecx, dword [0x425b80]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.00406159
jmp case.0x40387a.66
mov eax, dword [0x40c8b0]
xor edi, edi
push edi
and eax, esi
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x28], edi
je case.0x40387a.66
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x425c08], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4