Function at 0x401a02
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:
sub esp, 0x3dc
mov eax, dword [0x486418]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3ec]
xor ebx, ebx
push edi
push 7
pop ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x20], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
mov eax, section..ndata
mov ecx, dword [esp + 0x30]
mov ebp, edi
mov edx, dword [esp + 0x28]
mov esi, ecx
shl ebp, 0xe
add ebp, eax
shl esi, 0xe
add esi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], edi
mov dword [0x417204], eax
lea eax, [edx - 2]
cmp eax, 0x44
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esi
ja case.0x401a72.67
lea edi, [edx - 2]
jmp dword [edi*4 + 0x40381e]
mov edi, dword [esp + 0x1c]
push edi
push str.Jump:__d
call fcn.004010cd
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
jmp 0x40380f
push ebx
call fcn.0040418e
push eax
push str.Aborting:___s_
call fcn.004010cd
pop ecx
pop ecx
push ebx
push dword [esp + 0x30]
call fcn.0040112c
mov eax, 0x7fffffff
jmp 0x40380f
inc dword [0x484a64]
test eax, eax
je 0x401ab0
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401ab0
mov edi, dword [esp + 0x1c]
push edi
call fcn.0040110e
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.004010cd
pop ecx
pop ecx
push ebx
push esi
call fcn.00401091
jmp 0x40380f
push ebx
call fcn.0040418e
push eax
push str.DetailPrint:__s
call fcn.004010cd
pop ecx
pop ecx
push ebx
push dword [esp + 0x30]
call fcn.0040112c
jmp case.0x401a72.67
push ebx
call fcn.00404144
mov esi, eax
push esi
push str.Sleep__d_
call fcn.004010cd
xor edi, edi
add esp, 0xc
inc edi
cmp esi, edi
cmovg edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401a72.67
push str.BringToFront
call fcn.004010cd
mov eax, dword [esp + 0x24]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401a72.67
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
test eax, eax
jg 0x401b9e
jne 0x401b76
mov eax, dword [edi*4 + 0x48e520]
mov dword [edi*4 + 0x48e4e0], eax
push 1
call fcn.00404144
mov ecx, eax
mov eax, dword [esp + 0x30]
push ecx
push eax
push str.SetFlag:__d_d
mov dword [eax*4 + 0x48e520], ecx
call fcn.004010cd
add esp, 0x10
jmp case.0x401a72.67
mov eax, dword [edi*4 + 0x48e4e0]
mov dword [edi*4 + 0x48e520], eax
jmp case.0x401a72.67
mov edx, dword [esp + 0x34]
xor eax, eax
push 4
pop esi
mov ecx, dword [edx*4 + 0x48e520]
test ecx, ecx
cmove eax, esi
and ecx, dword [esp + 0x38]
mov dword [edx*4 + 0x48e520], ecx
mov eax, dword [esp + eax + 0x2c]
jmp 0x40380f
push dword [ecx*4 + 0x48e520]
push ebp
call fcn.00401014
jmp case.0x401a72.67
mov eax, dword [0x484a5c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x401c07
push ecx
push eax
call esi
mov edi, dword [esp + 0x2c]
mov eax, dword [0x484a60]
test eax, eax
je case.0x401a72.67
push edi
push eax
call esi
jmp case.0x401a72.67
push 0xfffffffffffffff0
call fcn.0040418e
push dword [esp + 0x30]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.004010cd
add esp, 0xc
push dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401a72.67
push str.SetFileAttributes_failed.
call fcn.004010cd
pop ecx
xor eax, eax
inc eax
jmp 0x403807
push 0xfffffffffffffff0
call fcn.0040418e
push dword [esp + 0x30]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.004010cd
add esp, 0xc
push esi
call fcn.00401104
mov edi, eax
test edi, edi
je 0x401d15
push 0x5c
push edi
call fcn.0040104b
mov edi, eax
xor eax, eax
movzx ebx, word [edi]
mov word [edi], ax
test bx, bx
jne 0x401cb7
cmp dword [esp + 0x34], eax
je 0x401cb7
call fcn.004010be
test eax, eax
je 0x401cb7
push esi
call fcn.00401082
jmp 0x401cbd
push esi
call fcn.00401032
test eax, eax
je 0x401cf9
cmp eax, 0xb7
je 0x401cdd
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.004010cd
add esp, 0xc
inc dword [esp + 0x10]
jmp 0x401d06
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401d06
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.004010cd
inc dword [esp + 0x18]
jmp 0x401d04
push esi
push str.CreateDirectory:___s__created
call fcn.004010cd
pop ecx
pop ecx
mov word [edi], bx
add edi, 2
test bx, bx
jne 0x401c89
cmp dword [esp + 0x30], 0
push 0x41b208
je 0x401d61
push 0xffffffffffffffe6
call fcn.0040112c
push esi
push 0x4e9000
call fcn.00401078
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x401a72.67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetCurrentDirectory__s__failed___d_
call fcn.004010cd
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
jmp 0x403807
push 0xfffffffffffffff5
jmp 0x401b0b
push ebx
call fcn.0040418e
mov esi, eax
push esi
call fcn.0040101e
test eax, eax
je 0x401d95
push dword [esp + 0x30]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.004010cd
mov eax, dword [esp + 0x3c]
add esp, 0xc
jmp 0x40380f
push dword [esp + 0x34]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.004010cd
add esp, 0xc
mov eax, dword [esp + 0x34]
jmp 0x40380f
push 0xffffffffffffffd0
call fcn.0040418e
push 0xffffffffffffffdf
mov edi, eax
call fcn.0040418e
push 0x13
mov ebx, eax
call fcn.0040418e
mov esi, eax
push esi
push str.Rename:__s
call fcn.004010cd
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401df0
push 0x41b208
push 0xffffffffffffffe3
jmp 0x401b0b
cmp dword [esp + 0x34], 0
je 0x401e26
push edi
call fcn.0040101e
test eax, eax
je 0x401e26
push ebx
push edi
call fcn.00401163
push 0x41b208
push 0xffffffffffffffe4
call fcn.0040112c
push esi
push str.Rename_on_reboot:__s
call fcn.004010cd
pop ecx
pop ecx
jmp case.0x401a72.67
push esi
push str.Rename_failed:__s
call fcn.004010cd
pop ecx
jmp 0x401c55
push ebx
call fcn.0040418e
mov edi, eax
mov ebp, 0x2000
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x401e64
xor eax, eax
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov word [esi], cx
jmp 0x401e8c
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x401e88
cmp word [eax], bx
je 0x401e88
push edi
call fcn.0040101e
test eax, eax
je 0x401e56
add eax, 0x2c
push eax
push dword [esp + 0x18]
call fcn.00401078
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], ebx
jne 0x403807
push ebp
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401a72.67
push 0xffffffffffffffff
call fcn.0040418e
lea ecx, [esp + 0x4c]
push ecx
push ebp
push 0x2000
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401a72.67
xor eax, eax
inc eax
xor ecx, ecx
mov word [ebp], cx
jmp 0x403807
push 0xffffffffffffffef
call fcn.0040418e
push eax
push ebp
call fcn.0040113b
test eax, eax
jne case.0x401a72.67
jmp 0x401c56
push 0x31
call fcn.0040418e
mov ecx, dword [esp + 0x2c]
mov ebp, eax
mov esi, ecx
mov dword [esp + 0x14], ebp
sar ecx, 3
and esi, 7
push ebp
and ecx, 2
push ecx
push esi
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.004010cd
add esp, 0x10
push ebp
call fcn.004010dc
push ebp
mov ebp, 0x417208
test eax, eax
je 0x401f34
push ebp
call fcn.00401078
jmp 0x401f4b
push 0x4e9000
push ebp
call fcn.00401078
push eax
call fcn.00401190
push eax
call fcn.00401055
push ebp
call fcn.00401096
xor edi, edi
inc edi
cmp esi, 3
jl 0x401f86
push ebp
call fcn.0040101e
mov ecx, ebx
test eax, eax
je 0x401f76
lea ecx, [esp + 0x38]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
add esi, 0xfffffffd
or esi, 0x80000000
and esi, ecx
neg esi
sbb esi, esi
inc esi
test esi, esi
jne 0x401f90
push ebp
call fcn.00401177
xor eax, eax
cmp esi, edi
setne al
inc eax
push eax
push 0x40000000
push ebp
call fcn.004010c3
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x40207a
test esi, esi
jne 0x402052
push ebp
push str.File:_error_creating___s_
call fcn.004010cd
pop ecx
pop ecx
push section..ndata
push 0x41f208
call fcn.00401078
push ebp
push section..ndata
call fcn.00401078
push dword [esp + 0x40]
push 0x41b208
call fcn.0040111d
push 0x41f208
push section..ndata
call fcn.00401078
mov eax, dword [esp + 0x2c]
sar eax, 3
push eax
push 0x41b208
call fcn.00401073
sub eax, 4
jne 0x402024
push str.File:_error__user_retry
call fcn.004010cd
pop ecx
jmp 0x401f54
sub eax, 1
je 0x40203c
push str.File:_error__user_abort
call fcn.004010cd
pop ecx
push ebp
push 0xfffffffffffffffa
jmp 0x401aab
push str.File:_error__user_cancel
call fcn.004010cd
inc dword [0x48e528]
pop ecx
jmp 0x40380d
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffe2
call fcn.0040112c
push esi
push ebp
push str.File:_skipped:___s___overwriteflag_d_
call fcn.004010cd
add esp, 0xc
xor eax, eax
cmp esi, 2
sete al
jmp 0x403807
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffea
call fcn.0040112c
inc dword [0x48e554]
push ebx
push ebx
push dword [esp + 0x20]
push dword [esp + 0x40]
call fcn.004010a5
dec dword [0x48e554]
mov esi, eax
push ebp
push esi
push str.File:_wrote__d_to___s_
call fcn.004010cd
add esp, 0xc
cmp dword [esp + 0x38], 0xffffffff
jne 0x4020c0
cmp dword [esp + 0x3c], 0xffffffff
je 0x4020d1
lea eax, [esp + 0x38]
push eax
push ebx
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jns case.0x401a72.67
cmp esi, 0xfffffffe
jne 0x4020f9
push 0xffffffffffffffe9
push ebp
call fcn.0040111d
push edi
push ebp
call fcn.00401055
jmp 0x402101
push 0xffffffffffffffee
push ebp
call fcn.0040111d
push ebp
push 0x40c6b4
call fcn.004010cd
pop ecx
pop ecx
push 0x200010
push ebp
call fcn.00401073
jmp 0x401ab0
push ebx
call fcn.0040418e
mov esi, eax
push esi
push str.Delete:___s_
call fcn.004010cd
pop ecx
pop ecx
push dword [esp + 0x30]
push esi
call fcn.004010e1
jmp case.0x401a72.67
push 0x31
call fcn.0040418e
mov esi, eax
push esi
push dword [esp + 0x30]
push str.MessageBox:__d___s_
call fcn.004010cd
add esp, 0xc
push dword [esp + 0x2c]
push esi
call fcn.00401073
test eax, eax
je 0x401c56
cmp eax, dword [esp + 0x34]
jne 0x40217e
mov eax, dword [esp + 0x38]
jmp 0x40380f
cmp eax, dword [esp + 0x3c]
jne case.0x401a72.67
mov eax, dword [esp + 0x40]
jmp 0x40380f
push 0xfffffffffffffff0
call fcn.0040418e
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x40212c
push 1
call fcn.0040418e
push eax
call fcn.0040107d
push eax
jmp 0x401be1
push 2
call fcn.00404144
push 3
mov ebx, eax
mov esi, edx
call fcn.00404144
pop ecx
pop ecx
push 1
mov edi, eax
call fcn.0040418e
push eax
mov dword [esp + 0x28], eax
call fcn.0040107d
xor ecx, ecx
test esi, esi
mov word [ebp], cx
cmove ebx, eax
test ebx, ebx
je case.0x401a72.67
test edi, edi
jns 0x4021fb
add edi, eax
js case.0x401a72.67
cmp edi, eax
cmovg edi, eax
mov eax, dword [esp + 0x24]
lea eax, [eax + edi*2]
push eax
push ebp
call fcn.00401078
test ebx, ebx
jns 0x40221a
push ebp
call fcn.0040107d
add ebx, eax
xor eax, eax
test ebx, ebx
cmovns eax, ebx
cmp eax, 0x2000
jge case.0x401a72.67
xor ecx, ecx
mov word [ebp + eax*2], cx
jmp case.0x401a72.67
push 0x20
call fcn.0040418e
push 0x31
mov esi, eax
call fcn.0040418e
push eax
push esi
cmp dword [esp + 0x44], ebx
jne 0x402263
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402175
jmp 0x401da7
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x402256
xor edi, edi
inc edi
push edi
call fcn.0040418e
push 0x2000
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x402299
cmp dword [esp + 0x34], ebx
je 0x4022a3
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4022a3
xor ecx, ecx
mov eax, edi
mov word [ebp], cx
jmp 0x4022a7
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [ebp + 0x3ffe], cx
jmp 0x403807
mov esi, dword [esp + 0x40]
push ebx
call fcn.00404144
push 1
mov edi, eax
call fcn.00404144
pop ecx
pop ecx
test esi, esi
jne 0x4022e5
cmp edi, eax
jl 0x402175
jle 0x401da7
mov eax, dword [esp + 0x3c]
jmp 0x40380f
cmp edi, eax
jb 0x402175
jbe 0x401da7
jmp 0x4022dc
xor edi, edi
inc edi
push edi
call fcn.00404144
push 2
mov esi, eax
call fcn.00404144
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, 0xd
ja case.default.0x402314
jmp dword [eax*4 + 0x403932]
add esi, ecx
jmp case.default.0x402314
sub esi, ecx
jmp case.default.0x402314
imul esi, ecx
jmp case.default.0x402314
test ecx, ecx
je 0x402335
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x402337
mov esi, ebx
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x10], eax
jmp case.default.0x402314
or esi, ecx
jmp case.default.0x402314
and esi, ecx
jmp case.default.0x402314
xor esi, ecx
jmp case.default.0x402314
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x402314
test esi, esi
jne 0x402363
test ecx, ecx
je 0x40236b
mov esi, edi
jmp case.default.0x402314
test esi, esi
jne 0x40235f
mov esi, ebx
jmp case.default.0x402314
test ecx, ecx
je 0x402335
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x402337
shl esi, cl
jmp case.default.0x402314
sar esi, cl
jmp case.default.0x402314
shr esi, cl
push esi
jmp 0x401be1
push 1
call fcn.0040418e
push 2
mov esi, eax
call fcn.00404144
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401b96
mov edx, dword [esp + 0x34]
mov eax, edx
mov esi, dword [0x417200]
test edx, edx
je 0x40241b
dec eax
test esi, esi
je 0x4023fb
mov esi, dword [esi]
test eax, eax
jne 0x4023ba
test esi, esi
je 0x4023fb
add esi, 4
mov ebp, 0x417208
push esi
push ebp
call fcn.00401078
mov eax, dword [0x417200]
add eax, 4
push eax
push esi
call fcn.00401078
mov eax, dword [0x417200]
push ebp
add eax, 4
push eax
call fcn.00401078
jmp case.0x401a72.67
push edx
push str.Exch:_stack____d_elements
call fcn.004010cd
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040111d
push eax
jmp 0x402114
test ecx, ecx
je 0x40244a
test esi, esi
jne 0x40242d
push str.Pop:_stack_empty
jmp 0x401c50
lea eax, [esi + 4]
push eax
push ebp
call fcn.00401078
mov eax, dword [esi]
mov dword [0x417200], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401a72.67
push 0x4004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040111d
mov eax, dword [0x417200]
mov dword [esi], eax
mov dword [0x417200], esi
jmp case.0x401a72.67
push 3
call fcn.00404144
mov esi, eax
push 4
mov dword [esp + 0x1c], esi
call fcn.00404144
mov edi, eax
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
test al, 1
je 0x4024a9
push 0x33
call fcn.0040418e
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
test al, 2
je 0x4024b6
push 0x44
call fcn.0040418e
mov edi, eax
cmp dword [esp + 0x28], 0x21
push 1
jne 0x40250e
call fcn.00404144
push 2
mov dword [esp + 0x1c], eax
call fcn.00404144
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
sar ecx, 2
test ecx, ecx
je 0x4024ff
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
push edi
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x402543
push edi
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402539
call fcn.0040418e
push 0x12
mov esi, eax
call fcn.0040418e
xor ecx, ecx
cmp word [eax], bx
cmovne ecx, eax
push ecx
xor ecx, ecx
cmp word [esi], bx
cmovne ecx, esi
push ecx
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x2c], ebx
jl 0x403807
push ecx
jmp 0x401be1
push ebx
call fcn.00404144
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [esp + 0x34]
test eax, eax
cmovne ecx, dword [esp + 0x30]
mov eax, ecx
jmp 0x40380f
push 2
call fcn.00404144
push 1
mov esi, eax
call fcn.00404144
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4021af
mov esi, dword [0x48e488]
push ebx
add esi, ecx
call fcn.00404144
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401a72.67
test dword [esp + 0x38], 0x100
je 0x4025c4
push 2
call fcn.00404144
pop ecx
jmp 0x4025cf
push dword [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, ecx
mov edi, ecx
and eax, 4
shr edi, 0x1e
mov dword [esp + 0x18], eax
mov esi, ecx
mov eax, ecx
and esi, 3
shr eax, 0x1f
and edi, 1
mov dword [esp + 0x24], eax
test ecx, 0x10000
je 0x402605
push 0x11
call fcn.0040418e
jmp 0x40260a
movzx eax, word [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x8c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
and eax, 0xfef0
push eax
mov eax, dword [esp + 0x9c]
imul eax, edi
push eax
mov eax, dword [esp + 0x9c]
imul eax, dword [esp + 0x2c]
push eax
xor eax, eax
cmp dword [esp + 0x24], eax
push esi
push dword [esp + 0x24]
cmovne eax, dword [0x486414]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
push edi
push esi
push 0x172
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x402677
test esi, esi
jne 0x402677
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x2c], 0
jl case.0x401a72.67
push edi
jmp 0x401be1
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.00404144
pop ecx
push 0x48
push 0x5a
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x42b208], eax
mov eax, dword [esp + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00404144
pop ecx
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x30]
mov dword [0x42b218], eax
mov al, cl
and al, 1
mov byte [0x42b21f], 1
mov byte [0x42b21c], al
mov al, cl
and al, 2
and cl, 4
push 0x42b224
mov byte [0x42b21d], al
mov byte [0x42b21e], cl
call fcn.0040111d
push 0x42b208
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4021af
push ebx
call fcn.00404144
push 1
mov esi, eax
call fcn.00404144
mov edi, eax
pop ecx
pop ecx
cmp dword [esp + 0x34], ebx
je 0x402736
push str.HideWindow
call fcn.004010cd
pop ecx
push edi
push esi
cmp dword [esp + 0x40], ebx
jne 0x402749
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401a72.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401a72.67
push ebx
call fcn.0040418e
push 0x31
mov esi, eax
call fcn.0040418e
push 0x22
mov ebp, eax
call fcn.0040418e
push 0x15
mov edi, eax
call fcn.0040418e
push 0x41b208
push 0xffffffffffffffec
call fcn.0040112c
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
cmp word [esi], bx
mov dword [esp + 0x5c], ebp
cmovne eax, esi
mov dword [esp + 0x58], eax
xor eax, eax
cmp word [edi], bx
mov dword [esp + 0x64], 0x4e9000
cmovne eax, edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x4c]
push eax
call fcn.004010af
test eax, eax
jne 0x4027e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebp
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.004010cd
add esp, 0x14
jmp 0x401c56
test byte [esp + 0x50], 0x40
je 0x402807
push dword [esp + 0x84]
call fcn.004010d7
push dword [esp + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
jmp 0x401b91
push ebx
call fcn.0040418e
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.004010cd
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.0040112c
push edi
call fcn.0040109b
mov ebx, eax
push edi
test ebx, ebx
je 0x402885
push str.Exec:_success____s__
call fcn.004010cd
cmp dword [esp + 0x3c], 0
pop ecx
pop ecx
je 0x402879
push ebx
call fcn.004010d7
cmp dword [esp + 0x30], 0
mov ecx, eax
jl 0x402869
push ecx
push esi
call fcn.00401014
jmp 0x402879
mov eax, dword [esp + 0x10]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401a72.67
push str.Exec:_failed_createprocess____s__
jmp 0x401e2c
push 2
call fcn.0040418e
push eax
call fcn.0040101e
mov edi, eax
test edi, edi
je 0x4028b3
push dword [edi + 0x14]
push esi
call fcn.00401014
push dword [edi + 0x18]
jmp 0x401be1
xor eax, eax
mov word [ebp], ax
mov word [esi], ax
jmp 0x401c56
push 0xffffffffffffffee
call fcn.0040418e
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], eax
push ecx
push eax
push 0xb
call fcn.00401136
call eax
mov ecx, eax
xor eax, eax
mov word [ebp], ax
mov word [esi], ax
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x403807
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je case.0x401a72.67
push 0xc
call fcn.00401136
push 0xd
mov esi, eax
call fcn.00401136
push edi
push dword [esp + 0x28]
mov dword [esp + 0x4c], eax
push ebx
push dword [esp + 0x54]
call esi
test eax, eax
je 0x402974
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x40c974
push edi
call dword [esp + 0x54]
test eax, eax
je 0x402974
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.00401014
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
push dword [eax + ecx*4 + 0xc]
push dword [esp + 0x1c]
call fcn.00401014
mov dword [esp + 0x10], ebx
push edi
jmp 0x40243f
xor edi, edi
inc edi
mov dword [esp + 0x10], edi
cmp dword [0x48e4a0], ebx
jl 0x402a79
push 0xfffffffffffffff0
call fcn.0040418e
push edi
mov ebp, eax
call fcn.0040418e
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], ebx
je 0x4029b3
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x4029c7
push 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402a62
push dword [esp + 0x14]
push esi
call fcn.0040117c
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x402a1e
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x34], ebx
je 0x4029fe
push dword [esp + 0x34]
call fcn.00401154
call dword [esp + 0x24]
test eax, eax
je 0x402a39
mov eax, edi
mov dword [esp + 0x10], eax
jmp 0x402a3d
mov eax, dword [esp + 0x20]
push section..data
push 0x417200
push section..ndata
push 0x2000
push eax
call ecx
add esp, 0x14
jmp 0x402a39
mov ebx, dword [esp + 0x14]
push ebx
push 0xfffffffffffffff7
call fcn.0040112c
push ebp
push ebx
push 0x40c978
call fcn.004010cd
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
jne 0x403807
push esi
call fcn.004010d2
test eax, eax
je case.0x401a72.67
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401a72.67
push 0x41b208
push 0xfffffffffffffff6
call fcn.0040112c
push ebp
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401e1a
push 0x41b208
push 0xffffffffffffffe7
call fcn.0040112c
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.004010cd
jmp 0x401e20
push 0xfffffffffffffff0
call fcn.0040418e
push 0xffffffffffffffdf
mov dword [esp + 0x48], eax
call fcn.0040418e
push 2
mov dword [esp + 0x1c], eax
call fcn.0040418e
push 0xffffffffffffffcd
mov dword [esp + 0x4c], eax
call fcn.0040418e
mov esi, eax
push 0x45
mov dword [esp + 0x8c], esi
call fcn.0040418e
mov ecx, dword [esp + 0x3c]
mov edi, ecx
push dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ebp, ecx
mov eax, ecx
sar ebp, 0xc
and eax, 0x8000
sar ecx, 0x10
mov dword [esp + 0x28], eax
and edi, 0xfff
movzx eax, cx
and ebp, 7
mov dword [esp + 0x90], edi
mov dword [esp + 0x18], eax
call fcn.004010dc
test eax, eax
jne 0x402b14
push 0x21
call fcn.0040418e
push dword [esp + 0x14]
push ebp
push edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x2c]
push dword [esp + 0x5c]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.004010cd
add esp, 0x20
lea eax, [esp + 0x1c]
xor edi, edi
inc edi
push eax
push 0x40f350
push edi
push ebx
push 0x4139b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402c28
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push 0x410200
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x402c0e
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
cmp dword [esp + 0x24], ebx
jne 0x402b98
mov eax, dword [esp + 0x1c]
push 0x4e9000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test ebp, ebp
je 0x402ba7
mov eax, dword [esp + 0x1c]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x88]
cmp word [edx], bx
je 0x402bd3
mov eax, dword [esp + 0x1c]
push dword [esp + 0x8c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
js 0x402c04
mov eax, dword [esp + 0x20]
push edi
push dword [esp + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x402c28
push 0x41b208
push 0xfffffffffffffff4
jmp 0x401b0b
push 0x41b208
mov dword [esp + 0x14], edi
push 0xfffffffffffffff0
jmp 0x401b0b
push ebx
call fcn.0040418e
push 0x11
mov esi, eax
call fcn.0040418e
push 0x23
mov edi, eax
call fcn.0040418e
push edi
push esi
push str.CopyFiles___s_____s_
mov ebp, eax
call fcn.004010cd
add esp, 0xc
push esi
call fcn.0040101e
test eax, eax
jne 0x402c78
push ebx
push 0xfffffffffffffff9
call fcn.0040112c
jmp 0x401c56
mov eax, dword [esp + 0x20]
push esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 2
call fcn.0040107d
xor ecx, ecx
push edi
mov word [esi + eax*2 + 2], cx
call fcn.0040107d
xor ecx, ecx
push ebp
push ebx
mov word [edi + eax*2 + 2], cx
mov ax, word [esp + 0x3c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6e], ebp
mov word [esp + 0x64], ax
call fcn.0040112c
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401a72.67
jmp 0x402c6b
cmp dword [esp + 0x1c], 0xbadf00d
jne 0x402408
inc dword [0x48e534]
jmp case.0x401a72.67
push str._RM_
mov edi, 0x41b208
mov dword [esp + 0x1c], ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.00401078
push edi
mov ebp, 0x41f208
push ebp
call fcn.00401078
cmp dword [esp + 0x2c], ebx
je 0x402d1f
push ebx
call fcn.0040418e
mov ebx, eax
cmp dword [esp + 0x30], 0
je 0x402d31
push 0x11
call fcn.0040418e
mov dword [esp + 0x18], eax
cmp dword [esp + 0x3c], 0
je 0x402d43
push 0x22
call fcn.0040418e
mov dword [esp + 0x14], eax
push 0xffffffffffffffcd
call fcn.0040418e
mov esi, eax
push esi
push ebp
push edi
push 0x417208
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.004010cd
add esp, 0x14
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401ee3
push 0xa
pop ebx
push 1
mov dword [esp + 0x50], ebx
call fcn.0040418e
push 0x12
mov edi, eax
call fcn.0040418e
push 0xffffffffffffffdd
mov esi, eax
call fcn.0040418e
push eax
push 0x1fff
push ebp
lea eax, [esp + 0x58]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [ebp]
mov ecx, eax
cmp ax, bx
jne 0x402dbb
xor eax, eax
mov word [ebp], ax
xor eax, eax
cmp cx, bx
jmp 0x402072
xor ebx, ebx
push ecx
inc ebx
call fcn.004010aa
cmp dword [esp + 0x40], 0
mov ebp, eax
pop ecx
jne 0x402e15
push 2
call fcn.00404272
mov edi, eax
test edi, edi
je 0x402e40
push 0x33
call fcn.0040418e
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x41f208
push ebp
push str.DeleteRegValue:___s_s____s_
mov ebx, eax
call fcn.004010cd
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402e40
push 0x22
call fcn.0040418e
mov esi, eax
push esi
push ebp
push str.DeleteRegKey:___s_s_
call fcn.004010cd
mov ecx, dword [esp + 0x48]
add esp, 0xc
sar ecx, 1
push ecx
push esi
push dword [esp + 0x54]
call fcn.0040421c
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x403807
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push 2
mov dword [esp + 0x48], eax
call fcn.0040418e
push 0x11
mov dword [esp + 0x24], eax
call fcn.0040418e
mov edi, dword [esp + 0x1c]
mov esi, eax
push edi
call fcn.004010aa
pop ecx
mov ebp, eax
xor edi, edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], ebp
push eax
push 0x100022
push esi
push dword [esp + 0x28]
inc edi
mov dword [esp + 0x20], edi
call fcn.0040416d
push eax
call fcn.004010f0
mov ecx, dword [esp + 0x4c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x402ff6
mov eax, dword [esp + 0x48]
mov ebp, 0x41f208
mov dword [esp + 0x1c], ebx
cmp eax, edi
jne 0x402f18
push 0x23
call fcn.0040418e
push ebp
call fcn.0040107d
cmp dword [esp + 0x44], edi
mov edi, dword [esp + 0x18]
push ebp
push dword [esp + 0x24]
lea eax, [eax*2 + 2]
push esi
mov dword [esp + 0x28], eax
push edi
jne 0x402f05
push str.WriteRegStr:___s_s____s___s_
call fcn.004010cd
add esp, 0x14
jmp 0x402fb4
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.004010cd
mov eax, dword [esp + 0x5c]
add esp, 0x14
jmp 0x402f1c
mov edi, dword [esp + 0x18]
cmp eax, 4
jne 0x402f4d
push 3
call fcn.00404144
push eax
push dword [esp + 0x28]
mov dword [0x41f208], eax
push esi
push edi
push str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [esp + 0x34], 4
call fcn.004010cd
mov eax, dword [esp + 0x60]
add esp, 0x18
cmp eax, 3
jne 0x402fb4
push 0xc000
push ebp
push ebx
push dword [esp + 0x44]
call fcn.004010a5
push eax
push ebp
mov dword [esp + 0x24], eax
lea eax, [esp + 0xa4]
push 0x80
push eax
call fcn.004010eb
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x34]
cmp edx, 7
mov eax, str.WriteRegBin
mov ecx, str.WriteRegMultiStr
cmovne ecx, eax
mov eax, str.WriteRegNone
push esi
test edx, edx
push edi
cmovne eax, ecx
push eax
push str._s:___s_s____s___s_
call fcn.004010cd
add esp, 0x28
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x4c]
mov ebp, dword [esp + 0x2c]
push ebx
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402fd7
mov dword [esp + 0x10], ebx
jmp 0x402fe7
push ebp
push esi
push edi
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.004010cd
add esp, 0x10
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401a72.67
push esi
push ebp
push str.WriteReg:_error_creating_key___s_s_
call fcn.004010cd
add esp, 0xc
jmp case.0x401a72.67
push 0x20019
call fcn.00404272
push 0x33
mov esi, eax
call fcn.0040418e
xor ecx, ecx
mov word [ebp], cx
test esi, esi
je 0x401c56
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0x4000
push ecx
push ebp
lea ecx, [esp + 0x20]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
inc edi
test eax, eax
jne 0x40308d
cmp dword [esp + 0x18], 4
je 0x403075
cmp dword [esp + 0x18], edi
je 0x403062
cmp dword [esp + 0x18], 2
jne 0x40308d
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
xor eax, eax
mov word [ebp + 0x3ffe], ax
jmp 0x403097
push dword [ebp]
xor eax, eax
cmp dword [esp + 0x40], eax
push ebp
sete al
mov dword [esp + 0x18], eax
call fcn.00401014
jmp 0x403097
xor eax, eax
mov dword [esp + 0x10], edi
mov word [ebp], ax
push esi
jmp 0x402feb
push 0x20019
call fcn.00404272
push 3
mov esi, eax
call fcn.00404144
pop ecx
xor ecx, ecx
mov dword [esp + 0x50], edx
mov word [ebp], cx
test esi, esi
je 0x401c56
mov ecx, 0x1fff
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x3c], ebx
je 0x4030de
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40306a
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x5c]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, dword [esp + 0x10]
xor edx, edx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x40306a
push ebp
call fcn.004010c8
test eax, eax
je case.0x401a72.67
push eax
jmp 0x40287a
push 0xffffffffffffffed
call fcn.0040418e
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call fcn.004010c3
cmp eax, 0xffffffff
jne 0x4021af
xor eax, eax
mov word [ebp], ax
jmp 0x401c56
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp edx, 0x38
mov dword [esp + 0x8c], ecx
mov esi, 0x41b208
sete al
xor edi, edi
inc edi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x403184
push edi
call fcn.00404144
mov word [0x41b208], ax
xor eax, eax
cmp dword [esp + 0x18], eax
pop ecx
sete al
inc eax
mov dword [esp + 0x4c], eax
mov esi, eax
jmp 0x4031bf
cmp edx, 0x38
jne 0x4031ae
push 0x21
call fcn.0040418e
push 0x2000
push esi
push 0x41f208
call fcn.004010a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x4031bf
push 0x11
call fcn.0040418e
push eax
call fcn.0040107d
mov esi, eax
add esi, esi
cmp word [ebp], bx
je 0x4031ff
push ebp
call fcn.004010c8
mov ebx, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x8c]
jne 0x4031eb
cmp dword [esp + 0x38], eax
je 0x4031eb
push ebx
push ebx
call fcn.004010fa
test eax, eax
js 0x4031ff
push esi
push 0x41b208
push ebx
call fcn.00401109
test eax, eax
jne case.0x401a72.67
mov eax, edi
jmp 0x403807
push 2
pop ecx
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
call fcn.00404144
xor edi, edi
inc edi
pop ecx
cmp eax, edi
jl case.0x401a72.67
mov ecx, 0x1fff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x24], eax
cmp word [ebp], bx
je 0x40338f
push ebp
mov dword [esp + 0x4c], ebx
call fcn.004010c8
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x24], ebx
jle 0x40338f
mov dword [esp + 0x8c], 0xd
mov ebp, ebx
cmp dword [esp + 0x28], 0x39
jne 0x403320
push ebx
lea eax, [esp + 0x48]
push eax
push 2
pop eax
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40338f
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x40338f
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x38], ebx
jne 0x4033d2
push edi
lea eax, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40334a
mov ecx, dword [esp + 0x1c]
mov edx, ecx
neg edx
sub dword [esp + 0x44], 1
mov eax, 0xfffd
mov dword [esp + 0x20], eax
je 0x403352
push edi
dec ecx
inc edx
push ebx
push edx
push dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
test eax, eax
je 0x4032d3
jmp 0x40334a
cmp dword [esp + 0x38], ebx
jne 0x403339
test ebp, ebp
jne 0x403339
push ebx
push ecx
call fcn.004010fa
test eax, eax
js 0x40338f
mov ecx, dword [esp + 0x18]
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00401028
test eax, eax
je 0x40338f
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x38], ebx
jne 0x4033d2
push 0xd
pop edx
cmp word [esp + 0x48], dx
push 0xa
pop edx
je 0x4033a0
cmp word [esp + 0x48], dx
je 0x4033a0
mov word [esi + ebp*2], ax
inc ebp
movzx ecx, ax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x48], ecx
test ax, ax
je 0x40338f
mov ecx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x24]
jl 0x403262
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov word [esi + ecx*2], ax
jmp 0x402072
cmp word [esp + 0x48], ax
je 0x4033c1
cmp ax, word [esp + 0x8c]
je 0x4033b6
cmp ax, dx
jne 0x4033c1
mov word [esi + ebp*2], ax
inc ebp
mov dword [esp + 0x14], ebp
jmp 0x40338f
push edi
push ebx
neg ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40338f
movzx eax, ax
push eax
push esi
call fcn.00401014
jmp 0x40380d
cmp word [ebp], bx
je case.0x401a72.67
push 2
call fcn.00404144
pop ecx
push dword [esp + 0x38]
push ebx
push eax
push ebp
call fcn.004010c8
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x30], ebx
jl case.0x401a72.67
push eax
push esi
jmp 0x401be2
push ebp
call fcn.004010c8
test eax, eax
je case.0x401a72.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401a72.67
push esi
call fcn.004010c8
test eax, eax
je 0x401ec7
lea ecx, [esp + 0x19c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401ec7
lea eax, [esp + 0x1c8]
push eax
push ebp
jmp 0x4023f1
push 2
call fcn.0040418e
lea ecx, [esp + 0x19c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x403489
xor eax, eax
mov word [esi], ax
jmp 0x403137
push eax
push esi
call fcn.00401014
jmp 0x403456
push 0xfffffffffffffff0
mov esi, 0xfffffd66
call fcn.0040418e
mov ebp, eax
push ebp
mov dword [esp + 0x50], ebp
call fcn.004010dc
test eax, eax
jne 0x4034b5
push 0xffffffffffffffed
call fcn.0040418e
push ebp
call fcn.00401177
push 2
push 0x40000000
push ebp
call fcn.004010c3
mov edi, eax
mov dword [esp + 0x88], edi
cmp edi, 0xffffffff
je 0x4035b1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x34], ebx
je 0x40359f
mov eax, dword [0x48e440]
push eax
push 0x40
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x403598
push ebx
call fcn.0040103c
push dword [esp + 0x14]
push esi
call fcn.00401195
push dword [esp + 0x34]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x8c], edi
test edi, edi
je 0x40357a
push dword [esp + 0x34]
push edi
push ebx
push dword [esp + 0x3c]
call fcn.004010a5
cmp byte [edi], bl
je 0x40356d
mov ebp, esi
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebp
push eax
call fcn.004010e6
add edi, esi
cmp byte [edi], bl
jne 0x40354d
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x14]
mov edi, dword [esp + 0x8c]
push esi
push edi
call fcn.00401109
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x40359f
mov eax, dword [esp + 0x8c]
push ebx
push ebx
push edi
push eax
call fcn.004010a5
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push esi
push str.created_uninstaller:__d____s_
call fcn.004010cd
add esp, 0xc
push 0xfffffffffffffff3
pop edi
test esi, esi
jns 0x4035d9
push 0xffffffffffffffef
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x10], 1
push edi
call fcn.00401154
jmp case.0x401a72.67
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x40362a
push ecx
push str.settings_logging_to__d
call fcn.004010cd
mov eax, dword [esp + 0x38]
push eax
push str.logging_set_to__d
mov dword [0x47b9f0], eax
call fcn.004010cd
add esp, 0x10
cmp dword [esp + 0x30], ebx
je 0x40361e
call fcn.0040118b
jmp case.0x401a72.67
push 1
call fcn.004010ff
jmp case.0x401a72.67
push 1
call fcn.0040418e
push eax
push 0x40c6b4
jmp 0x401e1a
push ebx
call fcn.00404144
mov ebx, eax
pop ecx
cmp ebx, dword [0x48e46c]
jae 0x401c56
mov ecx, dword [esp + 0x34]
imul edi, ebx, 0x4018
add edi, dword [0x48e468]
test ecx, ecx
js 0x403678
mov eax, dword [edi + ecx*4]
jne 0x403410
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x4023f1
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x34], eax
je 0x403693
push 1
call fcn.00404144
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x4036ab
push dword [esp + 0x3c]
lea eax, [edi + 0x18]
push eax
call fcn.0040111d
or dword [edi + 8], 0x100
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [edi + eax*4], ecx
cmp dword [esp + 0x38], 0
je case.0x401a72.67
push ebx
call fcn.004010b4
jmp case.0x401a72.67
push ebx
call fcn.00404144
mov edi, eax
pop ecx
cmp edi, 0x20
jae 0x401c56
cmp dword [esp + 0x38], ebx
je 0x403703
cmp dword [esp + 0x34], ebx
je 0x4036f8
push edi
call fcn.0040119f
push ebx
push ebx
call fcn.004011a4
jmp case.0x401a72.67
push ebx
call fcn.00401122
jmp 0x403410
mov eax, dword [0x48e448]
cmp dword [esp + 0x34], ebx
je 0x40371e
mov ecx, dword [esp + 0x30]
mov dword [eax + edi*4 + 0x94], ecx
jmp case.0x401a72.67
push dword [eax + edi*4 + 0x94]
push esi
call fcn.0040111d
jmp case.0x401a72.67
mov eax, dword [esp + 0x38]
sub eax, ebx
je 0x403782
sub eax, 1
jne case.0x401a72.67
push 2
call fcn.00404144
push 4
mov esi, eax
call fcn.00404144
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x48e520
test esi, esi
mov dword [esp + 0x24], ebx
push edx
cmovne ecx, esi
add eax, ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004010e6
push dword [esp + 0x24]
push dword [esp + 0x1c]
jmp 0x401be2
push 5
call fcn.00401136
push 0x22
mov edi, eax
call fcn.0040418e
test edi, edi
je 0x4037d1
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x4037d1
lea eax, [esp + 0x24]
push eax
push ebx
push dword [esp + 0x40]
lea eax, [esp + 0x58]
push eax
call edi
test eax, eax
js 0x4037d1
push dword [esp + 0x24]
push esi
call fcn.00401078
push dword [esp + 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x401a72.67
xor eax, eax
inc eax
xor ecx, ecx
mov word [esi], cx
jmp 0x403807
mov edi, dword [esp + 0x1c]
and edi, dword [0x447338]
push ebx
push edi
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x2c], ebx
je case.0x401a72.67
mov eax, dword [esp + 0x20]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
add dword [0x48e528], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3dc
ret 4