Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x42cbc8]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, ecx
mov dword [ebp - 0xc], eax
mov eax, section..ndata
shl esi, 0xb
shl edi, 0xb
add esi, eax
add edi, eax
lea eax, [ebp - 0x30]
xor ebx, ebx
mov dword [0x40dfb4], eax
lea eax, [edx - 2]
cmp eax, 0x44
mov dword [ebp - 4], ebx
ja case.0x401486.67
jmp dword [eax*4 + 0x403051]
push ecx
push str.Jump:__d
call fcn.00406f09
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
jmp 0x40304a
push ebx
call fcn.004031bf
push eax
push str.Aborting:___s_
call fcn.00406f09
pop ecx
pop ecx
push ebx
push dword [ebp - 0x30]
call fcn.00405968
jmp 0x40266a
inc dword [0x42bb8c]
cmp dword [ebp - 0xc], ebx
je 0x40266a
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40266a
push ecx
call fcn.0040136d
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406f09
pop ecx
pop ecx
push ebx
push esi
call fcn.00401389
jmp 0x40304a
push ebx
call fcn.004031bf
push eax
push str.DetailPrint:__s
call fcn.00406f09
pop ecx
pop ecx
push ebx
push dword [ebp - 0x30]
call fcn.00405968
jmp case.0x401486.67
push ebx
call fcn.0040319d
mov esi, eax
mov dword [ebp - 0x40], edx
push esi
push str.Sleep__d_
call fcn.00406f09
add esp, 0xc
cmp esi, 1
jg 0x401542
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401486.67
push str.BringToFront
call fcn.00406f09
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401486.67
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x4015a5
mov ecx, dword [eax + 0x42cc60]
push 1
mov dword [eax + 0x42cca0], ecx
call fcn.0040319d
mov ecx, dword [ebp - 0x30]
push eax
push ecx
mov dword [ebp - 0x40], edx
mov dword [ecx*4 + 0x42cc60], eax
push str.SetFlag:__d_d
call fcn.00406f09
add esp, 0x10
jmp case.0x401486.67
mov ecx, dword [eax + 0x42cca0]
mov dword [eax + 0x42cc60], ecx
jmp case.0x401486.67
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x42cc60]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [esi], ecx
jmp 0x40304a
mov eax, dword [ebp - 0x2c]
push dword [eax*4 + 0x42cc60]
push esi
jmp 0x402f8d
mov eax, dword [0x42bb90]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x4015ff
push dword [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x42bba4]
cmp eax, ebx
je case.0x401486.67
push ecx
push eax
call esi
jmp case.0x401486.67
push 0xfffffffffffffff0
call fcn.004031bf
push dword [ebp - 0x2c]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406f09
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401486.67
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406f09
jmp 0x402433
push 0xfffffffffffffff0
call fcn.004031bf
push dword [ebp - 0x2c]
mov dword [ebp + 8], eax
push eax
push str.CreateDirectory:___s____d_
call fcn.00406f09
add esp, 0xc
push dword [ebp + 8]
call fcn.0040630e
mov esi, eax
cmp esi, ebx
je 0x401716
push 0x5c
push esi
call fcn.00406290
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x4016b1
cmp dword [ebp - 0x28], ebx
je 0x4016b1
call fcn.00405f06
test eax, eax
je 0x4016b1
push dword [ebp + 8]
call fcn.00405e6c
jmp 0x4016b9
push dword [ebp + 8]
call fcn.00405ee9
cmp eax, ebx
je 0x4016f9
cmp eax, 0xb7
je 0x4016da
push eax
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406f09
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401708
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401708
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406f09
inc dword [ebp - 4]
jmp 0x401706
push dword [ebp + 8]
push str.CreateDirectory:___s__created
call fcn.00406f09
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x401684
cmp dword [ebp - 0x2c], ebx
je 0x40175f
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x438000
call fcn.0040698e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x401486.67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406f09
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x401486.67
push 0xfffffffffffffff5
jmp 0x4025ae
push ebx
call fcn.004031bf
mov esi, eax
push esi
call fcn.00406f3a
test eax, eax
je 0x40178e
push dword [ebp - 0x2c]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406f09
add esp, 0xc
jmp 0x401f4f
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406f09
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x40304a
push 0xffffffffffffffd0
call fcn.004031bf
push 0xffffffffffffffdf
mov esi, eax
call fcn.004031bf
push 0x13
mov dword [ebp + 8], eax
call fcn.004031bf
mov edi, eax
push edi
push str.Rename:__s
call fcn.00406f09
pop ecx
pop ecx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4017e5
push 0xffffffffffffffe3
jmp 0x4025ae
cmp dword [ebp - 0x28], ebx
je 0x40180f
push esi
call fcn.00406f3a
test eax, eax
je 0x40180f
push dword [ebp + 8]
push esi
call fcn.00406754
push 0xffffffffffffffe4
call fcn.00401423
push edi
push str.Rename_on_reboot:__s
jmp 0x40242d
push edi
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x40242d
push ebx
call fcn.004031bf
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401862
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40186c
cmp word [eax], bx
je 0x40186c
push esi
call fcn.00406f3a
cmp eax, ebx
je 0x401862
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040698e
jmp 0x40186c
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x28], ebx
jne case.0x401486.67
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401486.67
push 0xffffffffffffffff
call fcn.004031bf
lea ecx, [ebp + 8]
push ecx
push esi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401486.67
jmp 0x402d17
push 0xffffffffffffffef
call fcn.004031bf
push eax
push esi
call fcn.004064b3
test eax, eax
jne case.0x401486.67
jmp 0x402d46
push 0x31
call fcn.004031bf
mov esi, eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
push esi
sar eax, 3
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], ecx
call fcn.00406f09
add esp, 0x10
push esi
call fcn.004062da
push esi
mov esi, 0x40b758
test eax, eax
je 0x40190e
push esi
call fcn.0040698e
jmp 0x401925
push 0x438000
push esi
call fcn.0040698e
push eax
call fcn.00406263
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406c3d
mov edi, 0x40c758
cmp dword [ebp + 8], 3
jl 0x401967
push esi
call fcn.00406f3a
xor ecx, ecx
cmp eax, ebx
je 0x401952
lea ecx, [ebp - 0x24]
add eax, 0x14
push ecx
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 0x401972
push esi
call fcn.0040645f
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406484
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401a4b
cmp dword [ebp + 8], ebx
jne 0x401a10
push esi
push str.File:_error_creating___s_
call fcn.00406f09
pop ecx
pop ecx
push section..ndata
push edi
call fcn.0040698e
push esi
push section..ndata
call fcn.0040698e
push dword [ebp - 0x1c]
push 0x40bf58
call fcn.004069cb
push edi
push section..ndata
call fcn.0040698e
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40bf58
call fcn.00405f9b
sub eax, 4
jne 0x4019fa
push str.File:_error__user_retry
call fcn.00406f09
pop ecx
jmp 0x401930
dec eax
je 0x401a35
push str.File:_error__user_abort
call fcn.00406f09
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x4014b9
push dword [ebp - 0x18]
push 0xffffffffffffffe2
call fcn.00405968
cmp dword [ebp + 8], 2
jne 0x401a27
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
jmp 0x402944
push str.File:_error__user_cancel
call fcn.00406f09
inc dword [0x42cc68]
pop ecx
jmp 0x403048
push dword [ebp - 0x18]
push 0xffffffffffffffea
call fcn.00405968
inc dword [0x42cc94]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x28]
call fcn.004036cd
dec dword [0x42cc94]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406f09
add esp, 0xc
cmp dword [ebp - 0x24], 0xffffffff
jne 0x401a8b
cmp dword [ebp - 0x20], 0xffffffff
je 0x401a9d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x401486.67
cmp edi, 0xfffffffe
jne 0x401ac6
push 0xffffffffffffffe9
push esi
call fcn.004069cb
push dword [ebp - 0x18]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401ace
push 0xffffffffffffffee
push esi
call fcn.004069cb
push esi
push 0x40a76c
call fcn.00406f09
pop ecx
pop ecx
push 0x200010
push esi
jmp 0x402665
push ebx
call fcn.004031bf
mov esi, eax
push esi
push str.Delete:___s_
jmp 0x401b4a
push 0x31
call fcn.004031bf
mov esi, eax
push esi
push dword [ebp - 0x30]
push str.MessageBox:__d___s_
call fcn.00406f09
add esp, 0xc
push dword [ebp - 0x30]
push esi
call fcn.00405f9b
cmp eax, ebx
je 0x402d46
cmp eax, dword [ebp - 0x28]
je 0x401ca6
cmp eax, dword [ebp - 0x20]
jne case.0x401486.67
mov eax, dword [ebp - 0x1c]
jmp 0x40304a
push 0xfffffffffffffff0
call fcn.004031bf
mov esi, eax
push esi
push str.RMDir:___s_
call fcn.00406f09
pop ecx
pop ecx
push dword [ebp - 0x2c]
push esi
call fcn.00406047
jmp case.0x401486.67
push 1
call fcn.004031bf
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402a5f
push 2
call fcn.0040319d
push 3
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
call fcn.0040319d
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x44]
pop ecx
push 1
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edx
mov dword [ebp + 8], eax
call fcn.004031bf
push eax
mov dword [ebp - 0x10], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x40], ebx
mov word [esi], bx
jne 0x401bb0
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x401486.67
mov ecx, dword [ebp - 0x80]
cmp ecx, ebx
jge 0x401bcb
lea edi, [eax + ecx]
cmp edi, ebx
jl case.0x401486.67
cmp edi, eax
jle 0x401bd1
mov edi, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.0040698e
cmp dword [ebp + 8], ebx
jge 0x401bf1
push esi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401bf1
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x401486.67
mov word [esi + eax*2], bx
jmp case.0x401486.67
push 0x20
call fcn.004031bf
push 0x31
mov esi, eax
call fcn.004031bf
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401c2e
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ca6
jmp 0x40179f
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401c25
xor edi, edi
inc edi
push edi
call fcn.004031bf
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401c66
cmp dword [ebp - 0x28], ebx
je 0x401c6c
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c6c
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x401486.67
mov esi, dword [ebp - 0x1c]
push ebx
call fcn.0040319d
push 1
mov edi, eax
mov dword [ebp - 0x40], edx
call fcn.0040319d
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x40], edx
jne 0x401ca2
cmp edi, eax
jl 0x401ca6
jle 0x40179f
jmp 0x401cb4
cmp edi, eax
jae 0x401cae
mov eax, dword [ebp - 0x24]
jmp 0x40304a
jbe 0x40179f
mov eax, dword [ebp - 0x20]
jmp 0x40304a
push 1
call fcn.0040319d
mov edi, eax
push 2
mov dword [ebp - 0x40], edx
mov dword [ebp + 8], edi
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
ja case.default.0x401ce5
jmp dword [eax*4 + 0x403165]
add edi, ecx
jmp 0x40206a
sub edi, ecx
jmp 0x40206a
imul ecx, edi
jmp 0x401d19
cmp ecx, ebx
je 0x401d56
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp 0x40206a
or ecx, edi
jmp 0x401d19
and ecx, edi
jmp 0x401d19
xor ecx, edi
mov edi, ecx
jmp 0x40206a
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401d08
cmp edi, ebx
jne 0x401d3e
jmp 0x401d3a
xor edi, edi
jmp 0x40206a
cmp edi, ebx
je 0x401d2f
cmp ecx, ebx
je 0x401d2f
xor edi, edi
inc edi
jmp 0x40206a
cmp ecx, ebx
je 0x401d56
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp 0x40206a
xor edi, edi
mov dword [ebp - 4], 1
jmp 0x40206a
shl edi, cl
jmp 0x40206a
sar edi, cl
jmp 0x40206a
shr edi, cl
jmp 0x40206a
mov edi, dword [ebp + 8]
jmp 0x40206a
push 1
call fcn.004031bf
push 2
mov edi, eax
call fcn.0040319d
push eax
push edi
push esi
mov dword [ebp - 0x40], edx
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x40159d
mov eax, dword [ebp - 0x28]
mov edi, dword [0x40dfb8]
cmp eax, ebx
je 0x401dff
dec eax
cmp edi, ebx
je 0x401dbe
mov edi, dword [edi]
cmp eax, ebx
jne 0x401daf
cmp edi, ebx
jne 0x401dd2
push dword [ebp - 0x28]
push str.Exch:_stack____d_elements
call fcn.00406f09
pop ecx
pop ecx
jmp 0x402657
add edi, 4
mov esi, 0x40b758
push edi
push esi
call fcn.0040698e
mov eax, dword [0x40dfb8]
add eax, 4
push eax
push edi
call fcn.0040698e
mov eax, dword [0x40dfb8]
push esi
add eax, 4
push eax
jmp 0x402f00
cmp dword [ebp - 0x2c], ebx
je 0x401e35
cmp edi, ebx
jne 0x401e18
push str.Pop:_stack_empty
call fcn.00406f09
pop ecx
jmp 0x402d46
lea eax, [edi + 4]
push eax
push esi
call fcn.0040698e
mov eax, dword [edi]
push edi
mov dword [0x40dfb8], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401486.67
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004069cb
mov eax, dword [0x40dfb8]
mov dword [esi], eax
mov dword [0x40dfb8], esi
jmp case.0x401486.67
push 3
call fcn.0040319d
push 4
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], eax
call fcn.0040319d
test byte [ebp - 0x1c], 1
pop ecx
mov dword [ebp - 0x40], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401e8e
push 0x33
call fcn.004031bf
mov dword [ebp - 0x14], eax
test byte [ebp - 0x1c], 2
je 0x401e9e
push 0x44
call fcn.004031bf
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
push 1
jne 0x401ef2
call fcn.0040319d
push 2
mov edi, eax
mov dword [ebp - 0x40], edx
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
pop ecx
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401ee2
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401f25
push dword [ebp + 8]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401f22
call fcn.004031bf
push 0x12
mov edi, eax
call fcn.004031bf
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [edi]
neg ax
sbb eax, eax
push ecx
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x30], ebx
jl case.0x401486.67
push dword [ebp - 8]
jmp 0x4015e1
push ebx
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40179f
mov eax, dword [ebp - 0x2c]
jmp 0x40304a
push 2
call fcn.0040319d
push 1
mov edi, eax
mov dword [ebp - 0x40], edx
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
pop ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402a5f
mov eax, dword [0x42cc28]
mov ecx, dword [ebp - 0x2c]
push ebx
lea esi, [eax + ecx]
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401486.67
test byte [ebp - 0x23], 1
je 0x401fb3
push 2
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
jmp 0x401fbf
push dword [ebp - 0x28]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, ecx
mov edi, ecx
and eax, 3
and edi, 4
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 0x1e
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x18], eax
je 0x401ff6
push 0x11
call fcn.004031bf
jmp 0x401ffa
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x80]
imul eax, dword [ebp - 0x14]
push eax
push dword [ebp - 8]
neg edi
push dword [ebp - 0x10]
sbb edi, edi
and edi, dword [0x42cbc0]
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
push edi
push dword [ebp - 8]
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x402061
cmp dword [ebp - 8], ebx
jne 0x402061
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x30], ebx
jl case.0x401486.67
push edi
jmp 0x4015e1
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.0040319d
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push edi
mov dword [ebp - 0x40], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 0xc]
neg eax
mov dword [0x40df58], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.0040319d
mov dword [0x40df68], eax
mov al, byte [ebp - 0x20]
pop ecx
mov dword [ebp - 0x40], edx
push dword [ebp - 0x2c]
mov cl, al
and cl, 1
mov byte [0x40df6f], 1
mov byte [0x40df6c], cl
mov cl, al
and cl, 2
and al, 4
push 0x40df74
mov byte [0x40df6d], cl
mov byte [0x40df6e], al
call fcn.004069cb
push 0x40df58
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402a5f
push ebx
call fcn.0040319d
push 1
mov esi, eax
mov dword [ebp - 0x40], edx
call fcn.0040319d
cmp dword [ebp - 0x28], ebx
pop ecx
pop ecx
mov edi, eax
mov dword [ebp - 0x40], edx
je 0x402129
push str.HideWindow
call fcn.00406f09
pop ecx
cmp dword [ebp - 0x24], ebx
push edi
push esi
jne 0x40213b
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401486.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401486.67
push ebx
call fcn.004031bf
push 0x31
mov esi, eax
call fcn.004031bf
push 0x22
mov ebx, eax
call fcn.004031bf
push 0x15
mov edi, eax
call fcn.004031bf
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x68], ebx
and eax, esi
mov dword [ebp - 0x6c], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x60], 0x438000
and eax, edi
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
call fcn.00405f61
test eax, eax
jne 0x4021cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406f09
add esp, 0x14
jmp 0x402d46
test byte [ebp - 0x74], 0x40
je 0x4021e4
push dword [ebp - 0x40]
call fcn.0040707c
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
jmp 0x401598
push ebx
call fcn.004031bf
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406f09
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00405968
push esi
call fcn.00405f1e
cmp eax, ebx
mov dword [ebp + 8], eax
push esi
je 0x40225c
push str.Exec:_success____s__
call fcn.00406f09
cmp dword [ebp - 0x28], ebx
pop ecx
pop ecx
je 0x40224e
push dword [ebp + 8]
call fcn.0040707c
cmp dword [ebp - 0x2c], ebx
jl 0x402243
push eax
push edi
call fcn.004068d5
jmp 0x40224e
cmp eax, ebx
je 0x40224e
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401486.67
mov dword [ebp - 4], 1
push 0x40a528
jmp 0x40242d
push 2
call fcn.004031bf
push eax
call fcn.00406f3a
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402294
mov ebx, eax
push dword [ebx + 0x14]
push edi
call fcn.004068d5
push dword [ebx + 0x18]
jmp 0x4015e1
mov word [esi], bx
mov word [edi], bx
jmp 0x402d46
push 0xffffffffffffffee
call fcn.004031bf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
push ecx
push eax
push 0xa
call fcn.00406fd1
call eax
mov word [esi], bx
cmp eax, ebx
mov dword [ebp - 0x10], eax
mov word [edi], bx
mov dword [ebp - 4], 1
je case.0x401486.67
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401486.67
push 0xb
call fcn.00406fd1
push 0xc
mov dword [ebp - 0x14], eax
call fcn.00406fd1
push dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x18]
call dword [ebp - 0x14]
test eax, eax
je 0x40233a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 8]
push eax
push 0x40a524
push dword [ebp + 8]
call dword [ebp - 0x3c]
test eax, eax
je 0x40233a
mov eax, dword [ebp - 8]
push dword [eax + 8]
push esi
call fcn.004068d5
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push edi
call fcn.004068d5
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401e2a
cmp dword [0x42cc98], ebx
mov dword [ebp - 4], 1
jl 0x402439
push 0xfffffffffffffff0
call fcn.004031bf
push 1
mov edi, eax
call fcn.004031bf
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 8], eax
je 0x40237b
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402390
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402420
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00407040
mov esi, eax
cmp esi, ebx
je 0x4023de
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x4023c0
push dword [ebp - 0x28]
call fcn.00401423
call esi
test eax, eax
je 0x4023f9
mov dword [ebp - 4], 1
jmp 0x4023f9
push section..data
push 0x40dfb8
push section..ndata
push 0x400
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x4023f9
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00405968
push edi
push dword [ebp - 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406f09
add esp, 0xc
cmp dword [ebp - 0x24], ebx
jne case.0x401486.67
push dword [ebp + 8]
call fcn.00403ed2
test eax, eax
je case.0x401486.67
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401486.67
push 0xfffffffffffffff6
call fcn.00401423
push edi
push str.Error_registering_DLL:_Could_not_load__s
call fcn.00406f09
pop ecx
pop ecx
jmp case.0x401486.67
push 0xffffffffffffffe7
call fcn.00401423
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40164d
push 0xfffffffffffffff0
call fcn.004031bf
push 0xffffffffffffffdf
mov dword [ebp - 0x38], eax
call fcn.004031bf
push 2
mov dword [ebp - 8], eax
call fcn.004031bf
push 0xffffffffffffffcd
mov dword [ebp - 0x3c], eax
call fcn.004031bf
push 0x45
mov dword [ebp - 0x18], eax
call fcn.004031bf
push dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov edi, eax
mov ecx, eax
mov esi, eax
and ecx, 0x8000
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
and edi, 0xfff
mov dword [ebp - 0x7c], ecx
and esi, 7
mov dword [ebp - 0x10], eax
call fcn.004062da
test eax, eax
jne 0x4024b8
push 0x21
call fcn.004031bf
push dword [ebp - 0x10]
push esi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
push dword [ebp - 8]
push dword [ebp - 0x38]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406f09
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x4084e4
push 1
push ebx
push 0x4084f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4025a5
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xc]
push edx
push 0x408504
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x402597
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x7c], ebx
mov dword [ebp - 0x14], eax
jne 0x402533
mov eax, dword [ebp + 8]
push 0x438000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x402541
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x18]
cmp word [ecx], bx
je 0x402560
mov eax, dword [ebp + 8]
push edi
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x14], ebx
jl 0x40258e
mov eax, dword [ebp - 0xc]
push 1
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], ebx
jge 0x4025b8
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x401486.67
push 0xfffffffffffffff4
jmp 0x4025ae
push ebx
call fcn.004031bf
push 0x11
mov esi, eax
call fcn.004031bf
push 0x23
mov edi, eax
call fcn.004031bf
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [ebp + 8], eax
call fcn.00406f09
add esp, 0xc
push esi
call fcn.00406f3a
test eax, eax
jne 0x4025fd
push ebx
push 0xfffffffffffffff9
call fcn.00405968
jmp 0x402d46
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 2
call sub.KERNEL32.dll_lstrlenW
push edi
mov word [esi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [edi + eax*2 + 2], bx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x42], eax
mov word [ebp - 0x4c], cx
call fcn.00405968
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401486.67
jmp 0x4025f0
cmp ecx, 0xbadf00d
je 0x402674
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004069cb
push eax
call fcn.00405f9b
mov eax, 0x7fffffff
jmp 0x40304a
inc dword [0x42cc74]
jmp case.0x401486.67
mov esi, 0x40bf58
push str._RM_
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
call fcn.0040698e
mov edi, 0x40c758
push esi
push edi
call fcn.0040698e
cmp dword [ebp - 0x30], ebx
je 0x4026b2
push ebx
call fcn.004031bf
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], ebx
je 0x4026c1
push 0x11
call fcn.004031bf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], ebx
je 0x4026d0
push 0x22
call fcn.004031bf
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
call fcn.004031bf
mov ebx, eax
push ebx
push edi
push esi
push 0x40b758
push 0x40a310
call fcn.00406f09
add esp, 0x14
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4018bc
mov eax, dword [0x40a30c]
push 1
mov dword [ebp + 8], eax
call fcn.004031bf
push 0x12
mov edi, eax
call fcn.004031bf
push 0xffffffffffffffdd
mov dword [ebp - 0x40], eax
call fcn.004031bf
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x4018a3
mov edi, dword [ebp - 0x2c]
push edi
call fcn.00406d81
cmp dword [ebp - 0x20], ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x402799
push 2
call fcn.004031ff
mov edi, eax
cmp edi, ebx
je 0x402d46
push 0x33
call fcn.004031bf
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x40c758
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406f09
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4027c3
push 0x22
call fcn.004031bf
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406f09
mov eax, dword [ebp - 0x20]
add esp, 0xc
sar eax, 1
push eax
push esi
push edi
call fcn.0040327d
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
je case.0x401486.67
jmp 0x402d46
mov eax, dword [ebp - 0x20]
push 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov edi, ecx
mov dword [ebp - 0x3c], eax
call fcn.004031bf
push 0x11
mov dword [ebp - 0xc], eax
call fcn.004031bf
push edi
mov dword [ebp + 8], eax
call fcn.00406d81
pop ecx
xor esi, esi
push 2
inc esi
push dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], esi
push edi
call fcn.0040324f
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x402939
cmp dword [ebp - 8], esi
mov dword [ebp - 0x14], ebx
mov edi, 0x40c758
jne 0x402868
push 0x23
call fcn.004031bf
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x3c], esi
push edi
push dword [ebp - 0xc]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
push dword [ebp - 0x38]
jne 0x40285b
push str.WriteRegStr:___s_s____s___s_
call fcn.00406f09
add esp, 0x14
jmp 0x4028fe
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406f09
add esp, 0x14
push 4
pop esi
cmp dword [ebp - 8], esi
jne 0x402899
push 3
call fcn.0040319d
push eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0xc]
mov dword [0x40c758], eax
mov dword [ebp - 0x14], esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406f09
add esp, 0x18
cmp dword [ebp - 8], 3
jne 0x4028fe
cmp dword [ebp - 0x3c], ebx
jne 0x4028ab
mov esi, str.WriteRegNone
jmp 0x4028bb
cmp dword [ebp - 0x3c], 7
mov esi, str.WriteRegMultiStr
je 0x4028bb
mov esi, str.WriteRegBin
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.004036cd
mov dword [ebp - 0x14], eax
push eax
push edi
lea eax, [ebp - 0x188]
push 0x80
push eax
call fcn.00406e8b
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x38]
push esi
push str._s:___s_s____s___s_
call fcn.00406f09
add esp, 0x28
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x3c]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40291b
mov dword [ebp - 4], ebx
jmp 0x402931
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x38]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406f09
add esp, 0x10
push dword [ebp - 0x10]
jmp 0x402a24
push dword [ebp + 8]
push dword [ebp - 0x38]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406f09
add esp, 0xc
jmp case.0x401486.67
push 0x20019
call fcn.004031ff
push 0x33
mov edi, eax
call fcn.004031bf
cmp edi, ebx
mov word [esi], bx
je 0x402d46
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x800
push ecx
lea ecx, [ebp + 8]
push esi
push ecx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4029bd
cmp dword [ebp + 8], 4
je 0x4029a8
cmp dword [ebp + 8], ecx
je 0x4029a0
cmp dword [ebp + 8], 2
jne 0x4029bd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x402a1c
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.004068d5
jmp 0x402a23
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x402a23
push 0x20019
call fcn.004031ff
push 3
mov edi, eax
call fcn.0040319d
cmp edi, ebx
pop ecx
mov dword [ebp - 0x40], edx
mov word [esi], bx
je 0x402d46
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x402a00
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402a1c
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402a1c
mov dword [ebp - 4], 1
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401486.67
push esi
call fcn.004068ee
cmp eax, ebx
je case.0x401486.67
push eax
jmp 0x402251
push 0xffffffffffffffed
call fcn.004031bf
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00406484
cmp eax, 0xffffffff
je 0x402d43
push eax
jmp 0x4015e1
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x40], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x402a94
push 1
call fcn.0040319d
mov word [0x40bf58], ax
xor eax, eax
cmp edi, ebx
pop ecx
sete al
mov dword [ebp - 0x7c], edx
inc eax
jmp 0x402ad3
cmp edx, 0x38
jne 0x402ac4
push 0x21
call fcn.004031bf
push 0x400
push 0x40bf58
push 0x40c758
call fcn.004069b0
add esp, 0xc
push 0x40bf58
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402ad3
push 0x11
call fcn.004031bf
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x402d46
push esi
call fcn.004068ee
or edi, dword [ebp - 0x40]
mov esi, eax
jne 0x402b00
cmp dword [ebp - 0x24], ebx
je 0x402b00
push esi
push esi
call fcn.00406565
test eax, eax
jl 0x402d46
push dword [ebp + 8]
push 0x40bf58
push esi
call fcn.00406536
jmp 0x4018bc
push 2
mov dword [ebp - 0xc], ebx
pop eax
push eax
mov dword [ebp - 0x3c], eax
call fcn.0040319d
cmp eax, 1
pop ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x10], eax
jl case.0x401486.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402b3e
mov dword [ebp - 0x10], ecx
cmp word [esi], bx
je 0x402c9f
push esi
mov dword [ebp - 8], ebx
call fcn.004068ee
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
jle 0x402c9f
cmp dword [ebp - 0x34], 0x39
jne 0x402bfd
lea eax, [ebp - 0x18]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x24]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c9f
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x402c9f
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jne 0x402c60
lea eax, [ebp - 0x38]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x402c2a
mov esi, dword [ebp - 0x3c]
neg esi
dec dword [ebp - 0x18]
mov eax, 0xfffd
mov dword [ebp - 0x38], eax
je 0x402c2d
dec dword [ebp - 0x3c]
inc esi
push 1
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x38]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x18]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x402bc3
jmp 0x402c2a
cmp dword [ebp - 0x24], ebx
jne 0x402c18
cmp dword [ebp - 0xc], ebx
jne 0x402c18
push ebx
push dword [ebp - 0x14]
call fcn.00406565
test eax, eax
jl 0x402c9f
lea eax, [ebp - 0x38]
push 2
push eax
push dword [ebp - 0x14]
call fcn.00406507
test eax, eax
je 0x402c9f
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x24], ebx
jne 0x402c60
cmp word [ebp - 8], 0xd
je 0x402c6f
cmp word [ebp - 8], 0xa
je 0x402c6f
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp ax, bx
mov dword [ebp - 8], eax
mov word [edi + ecx*2], ax
je 0x402c9f
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jl 0x402b5c
jmp 0x402c9f
movzx eax, ax
push eax
push edi
call fcn.004068d5
jmp 0x403048
cmp word [ebp - 8], ax
je 0x402c8d
cmp ax, 0xd
je 0x402c81
cmp ax, 0xa
jne 0x402c8d
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [edi + ecx*2], ax
jmp 0x402c9f
mov eax, dword [ebp - 0x3c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov word [edi + eax*2], bx
jmp 0x4018be
cmp word [esi], bx
je case.0x401486.67
push 2
call fcn.0040319d
pop ecx
mov dword [ebp - 0x40], edx
push dword [ebp - 0x24]
push ebx
push eax
push esi
call fcn.004068ee
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x401486.67
jmp 0x402f8b
push esi
call fcn.004068ee
cmp eax, ebx
je case.0x401486.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401486.67
push edi
call fcn.004068ee
cmp eax, ebx
je 0x402d17
lea ecx, [ebp - 0x3d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402d59
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x401486.67
push 2
call fcn.004031bf
lea ecx, [ebp - 0x3d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402d52
mov word [edi], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x401486.67
push eax
push edi
call fcn.004068d5
lea eax, [ebp - 0x3ac]
push eax
push esi
jmp 0x402f00
push 0xfffffffffffffff0
mov dword [ebp - 0x10], 0xfffffd66
call fcn.004031bf
mov esi, eax
push esi
mov dword [ebp - 0x18], esi
call fcn.004062da
test eax, eax
jne 0x402d8a
push 0xffffffffffffffed
call fcn.004031bf
push esi
call fcn.0040645f
push 2
push 0x40000000
push esi
call fcn.00406484
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402e40
mov eax, dword [0x42cbd8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 8], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402e37
push ebx
call fcn.004038c8
push dword [ebp - 8]
push edi
call fcn.004038b2
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], esi
je 0x402e15
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.004036cd
jmp 0x402e08
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x80], ecx
call fcn.0040643f
add esi, dword [ebp - 0x80]
cmp byte [esi], bl
jne 0x402df0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 8]
push edi
push dword [ebp + 8]
call fcn.00406536
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004036cd
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push str.created_uninstaller:__d____s_
call fcn.00406f09
add esp, 0xc
cmp dword [ebp - 0x10], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402e6e
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4025ae
cmp ecx, ebx
je 0x402eb6
push dword [ebp - 0x2c]
push str.settings_logging_to__d
call fcn.00406f09
mov eax, dword [ebp - 0x2c]
push eax
push 0x40a010
mov dword [0x429b40], eax
call fcn.00406f09
add esp, 0x10
cmp dword [ebp - 0x2c], ebx
je 0x402eaa
call fcn.00403f32
jmp case.0x401486.67
push 1
call fcn.00406cec
jmp case.0x401486.67
push 1
call fcn.004031bf
push eax
push 0x40a76c
jmp 0x40242d
push ebx
call fcn.0040319d
cmp eax, dword [0x42cc0c]
pop ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
jae 0x402d46
mov esi, eax
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x818
add esi, dword [0x42cc08]
cmp eax, ebx
jl 0x402f0d
mov ecx, dword [esi + eax*4]
jne 0x402f0a
add esi, 0x18
push esi
push edi
call fcn.0040698e
jmp case.0x401486.67
push ecx
jmp 0x402f8c
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402f27
push 1
call fcn.0040319d
pop ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x2c], eax
jmp 0x402f37
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.004069cb
or byte [esi + 9], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x401486.67
push dword [ebp - 0x44]
call fcn.0040117d
jmp case.0x401486.67
push ebx
call fcn.0040319d
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x40], edx
jae 0x402d46
cmp dword [ebp - 0x24], ebx
je 0x402f97
cmp dword [ebp - 0x28], ebx
je 0x402f85
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x401486.67
push ebx
call fcn.004012e2
push eax
push edi
call fcn.004068d5
jmp case.0x401486.67
cmp dword [ebp - 0x28], ebx
je 0x402fb1
mov edx, dword [0x42cbd4]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x401486.67
mov ecx, dword [0x42cbd4]
push dword [ecx + eax*4 + 0x94]
push edi
call fcn.004069cb
jmp case.0x401486.67
push 5
call fcn.00406fd1
push 0x22
mov esi, eax
call fcn.004031bf
cmp esi, ebx
je 0x40300f
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x40300f
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call esi
test eax, eax
jl 0x40300f
push dword [ebp + 8]
push edi
call fcn.0040698e
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x401486.67
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x401486.67
mov eax, dword [0x426890]
push ebx
and eax, ecx
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x401486.67
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x42cc68], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4