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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
mov eax, dword [0x42bd24]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
mov dword [ebp - 8], eax
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov ecx, section..ndata
mov eax, edx
shl eax, 0xb
add eax, ecx
mov edi, esi
shl edi, 0xb
mov dword [ebp - 0xc], eax
add edi, ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov dword [0x40b0c0], eax
xor ebx, ebx
lea eax, [ecx - 2]
cmp eax, 0x44
mov dword [ebp - 4], ebx
ja case.0x4015e4.66
jmp dword [eax*4 + 0x4030b1]
push esi
push str.Jump:__d
call fcn.0040637d
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x4030a9
xor esi, esi
call fcn.00401450
push eax
push str.Aborting:___s_
call fcn.0040637d
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00404fe0
mov eax, 0x7fffffff
jmp 0x4030a9
inc dword [0x42acf4]
cmp dword [ebp - 8], ebx
je 0x40161d
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40161d
push esi
call fcn.00401373
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.0040637d
pop ecx
pop ecx
push ebx
push esi
call fcn.0040138f
jmp 0x4030a9
xor esi, esi
call fcn.00401450
push eax
push str.detailprint:__s
call fcn.0040637d
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00404fe0
jmp case.0x4015e4.66
xor ecx, ecx
call fcn.0040143a
mov esi, eax
push esi
push str.Sleep__d_
call fcn.0040637d
cmp esi, 1
pop ecx
pop ecx
jg 0x40169d
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015e4.66
push str.BringToFront
call fcn.0040637d
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015e4.66
mov eax, esi
shl eax, 2
cmp dword [ebp - 0x24], ebx
jne 0x4016ef
mov ecx, dword [eax + 0x42bde0]
mov dword [eax + 0x42bda0], ecx
xor ecx, ecx
inc ecx
call fcn.0040143a
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x42bde0], eax
jmp case.0x4015e4.66
mov ecx, dword [eax + 0x42bda0]
mov dword [eax + 0x42bde0], ecx
jmp case.0x4015e4.66
mov esi, dword [ebp - 0x24]
lea esi, [esi*4 + 0x42bde0]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x20]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x2c]
jmp 0x4030a9
push dword [edx*4 + 0x42bde0]
push edi
call fcn.00406110
jmp case.0x4015e4.66
mov eax, dword [0x42ad00]
cmp eax, ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x401749
push edx
push eax
call edi
mov esi, dword [ebp - 0x2c]
mov eax, dword [0x42acec]
cmp eax, ebx
je case.0x4015e4.66
push esi
push eax
call edi
jmp case.0x4015e4.66
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.0040637d
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015e4.66
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.0040637d
pop ecx
jmp case.0x4015e4.66
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push dword [ebp - 0x28]
mov dword [ebp + 8], eax
push eax
push str.CreateDirectory:___s____d_
call fcn.0040637d
add esp, 0xc
push dword [ebp + 8]
call fcn.00405e3f
mov esi, eax
cmp esi, ebx
je 0x401863
push 0x5c
push esi
call fcn.00405deb
mov esi, eax
movzx edi, word [esi]
cmp di, bx
mov word [esi], bx
jne 0x4017fe
cmp dword [ebp - 0x24], ebx
je 0x4017fe
call fcn.00406557
test eax, eax
je 0x4017fe
push dword [ebp + 8]
call fcn.00405c84
jmp 0x401806
push dword [ebp + 8]
call fcn.00405d05
cmp eax, ebx
je 0x401846
cmp eax, 0xb7
je 0x401827
push eax
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.0040637d
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401855
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401855
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.0040637d
inc dword [ebp - 4]
jmp 0x401853
push dword [ebp + 8]
push str.CreateDirectory:___s__created
call fcn.0040637d
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4017d1
cmp dword [ebp - 0x28], ebx
je 0x4018ac
push 0xffffffffffffffe6
call fcn.00401429
push dword [ebp + 8]
push 0x437000
call fcn.004061c9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x4015e4.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.SetCurrentDirectory__s__failed___d_
call fcn.0040637d
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x4015e4.66
push 0xfffffffffffffff5
call fcn.00401429
jmp case.0x4015e4.66
xor esi, esi
call fcn.00401450
mov esi, eax
push esi
call fcn.00406411
test eax, eax
je 0x4018e4
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.0040637d
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x4030a9
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.0040637d
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x4030a9
push 0xffffffffffffffd0
pop esi
call fcn.00401450
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401450
push 0x13
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
mov esi, eax
push esi
push str.Rename:__s
call fcn.0040637d
pop ecx
pop ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40193e
push 0xffffffffffffffe3
jmp 0x4018ae
cmp dword [ebp - 0x24], ebx
je 0x401965
push edi
call fcn.00406411
test eax, eax
je 0x401965
push dword [ebp + 8]
push edi
call fcn.00406a8d
push 0xffffffffffffffe4
call fcn.00401429
push esi
push str.Rename_on_reboot:__s
jmp 0x401972
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.0040637d
pop ecx
jmp 0x40179d
xor esi, esi
call fcn.00401450
mov edi, dword [ebp - 0xc]
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 0x4019c2
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4019cc
cmp word [eax], bx
je 0x4019cc
push esi
call fcn.00406411
cmp eax, ebx
je 0x4019c2
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004061c9
jmp 0x4019cc
mov word [edi], bx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], ebx
jne case.0x4015e4.66
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015e4.66
or esi, 0xffffffff
call fcn.00401450
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015e4.66
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x4015e4.66
push 0xffffffffffffffef
pop esi
call fcn.00401450
push eax
push edi
call fcn.00405f6b
test eax, eax
jne case.0x4015e4.66
mov dword [ebp - 4], 1
jmp case.0x4015e4.66
push 0x31
pop esi
call fcn.00401450
mov esi, eax
mov eax, dword [ebp - 0x2c]
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 - 0x14], esi
mov dword [ebp + 8], ecx
call fcn.0040637d
add esp, 0x10
push esi
call fcn.00405e0a
test eax, eax
push esi
mov esi, 0x40b0c8
je 0x401a82
push esi
call fcn.004061c9
jmp 0x401a99
push 0x437000
push esi
call fcn.004061c9
push eax
call fcn.004065b7
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004061eb
mov edi, 0x40c0c8
cmp dword [ebp + 8], 3
jl 0x401adb
push esi
call fcn.00406411
xor ecx, ecx
cmp eax, ebx
je 0x401ac6
lea ecx, [ebp - 0x20]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x401ae6
push esi
call fcn.00405f16
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405f3c
cmp eax, 0xffffffff
mov dword [ebp - 0x48], eax
jne 0x401bc7
cmp dword [ebp + 8], ebx
jne 0x401b84
push esi
push str.File:_error_creating___s_
call fcn.0040637d
pop ecx
pop ecx
push section..ndata
push edi
call fcn.004061c9
push esi
push section..ndata
call fcn.004061c9
push dword [ebp - 0x18]
push 0x40b8c8
call fcn.0040669a
push edi
push section..ndata
call fcn.004061c9
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40b8c8
call fcn.00405d87
sub eax, 4
jne 0x401b6e
push str.File:_error__user_retry
call fcn.0040637d
pop ecx
jmp 0x401aa4
dec eax
je 0x401bb1
push str.File:_error__user_abort
call fcn.0040637d
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x401618
push dword [ebp - 0x14]
push 0xffffffffffffffe2
call fcn.00404fe0
cmp dword [ebp + 8], 2
jne 0x401b9b
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.0040637d
add esp, 0xc
jmp case.0x4015e4.66
push str.File:_error__user_cancel
call fcn.0040637d
inc dword [0x42bde8]
pop ecx
jmp 0x4030a7
push dword [ebp - 0x14]
push 0xffffffffffffffea
call fcn.00404fe0
inc dword [0x42be14]
push ebx
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x24]
call fcn.004034ca
dec dword [0x42be14]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.0040637d
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401c07
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401c16
lea eax, [ebp - 0x20]
push eax
push ebx
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015e4.66
cmp edi, 0xfffffffe
jne 0x401c3f
push 0xffffffffffffffe9
push esi
call fcn.0040669a
push dword [ebp - 0x14]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c47
push 0xffffffffffffffee
push esi
call fcn.0040669a
push esi
push 0x4089ec
call fcn.0040637d
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405d87
jmp 0x40161d
xor esi, esi
call fcn.00401450
mov esi, eax
push esi
push str.Delete:___s_
call fcn.0040637d
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.00406ab9
jmp case.0x4015e4.66
push 0x31
pop esi
call fcn.00401450
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.0040637d
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00405d87
cmp eax, ebx
je 0x401a30
cmp eax, dword [ebp - 0x24]
jne 0x401cc1
mov eax, dword [ebp - 0x20]
jmp 0x4030a9
cmp eax, dword [ebp - 0x1c]
jne case.0x4015e4.66
mov eax, dword [ebp - 0x18]
jmp 0x4030a9
push 0xfffffffffffffff0
pop esi
call fcn.00401450
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c73
xor esi, esi
inc esi
call fcn.00401450
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x401728
push 2
pop ecx
call fcn.0040143a
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.0040143a
xor esi, esi
inc esi
mov dword [ebp - 0x10], eax
call fcn.00401450
cmp dword [ebp - 0x24], ebx
mov esi, eax
mov word [edi], bx
je 0x401d29
cmp dword [ebp + 8], ebx
je case.0x4015e4.66
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x10], ebx
jge 0x401d3d
add dword [ebp - 0x10], eax
js case.0x4015e4.66
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jle 0x401d46
mov ecx, eax
lea eax, [esi + ecx*2]
push eax
push edi
call fcn.004061c9
cmp dword [ebp + 8], ebx
je case.0x4015e4.66
jge 0x401d69
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401d69
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0x400
jge case.0x4015e4.66
mov eax, dword [ebp + 8]
mov word [edi + eax*2], bx
jmp case.0x4015e4.66
push 0x20
pop esi
call fcn.00401450
push 0x31
pop esi
mov edi, eax
call fcn.00401450
cmp dword [ebp - 0x1c], ebx
push eax
push edi
jne 0x401dae
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401cb9
jmp 0x4018f5
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401da1
xor esi, esi
inc esi
call fcn.00401450
push 0x400
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401de2
cmp dword [ebp - 0x24], ebx
je 0x401dec
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401dec
mov dword [ebp - 4], 1
mov word [edi], bx
mov word [edi + 0x7fe], bx
jmp case.0x4015e4.66
xor ecx, ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143a
cmp dword [ebp - 0x18], ebx
jne 0x401e24
cmp esi, eax
jl 0x401cb9
jle 0x4018f5
mov eax, dword [ebp - 0x1c]
jmp 0x4030a9
cmp esi, eax
jb 0x401cb9
jbe 0x4018f5
jmp 0x401e1c
xor ecx, ecx
inc ecx
call fcn.0040143a
push 2
pop ecx
mov esi, eax
call fcn.0040143a
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401e50
jmp dword [eax*4 + 0x4031c5]
add esi, ecx
jmp case.default.0x401e50
sub esi, ecx
jmp case.default.0x401e50
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e50
cmp ecx, ebx
je 0x401e71
mov eax, esi
cdq
idiv ecx
jmp 0x401e8f
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401e50
or esi, ecx
jmp case.default.0x401e50
and esi, ecx
jmp case.default.0x401e50
xor esi, ecx
jmp case.default.0x401e50
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401e50
cmp esi, ebx
jne 0x401e9b
cmp ecx, ebx
je 0x401ea4
xor esi, esi
inc esi
jmp case.default.0x401e50
cmp esi, ebx
jne 0x401e97
xor esi, esi
jmp case.default.0x401e50
cmp ecx, ebx
je 0x401e71
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e50
shl esi, cl
jmp case.default.0x401e50
sar esi, cl
push esi
jmp 0x401728
xor esi, esi
inc esi
call fcn.00401450
push 2
pop ecx
mov esi, eax
call fcn.0040143a
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401ba9
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov esi, dword [0x40b0c4]
je 0x401f4c
dec eax
cmp esi, ebx
je 0x401efd
cmp eax, ebx
mov esi, dword [esi]
jne 0x401eee
cmp esi, ebx
jne 0x401f1f
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.0040637d
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040669a
push eax
jmp 0x401c5a
lea edi, [esi + 4]
push edi
mov esi, 0x40b0c8
push esi
call fcn.004061c9
mov eax, dword [0x40b0c4]
add eax, 4
push eax
push edi
call fcn.004061c9
mov eax, dword [0x40b0c4]
push esi
add eax, 4
push eax
jmp 0x402e41
cmp edx, ebx
je 0x401f7b
cmp esi, ebx
jne 0x401f64
push str.Pop:_stack_empty
call fcn.0040637d
pop ecx
jmp 0x401a30
lea eax, [esi + 4]
push eax
push edi
call fcn.004061c9
mov eax, dword [esi]
mov dword [0x40b0c4], eax
push esi
jmp 0x4023f3
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040669a
mov eax, dword [0x40b0c4]
mov dword [esi], eax
mov dword [0x40b0c4], esi
jmp case.0x4015e4.66
push 3
pop ecx
call fcn.0040143a
push 4
pop ecx
mov dword [ebp - 0x10], eax
call fcn.0040143a
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401fcf
push 0x33
pop esi
call fcn.00401450
mov dword [ebp - 0x10], eax
test byte [ebp - 0x18], 2
je 0x401fe0
push 0x44
pop esi
call fcn.00401450
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
jne 0x40202e
xor ecx, ecx
inc ecx
call fcn.0040143a
push 2
pop ecx
mov esi, eax
call fcn.0040143a
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x40201e
lea edx, [ebp - 0x48]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x402069
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402066
xor esi, esi
inc esi
call fcn.00401450
push 0x12
pop esi
mov dword [ebp - 0x14], eax
call fcn.00401450
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x14]
push ecx
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x2c], ebx
jl case.0x4015e4.66
push dword [ebp - 0x48]
jmp 0x401728
xor ecx, ecx
call fcn.0040143a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018f5
jmp 0x4018dc
push 2
pop ecx
call fcn.0040143a
xor ecx, ecx
push eax
inc ecx
call fcn.0040143a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401cf2
mov eax, dword [0x42bd68]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.0040143a
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015e4.66
push edx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x24]
push 0x10
push eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x24]
push eax
push ebx
xor esi, esi
call fcn.00401450
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015e4.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015e4.66
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.0040143a
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp - 8]
neg eax
mov dword [0x40d8c8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.0040143a
push dword [ebp - 0x28]
mov dword [0x40d8d8], eax
mov al, byte [ebp - 0x1c]
mov cl, al
and cl, 1
mov byte [0x40d8dc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40d8e4
mov byte [0x40d8dd], cl
mov byte [0x40d8de], al
mov byte [0x40d8df], 1
call fcn.0040669a
push 0x40d8c8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401cf2
xor ecx, ecx
call fcn.0040143a
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143a
cmp dword [ebp - 0x24], ebx
mov edi, eax
je 0x4021d5
push str.HideWindow
call fcn.0040637d
pop ecx
cmp dword [ebp - 0x20], ebx
push edi
push esi
jne 0x4021e7
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015e4.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015e4.66
xor esi, esi
call fcn.00401450
push 0x31
pop esi
mov edi, eax
call fcn.00401450
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
push 0x15
pop esi
mov ebx, eax
call fcn.00401450
push 0xffffffffffffffec
call fcn.00401429
mov ax, word [ebx]
push dword [ebp - 0x20]
neg ax
push 0x437000
sbb eax, eax
and eax, ebx
push eax
mov ax, word [edi]
push dword [ebp + 8]
neg ax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x402266
push eax
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.0040637d
add esp, 0x14
jmp 0x401a30
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.0040637d
add esp, 0x10
jmp case.0x4015e4.66
xor esi, esi
call fcn.00401450
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.0040637d
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00404fe0
push esi
call fcn.00405d22
cmp eax, ebx
mov dword [ebp + 8], eax
push esi
je 0x402313
push str.Exec:_success____s__
call fcn.0040637d
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
je 0x40230b
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp + 8]
call esi
mov edi, 0x102
jmp 0x4022dc
push 0xf
call fcn.004064e2
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x4022ce
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x4022ff
push dword [ebp - 0x48]
push dword [ebp - 0xc]
call fcn.00406110
jmp 0x40230b
cmp dword [ebp - 0x48], ebx
je 0x40230b
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402b06
push 0x4087a8
jmp 0x40196b
push 2
pop esi
call fcn.00401450
push eax
call fcn.00406411
mov esi, eax
cmp esi, ebx
je 0x402344
push dword [esi + 0x14]
push dword [ebp - 0xc]
call fcn.00406110
push dword [esi + 0x18]
jmp 0x401728
mov eax, dword [ebp - 0xc]
mov word [edi], bx
mov word [eax], bx
jmp 0x401a30
push 0xffffffffffffffee
pop esi
call fcn.00401450
lea ecx, [ebp - 0x38]
push ecx
push eax
push 8
mov dword [ebp - 0x14], eax
call fcn.004064a8
call eax
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp - 0xc]
mov word [edi], bx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x4015e4.66
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x4015e4.66
push 9
call fcn.004064a8
push 0xa
mov dword [ebp - 0x34], eax
call fcn.004064a8
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push esi
push ebx
push dword [ebp - 0x14]
call dword [ebp - 0x34]
test eax, eax
je 0x4023f0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x4087a4
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x4023f0
mov eax, dword [ebp - 0x48]
push dword [eax + 8]
push edi
call fcn.00406110
mov eax, dword [ebp - 0x48]
push dword [eax + 0xc]
push dword [ebp - 0xc]
call fcn.00406110
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015e4.66
cmp dword [0x42be18], ebx
mov dword [ebp - 4], 1
jl 0x4024f0
push 0xfffffffffffffff0
pop esi
call fcn.00401450
xor esi, esi
inc esi
mov edi, eax
call fcn.00401450
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x48], eax
je 0x402439
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x40244e
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4024de
push dword [ebp - 0x48]
push dword [ebp + 8]
call fcn.00406515
mov esi, eax
cmp esi, ebx
je 0x40249c
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x40247e
push dword [ebp - 0x24]
call fcn.00401429
call esi
test eax, eax
je 0x4024b7
mov dword [ebp - 4], 1
jmp 0x4024b7
push section..data
push 0x40b0c4
push section..ndata
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4024b7
push dword [ebp - 0x48]
push 0xfffffffffffffff7
call fcn.00404fe0
push edi
push dword [ebp - 0x48]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.0040637d
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jne case.0x4015e4.66
push dword [ebp + 8]
call fcn.00403d8e
test eax, eax
je case.0x4015e4.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015e4.66
push 0xfffffffffffffff6
call fcn.00401429
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401972
push 0xffffffffffffffe7
call fcn.00401429
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401798
push 0xfffffffffffffff0
pop esi
call fcn.00401450
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x40], eax
call fcn.00401450
push 2
pop esi
mov dword [ebp - 0x48], eax
call fcn.00401450
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401450
push 0x45
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401450
push dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
and ecx, 0xfff
mov dword [ebp - 0x34], ecx
mov ecx, eax
mov edi, eax
sar eax, 0x10
and ecx, 0x8000
and eax, 0xffff
sar edi, 0xc
mov dword [ebp - 0xc], ecx
and edi, 7
mov dword [ebp - 0x14], eax
call fcn.00405e0a
test eax, eax
jne 0x402578
push 0x21
pop esi
call fcn.00401450
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push edi
push dword [ebp - 0x34]
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push dword [ebp - 0x40]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.0040637d
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x409a40
push 1
push ebx
push 0x409a50
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402667
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x409a60
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x402659
mov eax, dword [ebp + 8]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
jne 0x4025f6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x437000
push eax
call dword [ecx + 0x24]
cmp edi, ebx
je 0x402604
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp word [esi], bx
je 0x402622
push dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 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 - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x10], ebx
jl 0x402650
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x40]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jge 0x402675
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4018ae
push 0xfffffffffffffff4
jmp 0x4018ae
xor esi, esi
call fcn.00401450
push 0x11
pop esi
mov edi, eax
call fcn.00401450
push 0x23
pop esi
mov dword [ebp + 8], eax
call fcn.00401450
mov esi, dword [ebp + 8]
push esi
push edi
push str.CopyFiles___s_____s_
mov dword [ebp - 0x38], eax
call fcn.0040637d
add esp, 0xc
push edi
call fcn.00406411
test eax, eax
jne 0x4026c4
push ebx
push 0xfffffffffffffff9
call fcn.00404fe0
jmp 0x401a30
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 2
call sub.KERNEL32.dll_lstrlenW
push esi
mov word [edi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [esi + eax*2 + 2], bx
mov eax, dword [ebp - 0x38]
mov cx, word [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x46], eax
mov word [ebp - 0x50], cx
call fcn.00404fe0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015e4.66
jmp 0x4026b7
cmp esi, 0xbadf00d
jne 0x401f0c
inc dword [0x42bdf4]
jmp case.0x4015e4.66
push str._RM_
mov esi, 0x40b8c8
push esi
mov dword [ebp - 0x48], ebx
mov dword [ebp + 8], ebx
call fcn.004061c9
push esi
mov edi, 0x40c0c8
push edi
call fcn.004061c9
cmp dword [ebp - 0x2c], ebx
je 0x40275e
xor esi, esi
call fcn.00401450
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x28], ebx
je 0x40276e
push 0x11
pop esi
call fcn.00401450
mov dword [ebp + 8], eax
cmp dword [ebp - 0x1c], ebx
je 0x40277d
push 0x22
pop esi
call fcn.00401450
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401450
mov esi, eax
push esi
push edi
push 0x40b8c8
push 0x40b0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.0040637d
add esp, 0x14
push esi
push ebx
push dword [ebp + 8]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401a28
xor esi, esi
inc esi
mov dword [ebp + 8], 0xa
call fcn.00401450
push 0x12
pop esi
mov dword [ebp - 0x48], eax
call fcn.00401450
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x38], eax
call fcn.00401450
push eax
push 0x3ff
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x401a04
push edx
call fcn.0040629a
cmp dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x40284c
push 2
call fcn.0040153e
mov edi, eax
cmp edi, ebx
je 0x401a30
push 0x33
pop esi
call fcn.00401450
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x40c0c8
push dword [ebp + 8]
mov dword [ebp - 0x48], eax
push str.DeleteRegValue:___s_s____s_
call fcn.0040637d
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402889
push 0x22
pop esi
call fcn.00401450
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.0040637d
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp eax, ebx
jne 0x402878
mov eax, dword [0x42bde4]
add eax, 0x80000001
mov ecx, dword [ebp - 0x1c]
and ecx, 2
push ecx
push esi
push eax
call fcn.00401488
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], ebx
je case.0x4015e4.66
jmp 0x401a30
cmp esi, ebx
je 0x40289f
mov edi, esi
jmp 0x4028ab
mov edi, dword [0x42bde4]
add edi, 0x80000001
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
push 2
pop esi
mov dword [ebp - 0x14], eax
call fcn.00401450
push 0x11
pop esi
mov dword [ebp - 8], eax
call fcn.00401450
push edi
mov dword [ebp + 8], eax
call fcn.0040629a
pop ecx
push ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x42be10]
push ebx
or eax, 2
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402a03
xor esi, esi
cmp dword [ebp - 0x48], 1
mov edi, 0x40c0c8
jne 0x402950
push 0x23
pop esi
call fcn.00401450
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x14], 1
push edi
push dword [ebp - 8]
lea esi, [eax + eax + 2]
push dword [ebp + 8]
push dword [ebp - 0xc]
jne 0x402943
push str.WriteRegStr:___s_s____s___s_
call fcn.0040637d
add esp, 0x14
jmp 0x4029c4
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.0040637d
add esp, 0x14
cmp dword [ebp - 0x48], 4
jne 0x40297d
push 3
pop ecx
call fcn.0040143a
push 4
pop esi
push eax
push dword [ebp - 8]
mov dword [0x40c0c8], eax
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.0040637d
add esp, 0x14
cmp dword [ebp - 0x48], 3
jne 0x4029c4
push 0x1800
push edi
push ebx
push dword [ebp - 0x20]
call fcn.004034ca
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x160]
push 0x80
push eax
call fcn.004062fe
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteRegBin:___s_s____s___s_
call fcn.0040637d
add esp, 0x24
push esi
push edi
push dword [ebp - 0x14]
push ebx
push dword [ebp - 8]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4029df
mov dword [ebp - 4], ebx
jmp 0x4029f5
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.0040637d
add esp, 0x10
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015e4.66
push dword [ebp + 8]
push dword [ebp - 0xc]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401ba4
push 0x20019
call fcn.0040153e
push 0x33
pop esi
mov dword [ebp - 0x48], eax
call fcn.00401450
cmp dword [ebp - 0x48], ebx
mov word [edi], bx
je 0x401a30
lea ecx, [ebp - 0x38]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x38], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402a8b
cmp dword [ebp + 8], 4
je 0x402a76
cmp dword [ebp + 8], ecx
je 0x402a67
cmp dword [ebp + 8], 2
jne 0x402a8b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov word [edi + 0x7fe], bx
jmp 0x402a91
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00406110
jmp 0x402a91
mov word [edi], bx
mov dword [ebp - 4], ecx
push dword [ebp - 0x48]
jmp 0x4029f8
push 0x20019
call fcn.0040153e
push 3
pop ecx
mov esi, eax
call fcn.0040143a
cmp esi, ebx
mov word [edi], bx
je 0x401a30
cmp dword [ebp - 0x1c], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x402ad1
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402aea
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x401a30
mov word [edi + 0x7fe], bx
push esi
jmp 0x4029f8
push edi
call fcn.00406129
cmp eax, ebx
je case.0x4015e4.66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015e4.66
push 0xffffffffffffffed
pop esi
call fcn.00401450
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00405f3c
cmp eax, 0xffffffff
jne 0x401cf2
mov word [edi], bx
jmp 0x401a30
mov esi, dword [ebp - 0x24]
xor eax, eax
cmp ecx, 0x38
sete al
cmp esi, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp + 8], eax
je 0x402b66
xor ecx, ecx
inc ecx
call fcn.0040143a
mov esi, dword [ebp + 8]
mov word [0x40b8c8], ax
xor eax, eax
cmp esi, ebx
sete al
inc eax
jmp 0x402bab
cmp ecx, 0x38
jne 0x402b98
push 0x21
pop esi
call fcn.00401450
push ebx
push ebx
push 0x400
mov esi, 0x40b8c8
push esi
push 0xffffffffffffffff
push 0x40c0c8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402ba8
push 0x11
pop esi
call fcn.00401450
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov esi, dword [ebp + 8]
cmp word [edi], bx
mov dword [ebp - 0x48], eax
je 0x401a30
push edi
call fcn.00406129
or esi, dword [ebp - 0x38]
mov edi, eax
jne 0x402bd8
cmp dword [ebp - 0x20], ebx
je 0x402bd8
push edi
push edi
call fcn.0040601d
test eax, eax
jl 0x401a30
push dword [ebp - 0x48]
push 0x40b8c8
push edi
call fcn.00405fee
jmp 0x401a28
push 2
pop ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x3c], ecx
call fcn.0040143a
cmp eax, 1
mov dword [ebp - 0x14], eax
jl case.0x4015e4.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402c11
mov dword [ebp - 0x14], ecx
cmp word [edi], bx
je 0x402d82
push edi
mov dword [ebp - 0x48], ebx
call fcn.00406129
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
jle 0x402d82
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x30], 0x39
jne 0x402cd1
push ebx
lea eax, [ebp - 0x34]
push eax
push 2
pop eax
sub eax, dword [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402d82
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x402d82
cmp dword [ebp - 0x20], ebx
movzx ax, byte [ebp + 8]
movzx eax, ax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jne 0x402d3e
push 1
lea eax, [ebp - 0x40]
push eax
push ecx
lea eax, [ebp + 8]
push eax
push 8
push ebx
call esi
test eax, eax
jne 0x402d02
mov edi, dword [ebp - 0x3c]
neg edi
dec dword [ebp - 0x34]
mov eax, 0xfffd
mov dword [ebp - 0x40], eax
je 0x402d05
dec dword [ebp - 0x3c]
push 1
push ebx
inc edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x34]
lea eax, [ebp + 8]
push eax
push 8
push ebx
call esi
test eax, eax
je 0x402c9b
jmp 0x402d02
cmp dword [ebp - 0x20], ebx
jne 0x402cec
cmp dword [ebp - 8], ebx
jne 0x402cec
push ebx
push dword [ebp - 0x10]
call fcn.0040601d
test eax, eax
jl 0x402d82
push 2
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x10]
call fcn.00405fbf
test eax, eax
je 0x402d82
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x20], ebx
jne 0x402d3e
cmp word [ebp - 0x48], 0xd
je 0x402d4f
cmp word [ebp - 0x48], 0xa
je 0x402d4f
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
cmp ax, bx
mov word [ecx + edx*2], ax
movzx ecx, ax
mov dword [ebp - 0x48], ecx
je 0x402d82
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jl 0x402c35
jmp 0x402d82
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.00406110
jmp 0x4030a7
cmp word [ebp - 0x48], ax
je 0x402d70
cmp ax, 0xd
je 0x402d61
cmp ax, 0xa
jne 0x402d70
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x402d82
mov eax, dword [ebp - 0x3c]
push 1
push ebx
neg eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2], bx
cmp eax, ebx
jmp 0x401a2a
cmp word [edi], bx
je case.0x4015e4.66
push dword [ebp - 0x20]
push ebx
push 2
pop ecx
call fcn.0040143a
push eax
push edi
call fcn.00406129
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x4015e4.66
push eax
push dword [ebp - 0xc]
jmp 0x401729
push edi
call fcn.00406129
cmp eax, ebx
je case.0x4015e4.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015e4.66
push dword [ebp - 0xc]
call fcn.00406129
cmp eax, ebx
je 0x401a0a
lea ecx, [ebp - 0x3b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401a0a
jmp 0x402e39
push 2
pop esi
call fcn.00401450
lea ecx, [ebp - 0x3b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e30
mov eax, dword [ebp - 0xc]
mov word [eax], bx
jmp 0x402b2e
push eax
push dword [ebp - 0xc]
call fcn.00406110
lea eax, [ebp - 0x384]
push eax
push edi
call fcn.004061c9
jmp case.0x4015e4.66
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 0x48], 0xfffffd66
call fcn.00401450
mov edi, eax
push edi
mov dword [ebp - 0x34], edi
call fcn.00405e0a
test eax, eax
jne 0x402e71
push 0xffffffffffffffed
pop esi
call fcn.00401450
push edi
call fcn.00405f16
push 2
push 0x40000000
push edi
call fcn.00405f3c
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402f27
mov eax, dword [0x42bd8c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402f1e
push ebx
call fcn.0040334c
push dword [ebp - 0x14]
push edi
call fcn.00403336
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x38], esi
je 0x402efc
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.004034ca
jmp 0x402eef
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x4c], ecx
call fcn.00405ef2
add esi, dword [ebp - 0x4c]
cmp byte [esi], bl
jne 0x402ed7
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
call fcn.00405fee
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004034ca
mov dword [ebp - 0x48], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
push dword [ebp - 0x48]
push str.created_uninstaller:__d____s_
call fcn.0040637d
add esp, 0xc
cmp dword [ebp - 0x48], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402f55
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4018ae
cmp esi, ebx
je 0x402f7d
push edx
push str.settings_logging_to__d
call fcn.0040637d
mov eax, dword [ebp - 0x28]
push eax
mov dword [0x428ca8], eax
push str.logging_set_to__d
jmp 0x402270
xor esi, esi
inc esi
call fcn.00401450
push eax
push 0x4089ec
jmp 0x401972
xor ecx, ecx
call fcn.0040143a
mov edi, eax
cmp edi, dword [0x42bd4c]
jae 0x401a30
mov eax, dword [ebp - 0x24]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x42bd48]
cmp eax, ebx
jl 0x402fd1
mov ecx, dword [esi + eax*4]
jne 0x402fcb
add esi, 0x18
push esi
push dword [ebp - 0xc]
jmp 0x402e41
push ecx
jmp 0x402dc0
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x402fe8
xor ecx, ecx
inc ecx
call fcn.0040143a
mov dword [ebp - 0x28], eax
jmp 0x402ffb
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.0040669a
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], ebx
je case.0x4015e4.66
push edi
call fcn.0040117d
jmp case.0x4015e4.66
xor ecx, ecx
call fcn.0040143a
cmp eax, 0x20
jae 0x401a30
cmp dword [ebp - 0x20], ebx
je 0x40304c
cmp dword [ebp - 0x24], ebx
je 0x403041
push eax
call fcn.0040129d
push ebx
push ebx
call fcn.004011ef
jmp case.0x4015e4.66
push ebx
call fcn.004012e8
jmp 0x402dbf
cmp dword [ebp - 0x24], ebx
je 0x403063
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x42bd2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015e4.66
mov ecx, dword [0x42bd2c]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.0040669a
jmp case.0x4015e4.66
mov eax, dword [0x426208]
push ebx
and eax, esi
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x2c], ebx
je case.0x4015e4.66
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x42bde8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4