Function at 0x401434
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
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x434f28]
push 7
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov edi, section..ndata
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
shl ecx, 0xb
add ecx, edi
mov esi, eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x2c]
shl esi, 0xb
mov dword [0x40ce00], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402a5e]
push ebx
push eax
call fcn.004052ff
jmp 0x402288
inc dword [0x433eec]
cmp dword [ebp - 0xc], ebx
je 0x402288
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402288
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.004052ff
jmp case.0x40148a.65
push ebx
call fcn.00402ba2
cmp eax, 1
jg 0x4014e5
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40148a.65
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40148a.65
shl eax, 2
cmp dword [ebp - 0x24], ebx
jne 0x401529
mov ecx, dword [eax + 0x434fa0]
push 1
mov dword [eax + 0x434fe0], ecx
call fcn.00402ba2
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x434fa0], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x434fe0]
mov dword [eax + 0x434fa0], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x24]
lea esi, [eax*4 + 0x434fa0]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [esi], ecx
jmp case.0x40148a.2
mov eax, dword [ebp - 0x28]
push dword [eax*4 + 0x434fa0]
push esi
jmp 0x4029f2
mov ecx, dword [0x433ef0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x401584
push dword [ebp - 0x28]
push ecx
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x433f04]
cmp ecx, ebx
je case.0x40148a.65
push eax
push ecx
call esi
jmp case.0x40148a.65
push 0xfffffffffffffff0
call fcn.00402bbf
push dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.65
jmp 0x40281e
push 0xfffffffffffffff0
call fcn.00402bbf
push eax
mov dword [ebp + 8], eax
call fcn.00405bff
mov esi, eax
cmp esi, ebx
je 0x401629
push 0x5c
push esi
call fcn.00405b81
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x4015fc
cmp dword [ebp - 0x24], ebx
je 0x4015fc
call fcn.00405868
test eax, eax
je 0x4015fc
push dword [ebp + 8]
call fcn.004057ce
jmp 0x401604
push dword [ebp + 8]
call fcn.0040584b
cmp eax, ebx
je 0x40161f
cmp eax, 0xb7
jne 0x40161c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40161f
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015cf
cmp dword [ebp - 0x28], ebx
je 0x40165b
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x441000
call fcn.004061a0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40148a.65
inc dword [ebp - 4]
jmp case.0x40148a.65
push 0xfffffffffffffff5
jmp 0x4021dc
push ebx
call fcn.00402bbf
push eax
call fcn.004064e3
jmp 0x401cb0
push 0xffffffffffffffd0
call fcn.00402bbf
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402bbf
push 0x13
mov edi, eax
call fcn.00402bbf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40169f
push 0xffffffffffffffe3
jmp 0x4021dc
cmp dword [ebp - 0x24], ebx
je 0x40281e
push esi
call fcn.004064e3
test eax, eax
je 0x40281e
push edi
push esi
call fcn.00406041
push 0xffffffffffffffe4
jmp 0x4021dc
push ebx
call fcn.00402bbf
mov edi, dword [ebp - 0x10]
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 0x401708
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401712
cmp word [eax], bx
je 0x401712
push esi
call fcn.004064e3
cmp eax, ebx
je 0x401708
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004061a0
jmp 0x401712
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x24], ebx
jne case.0x40148a.65
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40148a.65
push 0xffffffffffffffff
call fcn.00402bbf
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.0x40148a.65
jmp 0x4027ec
push 0xffffffffffffffef
call fcn.00402bbf
push eax
push esi
call fcn.00405da4
jmp 0x4015ac
push 0x31
call fcn.00402bbf
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0xc]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405bcb
push dword [ebp - 0xc]
mov esi, 0x40a600
test eax, eax
je 0x401796
push esi
call fcn.004061a0
jmp 0x4017ad
push 0x441000
push esi
call fcn.004061a0
push eax
call fcn.00405b54
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406434
cmp dword [ebp + 8], 3
jl 0x4017ea
push esi
call fcn.004064e3
xor ecx, ecx
cmp eax, ebx
je 0x4017d5
lea ecx, [ebp - 0x20]
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 0x4017f5
push esi
call fcn.00405d50
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405d75
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401885
cmp dword [ebp + 8], ebx
jne 0x401867
push edi
push 0x40b600
call fcn.004061a0
push esi
push edi
call fcn.004061a0
push dword [ebp - 0x18]
push 0x40ae00
call fcn.004061c2
push 0x40b600
push edi
call fcn.004061a0
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40ae00
call fcn.004058e5
sub eax, 4
je 0x4017b3
dec eax
je 0x40187a
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.004052ff
cmp dword [ebp + 8], 2
jmp 0x4015ae
inc dword [0x434fa8]
jmp 0x402a55
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.004052ff
inc dword [0x434fd4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.00403109
dec dword [0x434fd4]
cmp dword [ebp - 0x20], 0xffffffff
mov edi, eax
jne 0x4018b6
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4018c8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
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.0x40148a.65
cmp edi, 0xfffffffe
jne 0x4018f1
push 0xffffffffffffffe9
push esi
call fcn.004061c2
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4018f9
push 0xffffffffffffffee
push esi
call fcn.004061c2
push 0x200010
push esi
jmp 0x402283
push ebx
jmp 0x40193b
push 0x31
call fcn.00402bbf
push dword [ebp - 0x2c]
push eax
call fcn.004058e5
cmp eax, ebx
je 0x40281e
cmp eax, dword [ebp - 0x24]
je 0x401a77
cmp eax, dword [ebp - 0x1c]
jne case.0x40148a.65
mov eax, dword [ebp - 0x18]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402bbf
push dword [ebp - 0x28]
push eax
call fcn.00405991
jmp case.0x40148a.65
push 1
call fcn.00402bbf
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402531
push 2
call fcn.00402ba2
push 3
mov dword [ebp + 8], eax
call fcn.00402ba2
push 1
mov edi, eax
call fcn.00402bbf
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 8], eax
mov word [esi], bx
je 0x40198e
cmp dword [ebp + 8], ebx
je case.0x40148a.65
push eax
call sub.KERNEL32.dll_lstrlenW
cmp edi, ebx
jge 0x4019a0
add edi, eax
js case.0x40148a.65
cmp edi, eax
jle 0x4019a6
mov edi, eax
mov eax, dword [ebp - 8]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.004061a0
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x40148a.65
jge 0x4019cf
push esi
call sub.KERNEL32.dll_lstrlenW
add edi, eax
jns 0x4019cf
mov dword [ebp + 8], ebx
mov edi, ebx
cmp edi, 0x400
jge case.0x40148a.65
mov word [esi + edi*2], bx
jmp case.0x40148a.65
push 0x20
call fcn.00402bbf
push 0x31
mov esi, eax
call fcn.00402bbf
cmp dword [ebp - 0x1c], ebx
push eax
push esi
jne 0x401a0d
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a77
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a01
xor edi, edi
inc edi
push edi
call fcn.00402bbf
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a45
cmp dword [ebp - 0x24], ebx
je 0x401a4b
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a4b
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x40148a.65
push ebx
call fcn.00402ba2
push 1
mov esi, eax
call fcn.00402ba2
cmp dword [ebp - 0x18], ebx
jne 0x401a73
cmp esi, eax
jl 0x401a77
jle 0x401a05
jmp 0x401a81
cmp esi, eax
jae 0x401a7f
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
jbe 0x401a05
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
push 1
call fcn.00402ba2
push 2
mov edi, eax
call fcn.00402ba2
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401aa3
jmp dword [eax*4 + 0x402b6e]
add edi, ecx
jmp case.default.0x401aa3
sub edi, ecx
jmp case.default.0x401aa3
imul ecx, edi
mov edi, ecx
jmp case.default.0x401aa3
cmp ecx, ebx
je 0x401aff
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x401aa3
or edi, ecx
jmp case.default.0x401aa3
and edi, ecx
jmp case.default.0x401aa3
xor edi, ecx
jmp case.default.0x401aa3
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401ac2
cmp edi, ebx
jne 0x401aed
jmp 0x401ae9
xor edi, edi
jmp case.default.0x401aa3
cmp edi, ebx
je 0x401ae1
cmp ecx, ebx
je 0x401ae1
xor edi, edi
inc edi
jmp case.default.0x401aa3
cmp ecx, ebx
je 0x401aff
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401aa3
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401aa3
shl edi, cl
jmp case.default.0x401aa3
sar edi, cl
push edi
jmp 0x401565
push 1
call fcn.00402bbf
push 2
mov edi, eax
call fcn.00402ba2
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x40148a.65
mov eax, dword [ebp - 0x24]
mov edi, dword [0x40ce04]
cmp eax, ebx
je 0x401b88
dec eax
cmp edi, ebx
je 0x402275
mov edi, dword [edi]
cmp eax, ebx
jne 0x401b44
cmp edi, ebx
je 0x402275
add edi, 4
mov esi, 0x40a600
push edi
push esi
call fcn.004061a0
mov eax, dword [0x40ce04]
add eax, 4
push eax
push edi
call fcn.004061a0
mov eax, dword [0x40ce04]
push esi
add eax, 4
push eax
jmp 0x402970
cmp dword [ebp - 0x28], ebx
je 0x401bb2
cmp edi, ebx
je 0x40281e
lea eax, [edi + 4]
push eax
push esi
call fcn.004061a0
mov eax, dword [edi]
push edi
mov dword [0x40ce04], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40148a.65
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.004061c2
mov eax, dword [0x40ce04]
mov dword [esi], eax
mov dword [0x40ce04], esi
jmp case.0x40148a.65
push 3
call fcn.00402ba2
push 4
mov dword [ebp - 0x14], eax
call fcn.00402ba2
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401c03
push 0x33
call fcn.00402bbf
mov dword [ebp - 0x14], eax
test byte [ebp - 0x18], 2
je 0x401c13
push 0x44
call fcn.00402bbf
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
push 1
jne 0x401c5f
call fcn.00402ba2
push 2
mov edi, eax
call fcn.00402ba2
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x401c4f
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401c92
push dword [ebp + 8]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401c8f
call fcn.00402bbf
push 0x12
mov edi, eax
call fcn.00402bbf
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [edi]
neg ax
sbb eax, eax
push ecx
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], ebx
jl case.0x40148a.65
push dword [ebp - 8]
jmp 0x401565
push ebx
call fcn.00402ba2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a05
mov eax, dword [ebp - 0x28]
jmp case.0x40148a.2
push 2
call fcn.00402ba2
push eax
push 1
call fcn.00402ba2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402531
mov eax, dword [0x434f68]
mov ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push 0xffffffffffffffeb
push ebx
call fcn.00402ba2
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.65
push dword [ebp - 0x28]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
push 0x10
imul eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x24]
push eax
push ebx
push ebx
call fcn.00402bbf
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.0x40148a.65
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40148a.65
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x48
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
call fcn.00402ba2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 0xc]
neg eax
mov dword [0x40ce08], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402ba2
mov dword [0x40ce18], eax
mov al, byte [ebp - 0x1c]
push dword [ebp - 0x28]
mov cl, al
and cl, 1
mov byte [0x40ce1f], 1
mov byte [0x40ce1c], cl
mov cl, al
and cl, 2
and al, 4
push 0x40ce24
mov byte [0x40ce1d], cl
mov byte [0x40ce1e], al
call fcn.004061c2
push 0x40ce08
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402531
push ebx
call fcn.00402ba2
push 1
mov esi, eax
call fcn.00402ba2
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401dfd
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40148a.65
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40148a.65
push ebx
call fcn.00402bbf
push 0x31
mov esi, eax
call fcn.00402bbf
push 0x22
mov ebx, eax
call fcn.00402bbf
push 0x15
mov edi, eax
call fcn.00402bbf
push 0xffffffffffffffec
call fcn.00401423
mov ax, word [edi]
push dword [ebp - 0x20]
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.0x40148a.65
jmp 0x40281e
push ebx
call fcn.00402bbf
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004052ff
push esi
call fcn.00405880
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40281e
cmp dword [ebp - 0x24], ebx
je 0x401edb
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x401eac
push 0xf
call fcn.004065b6
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x401e9e
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x401ecf
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.004060e7
jmp 0x401edb
cmp dword [ebp - 8], ebx
je 0x401edb
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.65
push 2
call fcn.00402bbf
push eax
call fcn.004064e3
mov edi, eax
cmp edi, ebx
je 0x401f0f
push dword [edi + 0x14]
push dword [ebp - 0x10]
call fcn.004060e7
push dword [edi + 0x18]
jmp 0x401565
mov eax, dword [ebp - 0x10]
mov word [esi], bx
mov word [eax], bx
jmp 0x40281e
push 0xffffffffffffffee
call fcn.00402bbf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x48], eax
push ecx
push eax
push 8
call fcn.0040657a
call eax
mov edi, eax
mov eax, dword [ebp - 0x10]
mov word [esi], bx
cmp edi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x40148a.65
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.65
push 9
call fcn.0040657a
push 0xa
mov dword [ebp - 0x38], eax
call fcn.0040657a
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edi
push ebx
push dword [ebp - 0x48]
call dword [ebp - 0x38]
test eax, eax
je 0x401fba
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 8]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x14]
test eax, eax
je 0x401fba
mov eax, dword [ebp - 8]
push dword [eax + 8]
push esi
call fcn.004060e7
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [ebp - 0x10]
call fcn.004060e7
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401ba7
cmp dword [0x434fd8], ebx
mov dword [ebp - 4], 1
jl 0x40208e
push 0xfffffffffffffff0
call fcn.00402bbf
push 1
mov esi, eax
call fcn.00402bbf
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 8], eax
je 0x401ffb
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x40200c
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402087
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004065e9
mov esi, eax
cmp esi, ebx
je 0x402056
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x40203c
push dword [ebp - 0x24]
call fcn.00401423
call esi
test eax, eax
je 0x402060
mov dword [ebp - 4], 1
jmp 0x402060
push section..data
push 0x40ce04
push edi
push 0x400
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x402060
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.004052ff
cmp dword [ebp - 0x20], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call fcn.00403989
test eax, eax
je case.0x40148a.65
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40148a.65
push 0xfffffffffffffff6
jmp 0x4021dc
push 0xffffffffffffffe7
jmp 0x4021dc
push 0xfffffffffffffff0
call fcn.00402bbf
push 0xffffffffffffffdf
mov dword [ebp - 0x34], eax
call fcn.00402bbf
push 2
mov dword [ebp - 8], eax
call fcn.00402bbf
push 0xffffffffffffffcd
mov dword [ebp - 0xc], eax
call fcn.00402bbf
push 0x45
mov dword [ebp - 0x3c], eax
call fcn.00402bbf
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x40], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x38], eax
call fcn.00405bcb
test eax, eax
jne 0x402103
push 0x21
call fcn.00402bbf
lea eax, [ebp + 8]
push eax
push 0x4085e0
push 1
push ebx
push 0x4085f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4021d3
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x48]
push edx
push 0x408600
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x4021c5
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x14], eax
jne 0x40215f
mov eax, dword [ebp + 8]
push 0x441000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x40216d
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x3c]
cmp word [ecx], bx
je 0x40218e
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x14], ebx
jl 0x4021bc
mov eax, dword [ebp - 0x48]
push 1
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], ebx
jge 0x4021e6
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.65
push 0xfffffffffffffff4
jmp 0x4021dc
push ebx
call fcn.00402bbf
push 0x11
mov esi, eax
call fcn.00402bbf
push 0x23
mov edi, eax
call fcn.00402bbf
push esi
mov dword [ebp + 8], eax
call fcn.004064e3
test eax, eax
jne 0x40221c
push ebx
push 0xfffffffffffffff9
call fcn.004052ff
jmp 0x40281e
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 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 - 0x24]
push eax
push ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x46], eax
mov word [ebp - 0x50], cx
call fcn.004052ff
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.65
jmp 0x40220f
cmp eax, 0xbadf00d
je 0x402292
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004061c2
push eax
call fcn.004058e5
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x434fb4]
jmp case.0x40148a.65
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x4022ad
push ebx
call fcn.00402bbf
mov esi, eax
cmp dword [ebp - 0x28], ebx
je 0x4022bb
push 0x11
call fcn.00402bbf
mov edi, eax
cmp dword [ebp - 0x1c], ebx
je 0x4022c9
push 0x22
call fcn.00402bbf
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402bbf
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015ac
mov eax, dword [0x40a010]
push 1
mov dword [ebp + 8], eax
call fcn.00402bbf
push 0x12
mov edi, eax
call fcn.00402bbf
push 0xffffffffffffffdd
mov dword [ebp - 0x34], eax
call fcn.00402bbf
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x401749
cmp dword [ebp - 0x1c], ebx
jne 0x40234f
push 2
call fcn.00402cc9
mov esi, eax
cmp esi, ebx
je 0x40281e
push 0x33
call fcn.00402bbf
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40236e
push 0x22
call fcn.00402bbf
mov ecx, dword [ebp - 0x1c]
and ecx, 2
push ecx
push eax
push dword [ebp - 0x28]
call fcn.00402cb4
push eax
call fcn.00402bff
mov edi, eax
cmp edi, ebx
je case.0x40148a.65
jmp 0x40281e
push eax
call fcn.00402cb4
mov esi, dword [ebp - 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x18]
push 2
mov dword [ebp - 0x34], eax
call fcn.00402bbf
push 0x11
mov dword [ebp - 8], eax
call fcn.00402bbf
lea ecx, [ebp + 8]
push ebx
push ecx
mov ecx, dword [0x434fd0]
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.0x40148a.65
cmp esi, 1
mov edi, 0x40b600
jne 0x4023e2
push 0x23
call fcn.00402bbf
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x4023f5
push 3
call fcn.00402ba2
push esi
mov dword [0x40b600], eax
pop eax
cmp esi, 3
jne 0x402409
push 0x1800
push edi
push ebx
push dword [ebp - 0x20]
call fcn.00403109
push eax
push edi
push dword [ebp - 0x34]
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402422
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x4024f6
push 0x20019
call fcn.00402cc9
push 0x33
mov edi, eax
call fcn.00402bbf
cmp edi, ebx
mov word [esi], bx
je 0x40281e
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 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 0x402496
cmp dword [ebp + 8], 4
je 0x402481
cmp dword [ebp + 8], ecx
je 0x402479
cmp dword [ebp + 8], 2
jne 0x402496
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x4024ee
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.004060e7
jmp 0x4024f5
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x4024f5
push 0x20019
call fcn.00402cc9
push 3
mov edi, eax
call fcn.00402ba2
cmp edi, ebx
mov word [esi], bx
je 0x40281e
cmp dword [ebp - 0x1c], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4024d5
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4024ee
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 0x40281e
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
push esi
call fcn.00406100
cmp eax, ebx
je case.0x40148a.65
push eax
jmp 0x401ede
push 0xffffffffffffffed
call fcn.00402bbf
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00405d75
cmp eax, 0xffffffff
je 0x40281b
push eax
jmp 0x401565
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x34], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x402562
push 1
call fcn.00402ba2
mov word [0x40ae00], ax
xor eax, eax
cmp edi, ebx
sete al
inc eax
jmp 0x4025a5
cmp edx, 0x38
jne 0x402596
push 0x21
call fcn.00402bbf
push ebx
push ebx
push 0x400
push 0x40ae00
push 0xffffffffffffffff
push 0x40b600
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40ae00
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4025a5
push 0x11
call fcn.00402bbf
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x40281e
push esi
call fcn.00406100
or edi, dword [ebp - 0x34]
mov esi, eax
jne 0x4025d2
cmp dword [ebp - 0x20], ebx
je 0x4025d2
push esi
push esi
call fcn.00405e56
test eax, eax
jl 0x40281e
push dword [ebp + 8]
push 0x40ae00
push esi
call fcn.00405e27
jmp 0x4015ac
push 2
mov dword [ebp - 0xc], ebx
pop eax
push eax
mov dword [ebp - 0x3c], eax
call fcn.00402ba2
cmp eax, 1
mov dword [ebp - 0x48], eax
jl case.0x40148a.65
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40260c
mov dword [ebp - 0x48], ecx
cmp word [esi], bx
je 0x402773
push esi
mov dword [ebp - 8], ebx
call fcn.00406100
cmp dword [ebp - 0x48], ebx
mov dword [ebp - 0x14], eax
jle 0x402773
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x30], 0x39
jne 0x4026c9
lea eax, [ebp - 0x38]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x20]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402773
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x402773
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jne 0x40272f
lea eax, [ebp - 0x40]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call edi
test eax, eax
jne 0x4026f6
mov esi, dword [ebp - 0x3c]
neg esi
dec dword [ebp - 0x38]
mov eax, 0xfffd
mov dword [ebp - 0x40], eax
je 0x4026f9
dec dword [ebp - 0x3c]
inc esi
push 1
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x40]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x38]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x402693
jmp 0x4026f6
cmp dword [ebp - 0x20], ebx
jne 0x4026e4
cmp dword [ebp - 0xc], ebx
jne 0x4026e4
push ebx
push dword [ebp - 0x14]
call fcn.00405e56
test eax, eax
jl 0x402773
lea eax, [ebp - 0x40]
push 2
push eax
push dword [ebp - 0x14]
call fcn.00405df8
test eax, eax
je 0x402773
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x20], ebx
jne 0x40272f
cmp word [ebp - 8], 0xd
je 0x402740
cmp word [ebp - 8], 0xa
je 0x402740
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp ax, bx
mov word [ecx + edx*2], ax
mov dword [ebp - 8], eax
je 0x402773
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x48]
jl 0x402630
jmp 0x402773
movzx eax, ax
push eax
push dword [ebp - 0x10]
call fcn.004060e7
jmp 0x402a55
cmp word [ebp - 8], ax
je 0x402761
cmp ax, 0xd
je 0x402752
cmp ax, 0xa
jne 0x402761
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [ecx + edx*2], ax
jmp 0x402773
mov eax, dword [ebp - 0x3c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov word [ecx + eax*2], bx
jmp 0x4015ae
cmp word [esi], bx
je case.0x40148a.65
push dword [ebp - 0x20]
push ebx
push 2
call fcn.00402ba2
push eax
push esi
call fcn.00406100
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x40148a.65
jmp 0x4029ee
push esi
call fcn.00406100
cmp eax, ebx
je case.0x40148a.65
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.65
push dword [ebp - 0x10]
call fcn.00406100
cmp eax, ebx
je 0x4027ec
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402833
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40148a.65
push 2
call fcn.00402bbf
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40282a
mov eax, dword [ebp - 0x10]
mov word [eax], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.65
push eax
push dword [ebp - 0x10]
call fcn.004060e7
lea eax, [ebp - 0x284]
push eax
push esi
jmp 0x402970
push 0xfffffffffffffff0
mov dword [ebp - 0x48], 0xfffffd66
call fcn.00402bbf
mov esi, eax
push esi
mov dword [ebp - 0x38], esi
call fcn.00405bcb
test eax, eax
jne 0x402864
push 0xffffffffffffffed
call fcn.00402bbf
push esi
call fcn.00405d50
push 2
push 0x40000000
push esi
call fcn.00405d75
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40291a
mov eax, dword [0x434f34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 8], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402911
push ebx
call fcn.00403390
push dword [ebp - 8]
push edi
call fcn.0040337a
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x34], esi
je 0x4028ef
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.00403109
jmp 0x4028e2
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x4c], ecx
call fcn.00405d30
add esi, dword [ebp - 0x4c]
cmp byte [esi], bl
jne 0x4028ca
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 8]
push edi
push dword [ebp + 8]
call fcn.00405e27
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403109
mov dword [ebp - 0x48], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x48], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402935
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4021dc
push ebx
call fcn.00402ba2
mov edi, eax
cmp edi, dword [0x434f4c]
jae 0x40281e
mov esi, edi
mov eax, dword [ebp - 0x24]
imul esi, esi, 0x818
add esi, dword [0x434f48]
cmp eax, ebx
jl 0x40297d
mov ecx, dword [esi + eax*4]
jne 0x40297a
add esi, 0x18
push esi
push dword [ebp - 0x10]
call fcn.004061a0
jmp case.0x40148a.65
push ecx
jmp 0x4029ef
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x402993
push 1
call fcn.00402ba2
mov dword [ebp - 0x28], eax
jmp 0x4029a3
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.004061c2
or byte [esi + 9], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], ebx
je case.0x40148a.65
push edi
call fcn.0040117d
jmp case.0x40148a.65
push ebx
call fcn.00402ba2
cmp eax, 0x20
jae 0x40281e
cmp dword [ebp - 0x20], ebx
je 0x4029f9
cmp dword [ebp - 0x24], ebx
je 0x4029e8
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x40148a.65
push ebx
call fcn.004012e2
push eax
push dword [ebp - 0x10]
call fcn.004060e7
jmp case.0x40148a.65
cmp dword [ebp - 0x24], ebx
je 0x402a10
mov edx, dword [0x434f30]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x434f30]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x10]
call fcn.004061c2
jmp case.0x40148a.65
mov ecx, dword [0x42f288]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x2c], ebx
je case.0x40148a.65
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x434fa8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4