Function at 0x401325
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x435748]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov esi, eax
mov dword [0x40aa10], edx
mov edx, dword [ebp - 0x2c]
mov edi, section..ndata
shl esi, 0xb
shl ecx, 0xb
add edx, 0xfffffffe
xor ebx, ebx
add esi, edi
add ecx, edi
cmp edx, 0x44
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ecx
ja case.0x40137b.67
jmp dword [edx*4 + 0x40294d]
push ebx
push eax
call fcn.00405d74
jmp 0x402118
inc dword [0x43470c]
cmp dword [ebp - 0xc], ebx
je 0x402118
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402118
push eax
call fcn.0040125e
dec eax
push ebx
push eax
call fcn.0040127a
jmp case.0x40137b.2
push ebx
push eax
call fcn.00405d74
jmp case.0x40137b.67
push ebx
call fcn.00402a95
cmp eax, 1
jg 0x4013d6
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40137b.67
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40137b.67
shl eax, 2
cmp dword [ebp - 0x20], ebx
jne 0x40141a
mov ecx, dword [eax + 0x4357a0]
push 1
mov dword [eax + 0x4357e0], ecx
call fcn.00402a95
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x4357a0], eax
jmp case.0x40137b.67
mov ecx, dword [eax + 0x4357e0]
mov dword [eax + 0x4357a0], ecx
jmp case.0x40137b.67
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x4357a0]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [esi], ecx
jmp case.0x40137b.2
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x4357a0]
jmp 0x402935
mov ecx, dword [0x434710]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x401474
push dword [ebp - 0x24]
push ecx
call esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x434724]
cmp ecx, ebx
je case.0x40137b.67
push eax
push ecx
call esi
jmp case.0x40137b.67
push 0xfffffffffffffff0
call fcn.00402ab2
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40137b.67
jmp 0x4026f6
push 0xfffffffffffffff0
call fcn.00402ab2
push eax
mov dword [ebp + 8], eax
call fcn.00406589
mov esi, eax
cmp esi, ebx
je 0x401504
push 0x5c
push esi
call fcn.0040650b
mov esi, eax
push ebx
push dword [ebp + 8]
mov di, word [esi]
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4014fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4014f7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4014fa
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4014bf
cmp dword [ebp - 0x24], ebx
je 0x40152b
push 0xffffffffffffffe6
call fcn.00401314
push dword [ebp + 8]
push 0x441000
call fcn.00406aad
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x40137b.67
push 0xfffffffffffffff5
jmp 0x40206c
push ebx
call fcn.00402ab2
push eax
call fcn.00406e12
jmp 0x401b83
push 0xffffffffffffffd0
call fcn.00402ab2
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402ab2
push 0x13
mov edi, eax
call fcn.00402ab2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40156f
push 0xffffffffffffffe3
jmp 0x40206c
cmp dword [ebp - 0x20], ebx
je 0x4026f6
push esi
call fcn.00406e12
test eax, eax
je 0x4026f6
push edi
push esi
call fcn.00406947
push 0xffffffffffffffe4
jmp 0x40206c
push ebx
call fcn.00402ab2
mov esi, eax
lea eax, [ebp - 8]
push eax
mov edi, 0x400
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4015d8
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x4015e5
cmp word [eax], bx
je 0x4015e5
push esi
call fcn.00406e12
cmp eax, ebx
je 0x4015d8
add eax, 0x2c
push eax
push dword [ebp - 8]
call fcn.00406aad
jmp 0x4015e5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
mov word [eax], bx
cmp dword [ebp - 0x20], ebx
jne case.0x40137b.67
push edi
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40137b.67
push 0xffffffffffffffff
call fcn.00402ab2
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.0x40137b.67
jmp 0x4026c4
push 0xffffffffffffffef
call fcn.00402ab2
push eax
push esi
call fcn.00406728
jmp 0x40149c
push 0x31
call fcn.00402ab2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 0xc]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00406555
push dword [ebp - 0xc]
mov esi, 0x40aa18
test eax, eax
je 0x401669
push esi
call fcn.00406aad
jmp 0x401680
push 0x441000
push esi
call fcn.00406aad
push eax
call fcn.004064de
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406d63
cmp dword [ebp + 8], 3
jl 0x4016bd
push esi
call fcn.00406e12
xor ecx, ecx
cmp eax, ebx
je 0x4016a8
lea ecx, [ebp - 0x1c]
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 0x4016c8
push esi
call fcn.004066da
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.004066f9
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401758
cmp dword [ebp + 8], ebx
jne 0x40173a
push edi
push str.C:UsersADMINI1AppDataLocalTemp_nsa6F5F.tmp
call fcn.00406aad
push esi
push edi
call fcn.00406aad
push dword [ebp - 0x14]
push 0x40b218
call fcn.00406ae7
push str.C:UsersADMINI1AppDataLocalTemp_nsa6F5F.tmp
push edi
call fcn.00406aad
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40b218
call fcn.004062a3
sub eax, 4
je 0x401686
dec eax
je 0x40174d
push esi
push 0xfffffffffffffffa
jmp 0x401384
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.00405d74
cmp dword [ebp + 8], 2
jmp 0x40149e
inc dword [0x4357a8]
jmp 0x402944
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.00405d74
inc dword [0x4357d4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.00402f1a
dec dword [0x4357d4]
cmp dword [ebp - 0x1c], 0xffffffff
mov edi, eax
jne 0x401789
cmp dword [ebp - 0x18], 0xffffffff
je 0x40179b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
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.0x40137b.67
cmp edi, 0xfffffffe
jne 0x4017c4
push 0xffffffffffffffe9
push esi
call fcn.00406ae7
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4017cc
push 0xffffffffffffffee
push esi
call fcn.00406ae7
push 0x200010
push esi
jmp 0x402113
push ebx
jmp 0x40180e
push 0x31
call fcn.00402ab2
push dword [ebp - 0x28]
push eax
call fcn.004062a3
cmp eax, ebx
je 0x4026f6
cmp eax, dword [ebp - 0x20]
je 0x40194a
cmp eax, dword [ebp - 0x18]
jne case.0x40137b.67
mov eax, dword [ebp - 0x14]
jmp case.0x40137b.2
push 0xfffffffffffffff0
call fcn.00402ab2
push dword [ebp - 0x24]
push eax
call fcn.00406307
jmp case.0x40137b.67
push 1
call fcn.00402ab2
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402934
push 2
call fcn.00402a95
push 3
mov dword [ebp + 8], eax
call fcn.00402a95
push 1
mov edi, eax
call fcn.00402ab2
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], eax
mov word [esi], bx
je 0x401861
cmp dword [ebp + 8], ebx
je case.0x40137b.67
push eax
call sub.KERNEL32.dll_lstrlenW
cmp edi, ebx
jge 0x401873
add edi, eax
js case.0x40137b.67
cmp edi, eax
jle 0x401879
mov edi, eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.00406aad
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x40137b.67
jge 0x4018a2
push esi
call sub.KERNEL32.dll_lstrlenW
add edi, eax
jns 0x4018a2
mov dword [ebp + 8], ebx
mov edi, ebx
cmp edi, 0x400
jge case.0x40137b.67
mov word [esi + edi*2], bx
jmp case.0x40137b.67
push 0x20
call fcn.00402ab2
push 0x31
mov esi, eax
call fcn.00402ab2
cmp dword [ebp - 0x18], ebx
push eax
push esi
jne 0x4018e0
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40194a
mov eax, dword [ebp - 0x20]
jmp case.0x40137b.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4018d4
xor edi, edi
inc edi
push edi
call fcn.00402ab2
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401918
cmp dword [ebp - 0x20], ebx
je 0x40191e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40191e
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x40137b.67
push ebx
call fcn.00402a95
push 1
mov esi, eax
call fcn.00402a95
cmp dword [ebp - 0x14], ebx
jne 0x401946
cmp esi, eax
jl 0x40194a
jle 0x4018d8
jmp 0x401954
cmp esi, eax
jae 0x401952
mov eax, dword [ebp - 0x1c]
jmp case.0x40137b.2
jbe 0x4018d8
mov eax, dword [ebp - 0x18]
jmp case.0x40137b.2
push 1
call fcn.00402a95
push 2
mov edi, eax
call fcn.00402a95
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x401976
jmp dword [eax*4 + 0x402a61]
add edi, ecx
jmp case.default.0x401976
sub edi, ecx
jmp case.default.0x401976
imul ecx, edi
mov edi, ecx
jmp case.default.0x401976
cmp ecx, ebx
je 0x4019d2
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x401976
or edi, ecx
jmp case.default.0x401976
and edi, ecx
jmp case.default.0x401976
xor edi, ecx
jmp case.default.0x401976
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401995
cmp edi, ebx
jne 0x4019c0
jmp 0x4019bc
xor edi, edi
jmp case.default.0x401976
cmp edi, ebx
je 0x4019b4
cmp ecx, ebx
je 0x4019b4
xor edi, edi
inc edi
jmp case.default.0x401976
cmp ecx, ebx
je 0x4019d2
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401976
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401976
shl edi, cl
jmp case.default.0x401976
sar edi, cl
push edi
jmp 0x402935
push 1
call fcn.00402ab2
push 2
mov edi, eax
call fcn.00402a95
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x40137b.67
mov eax, dword [ebp - 0x20]
mov edi, dword [0x40d218]
cmp eax, ebx
je 0x401a5b
dec eax
cmp edi, ebx
je 0x402105
mov edi, dword [edi]
cmp eax, ebx
jne 0x401a17
cmp edi, ebx
je 0x402105
add edi, 4
mov esi, 0x40aa18
push edi
push esi
call fcn.00406aad
mov eax, dword [0x40d218]
add eax, 4
push eax
push edi
call fcn.00406aad
mov eax, dword [0x40d218]
push esi
add eax, 4
push eax
jmp 0x40284e
cmp dword [ebp - 0x24], ebx
je 0x401a85
cmp edi, ebx
je 0x4026f6
lea eax, [edi + 4]
push eax
push esi
call fcn.00406aad
mov eax, dword [edi]
push edi
mov dword [0x40d218], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40137b.67
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406ae7
mov eax, dword [0x40d218]
mov dword [esi], eax
mov dword [0x40d218], esi
jmp case.0x40137b.67
push 3
call fcn.00402a95
push 4
mov dword [ebp - 0xc], eax
call fcn.00402a95
test byte [ebp - 0x14], 1
mov dword [ebp + 8], eax
je 0x401ad6
push 0x33
call fcn.00402ab2
mov dword [ebp - 0xc], eax
test byte [ebp - 0x14], 2
je 0x401ae6
push 0x44
call fcn.00402ab2
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
push 1
jne 0x401b32
call fcn.00402a95
push 2
mov edi, eax
call fcn.00402a95
mov ecx, dword [ebp - 0x14]
sar ecx, 2
je 0x401b22
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401b65
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401b62
call fcn.00402ab2
push 0x12
mov edi, eax
call fcn.00402ab2
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 - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28], ebx
jl case.0x40137b.67
push dword [ebp - 8]
jmp 0x402935
push ebx
call fcn.00402a95
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018d8
mov eax, dword [ebp - 0x24]
jmp case.0x40137b.2
push 2
call fcn.00402a95
push eax
push 1
call fcn.00402a95
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402934
mov eax, dword [0x435788]
mov ecx, dword [ebp - 0x24]
add eax, ecx
push eax
push 0xffffffffffffffeb
push ebx
call fcn.00402a95
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40137b.67
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x40]
push 0x10
imul eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x20]
push eax
push ebx
push ebx
call fcn.00402ab2
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x40137b.67
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40137b.67
push 0x48
push 0x5a
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
call fcn.00402a95
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x40d220], eax
call fcn.00402a95
mov dword [0x40d230], eax
mov al, byte [ebp - 0x18]
push dword [ebp - 0x24]
mov cl, al
and cl, 1
mov byte [0x40d237], 1
mov byte [0x40d234], cl
mov cl, al
and cl, 2
and al, 4
push 0x40d23c
mov byte [0x40d235], cl
mov byte [0x40d236], al
call fcn.00406ae7
push 0x40d220
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402934
push ebx
call fcn.00402a95
push 1
mov esi, eax
call fcn.00402a95
cmp dword [ebp - 0x1c], ebx
push eax
push esi
jne 0x401cc4
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40137b.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40137b.67
push ebx
call fcn.00402ab2
push 0x31
mov esi, eax
call fcn.00402ab2
push 0x22
mov ebx, eax
call fcn.00402ab2
push 0x15
mov edi, eax
call fcn.00402ab2
push 0xffffffffffffffec
call fcn.00401314
mov ax, word [edi]
push dword [ebp - 0x1c]
neg ax
sbb eax, eax
push 0x441000
and eax, edi
push eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ebx
and eax, esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge case.0x40137b.67
jmp 0x4026f6
push ebx
call fcn.00402ab2
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405d74
push esi
call fcn.00406242
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4026f6
cmp dword [ebp - 0x20], ebx
je 0x401da2
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x401d73
push 0xf
call fcn.00406e72
push 0x64
push dword [ebp - 8]
call esi
cmp eax, edi
je 0x401d65
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], ebx
jl 0x401d96
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004069f4
jmp 0x401da2
cmp dword [ebp - 0xc], ebx
je 0x401da2
mov dword [ebp - 4], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40137b.67
push 2
call fcn.00402ab2
push eax
call fcn.00406e12
mov edi, eax
cmp edi, ebx
je 0x401dd6
push dword [edi + 0x14]
push dword [ebp + 8]
call fcn.004069f4
push dword [edi + 0x18]
jmp 0x402935
mov eax, dword [ebp + 8]
mov word [esi], bx
mov word [eax], bx
jmp 0x4026f6
push 0xffffffffffffffee
call fcn.00402ab2
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
mov eax, dword [ebp + 8]
mov word [esi], bx
cmp edi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x40137b.67
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
je case.0x40137b.67
push eax
push edi
push ebx
push dword [ebp - 0x30]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401e6b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x40a018
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401e6b
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
push esi
call fcn.004069f4
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004069f4
mov dword [ebp - 4], ebx
push dword [ebp - 8]
jmp 0x401a7a
cmp dword [0x4357d8], ebx
mov dword [ebp - 4], 1
jl 0x401f3f
push 0xfffffffffffffff0
call fcn.00402ab2
push 1
mov esi, eax
call fcn.00402ab2
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 8], eax
je 0x401eac
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x401ebd
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x401f38
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00406ea5
mov esi, eax
cmp esi, ebx
je 0x401f07
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x401eed
push dword [ebp - 0x20]
call fcn.00401314
call esi
test eax, eax
je 0x401f11
mov dword [ebp - 4], 1
jmp 0x401f11
push section..data
push 0x40d218
push edi
push 0x400
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x401f11
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00405d74
cmp dword [ebp - 0x1c], ebx
jne case.0x40137b.67
push dword [ebp + 8]
call fcn.004044a0
test eax, eax
je case.0x40137b.67
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40137b.67
push 0xfffffffffffffff6
jmp 0x40206c
push 0xffffffffffffffe7
jmp 0x40206c
push 0xfffffffffffffff0
call fcn.00402ab2
push 0xffffffffffffffdf
mov dword [ebp - 0x40], eax
call fcn.00402ab2
push 2
mov esi, eax
call fcn.00402ab2
push 0xffffffffffffffcd
mov dword [ebp - 0x30], eax
call fcn.00402ab2
push 0x45
mov dword [ebp - 8], eax
call fcn.00402ab2
push esi
mov dword [ebp - 0x38], eax
call fcn.00406555
test eax, eax
jne 0x401f88
push 0x21
call fcn.00402ab2
lea eax, [ebp + 8]
push eax
push 0x408564
push 1
push ebx
push 0x408574
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402063
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xc]
push edx
push 0x408588
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x402056
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp + 8]
push 0x441000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
mov esi, 0xff
mov eax, ecx
sar eax, 8
and eax, esi
je 0x401ffa
mov ecx, dword [ebp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
sar ecx, 0x10
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x402021
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
and edx, esi
mov ecx, dword [eax]
push edx
push dword [ebp - 8]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x30]
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 edi, ebx
jl 0x40204d
mov eax, dword [ebp - 0xc]
push 1
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, 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 edi, ebx
jge 0x402076
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401314
jmp case.0x40137b.67
push 0xfffffffffffffff4
jmp 0x40206c
push ebx
call fcn.00402ab2
push 0x11
mov esi, eax
call fcn.00402ab2
push 0x23
mov edi, eax
call fcn.00402ab2
push esi
mov dword [ebp + 8], eax
call fcn.00406e12
test eax, eax
jne 0x4020ac
push ebx
push 0xfffffffffffffff9
call fcn.00405d74
jmp 0x4026f6
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 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 - 0x20]
push eax
push ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x48], cx
call fcn.00405d74
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40137b.67
jmp 0x40209f
cmp eax, 0xbadf00d
je 0x402122
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406ae7
push eax
call fcn.004062a3
mov eax, 0x7fffffff
jmp case.0x40137b.2
inc dword [0x4357b4]
jmp case.0x40137b.67
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x40213d
push ebx
call fcn.00402ab2
mov esi, eax
cmp dword [ebp - 0x24], ebx
je 0x40214b
push 0x11
call fcn.00402ab2
mov edi, eax
cmp dword [ebp - 0x18], ebx
je 0x402159
push 0x22
call fcn.00402ab2
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402ab2
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40149c
mov eax, dword [0x40a010]
push 1
mov dword [ebp - 0x44], eax
mov eax, dword [0x40a014]
mov dword [ebp - 0x40], eax
call fcn.00402ab2
push 0x12
mov edi, eax
call fcn.00402ab2
push 0xffffffffffffffdd
mov dword [ebp + 8], eax
call fcn.00402ab2
push eax
push 0x3ff
lea eax, [ebp - 0x44]
push esi
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x40161a
cmp dword [ebp - 0x18], ebx
jne 0x4021ee
push 2
call fcn.00402bbc
mov esi, eax
cmp esi, ebx
je 0x4026f6
push 0x33
call fcn.00402ab2
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40220d
push 0x22
call fcn.00402ab2
mov ecx, dword [ebp - 0x18]
and ecx, 2
push ecx
push eax
push dword [ebp - 0x24]
call fcn.00402ba7
push eax
call fcn.00402af2
mov edi, eax
cmp edi, ebx
je case.0x40137b.67
jmp 0x4026f6
push eax
call fcn.00402ba7
mov esi, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x40], eax
call fcn.00402ab2
push 0x11
mov dword [ebp - 0x38], eax
call fcn.00402ab2
lea ecx, [ebp + 8]
push ebx
push ecx
mov ecx, dword [0x4357d0]
or ecx, 2
push ebx
push ecx
push ebx
push ebx
push ebx
push eax
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne case.0x40137b.67
cmp esi, 1
mov edi, str.C:UsersADMINI1AppDataLocalTemp_nsa6F5F.tmp
jne 0x402281
push 0x23
call fcn.00402ab2
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x402294
push 3
call fcn.00402a95
push esi
mov dword [str.C:UsersADMINI1AppDataLocalTemp_nsa6F5F.tmp], eax
pop eax
cmp esi, 3
jne 0x4022a8
push 0x1800
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.00402f1a
push eax
push edi
push dword [ebp - 0x40]
push ebx
push dword [ebp - 0x38]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4022c1
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x40239c
push 0x20019
call fcn.00402bbc
push 0x33
mov edi, eax
call fcn.00402ab2
cmp edi, ebx
mov word [esi], bx
je 0x4026f6
lea ecx, [ebp - 8]
mov dword [ebp - 8], 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 0x40233c
cmp dword [ebp + 8], 4
je 0x402327
cmp dword [ebp + 8], ecx
je 0x402318
cmp dword [ebp + 8], 2
jne 0x40233c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov word [esi + eax*2], bx
jmp 0x40239b
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.004069f4
jmp 0x40239b
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x40239b
push 0x20019
call fcn.00402bbc
push 3
mov edi, eax
call fcn.00402a95
cmp edi, ebx
mov word [esi], bx
je 0x4026f6
cmp dword [ebp - 0x18], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x40237b
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402394
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
jne 0x4026f6
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40137b.67
cmp word [esi], bx
je case.0x40137b.67
push esi
call fcn.00406a0d
push eax
jmp 0x401da5
push 0xffffffffffffffed
call fcn.00402ab2
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.004066f9
cmp eax, 0xffffffff
jne 0x402934
jmp 0x4026f3
mov edi, 0x400
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x20], ebx
mov dword [ebp + 8], eax
je 0x402404
push 1
call fcn.00402a95
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
jmp 0x402429
push 0x11
call fcn.00402ab2
push ebx
push ebx
push edi
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40b218
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [esi], bx
je 0x402448
lea ecx, [ebp - 0x40]
push ebx
push ecx
push eax
push dword [ebp + 8]
push esi
call fcn.00406a0d
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40244f
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x401a7a
push 2
xor edi, edi
call fcn.00402a95
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x40137b.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402478
mov dword [ebp - 8], ecx
cmp word [esi], bx
je 0x40264c
push esi
mov byte [ebp - 0x31], bl
call fcn.00406a0d
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x30], eax
jle 0x40264c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push ebx
push eax
lea eax, [ebp + 0xb]
push 1
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40264f
cmp dword [ebp - 0x40], 1
jne 0x40264f
cmp dword [ebp - 0x1c], ebx
jne 0x402504
lea eax, [ebp - 0xa]
push 2
push eax
lea eax, [ebp + 0xb]
push 1
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x31]
cmp al, 0xd
je 0x40250d
cmp al, 0xa
je 0x40250d
mov ax, word [ebp - 0xa]
mov word [esi + edi*2], ax
mov al, byte [ebp + 0xb]
inc edi
cmp al, bl
mov byte [ebp - 0x31], al
je 0x40264f
cmp edi, dword [ebp - 8]
jl 0x402499
jmp 0x40264f
movzx eax, byte [ebp + 0xb]
jmp 0x402619
cmp al, byte [ebp + 0xb]
je 0x40252c
cmp byte [ebp + 0xb], 0xd
je 0x40251e
cmp byte [ebp + 0xb], 0xa
jne 0x40252c
mov ax, word [ebp - 0xa]
mov word [esi + edi*2], ax
inc edi
jmp 0x40264f
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40264f
cmp dword [ebp - 0x20], ebx
je 0x402556
push 1
call fcn.00402a95
mov word [0x40b218], ax
xor eax, eax
inc eax
jmp 0x402563
push 0x11
call fcn.00402ab2
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [esi], bx
je 0x4026f6
lea ecx, [ebp + 8]
push ebx
add eax, eax
push ecx
push eax
push 0x40b218
push esi
call fcn.00406a0d
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40149c
push 2
xor edi, edi
call fcn.00402a95
cmp eax, 1
mov dword [ebp - 0xc], eax
jl case.0x40137b.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4025ac
mov dword [ebp - 0xc], ecx
cmp word [esi], bx
je 0x40264c
push esi
mov dword [ebp - 8], ebx
call fcn.00406a0d
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x30], eax
jle 0x40264c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push ebx
push eax
lea eax, [ebp + 8]
push 2
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40264f
cmp dword [ebp - 0x40], 2
jne 0x40264f
cmp dword [ebp - 0x1c], ebx
jne 0x402615
cmp word [ebp - 8], 0xd
je 0x402625
cmp word [ebp - 8], 0xa
je 0x402625
mov eax, dword [ebp + 8]
mov word [esi + edi*2], ax
inc edi
cmp ax, bx
mov dword [ebp - 8], eax
je 0x40264f
cmp edi, dword [ebp - 0xc]
jl 0x4025cd
jmp 0x40264f
movzx eax, word [ebp + 8]
push eax
push esi
call fcn.004069f4
jmp 0x402944
mov eax, dword [ebp + 8]
cmp word [ebp - 8], ax
je 0x402642
cmp ax, 0xd
je 0x402522
cmp ax, 0xa
je 0x402522
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x402531
mov esi, dword [ebp + 8]
mov word [esi + edi*2], bx
cmp edi, ebx
jmp 0x40149e
cmp word [esi], bx
je case.0x40137b.67
push dword [ebp - 0x1c]
push ebx
push 2
call fcn.00402a95
push eax
push esi
call fcn.00406a0d
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x40137b.67
jmp 0x4028cc
cmp word [esi], bx
je case.0x40137b.67
push esi
call fcn.00406a0d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40137b.67
cmp word [ecx], bx
je 0x4026c4
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp + 8]
call fcn.00406a0d
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40270b
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40137b.67
push 2
call fcn.00402ab2
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402702
mov eax, dword [ebp + 8]
mov word [eax], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x40137b.67
push eax
push dword [ebp + 8]
call fcn.004069f4
lea eax, [ebp - 0x27c]
push eax
push esi
jmp 0x40284e
push 0xfffffffffffffff0
mov dword [ebp - 8], 0xfffffd66
call fcn.00402ab2
mov esi, eax
push esi
mov dword [ebp - 0x38], esi
call fcn.00406555
test eax, eax
jne 0x40273c
push 0xffffffffffffffed
call fcn.00402ab2
push esi
call fcn.004066da
push 2
push 0x40000000
push esi
call fcn.004066f9
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4027f8
mov eax, dword [0x435754]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x30], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x4027ef
push ebx
call fcn.00403177
push dword [ebp - 0x30]
push edi
call fcn.00403145
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], esi
je 0x4027c7
push dword [ebp - 0x20]
push esi
push ebx
push dword [ebp - 0x24]
call fcn.00402f1a
jmp 0x4027ba
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x10], ecx
call fcn.004066ba
add esi, dword [ebp - 0x10]
cmp byte [esi], bl
jne 0x4027a2
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0x30]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00402f1a
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402813
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x40206c
push ebx
call fcn.00402a95
mov edi, eax
cmp edi, dword [0x43576c]
jae 0x4026f6
mov esi, edi
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x818
add esi, dword [0x435768]
cmp eax, ebx
jl 0x40285b
mov ecx, dword [esi + eax*4]
jne 0x402858
add esi, 0x18
push esi
push dword [ebp + 8]
call fcn.00406aad
jmp case.0x40137b.67
push ecx
jmp 0x4028cd
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402871
push 1
call fcn.00402a95
mov dword [ebp - 0x24], eax
jmp 0x402881
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.00406ae7
or byte [esi + 9], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x1c], ebx
je case.0x40137b.67
push edi
call section..text
jmp case.0x40137b.67
push ebx
call fcn.00402a95
cmp eax, 0x20
jae 0x4026f6
cmp dword [ebp - 0x1c], ebx
je 0x4028d2
cmp dword [ebp - 0x20], ebx
je 0x4028c6
push eax
call fcn.0040111c
push ebx
push ebx
call fcn.00401072
jmp case.0x40137b.67
push ebx
call fcn.00401165
push eax
push dword [ebp + 8]
jmp 0x402936
cmp dword [ebp - 0x20], ebx
je 0x4028e9
mov edx, dword [0x435750]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 + 0x80], ecx
jmp case.0x40137b.67
mov ecx, dword [0x435750]
push dword [ecx + eax*4 + 0x80]
push dword [ebp + 8]
call fcn.00406ae7
jmp case.0x40137b.67
mov ecx, dword [0x430830]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x28], ebx
je case.0x40137b.67
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x40137b.67
push 1
call fcn.00402ab2
push eax
call fcn.00406eec
push eax
push esi
call fcn.004069f4
mov eax, dword [ebp - 4]
add dword [0x4357a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4