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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x42a248]
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov edi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
shl ecx, 0xb
add ecx, edi
mov esi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x28]
shl esi, 0xb
mov dword [0x40cdd8], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402ad1]
push ebx
push eax
call fcn.00405414
jmp 0x4022f1
inc dword [0x42920c]
cmp dword [ebp - 8], ebx
je 0x4022f1
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4022f1
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.00405414
jmp case.0x40148a.65
push ebx
call fcn.00402c15
cmp eax, 1
pop ecx
mov dword [ebp - 0x4c], edx
jg 0x4014e9
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40148a.65
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40148a.65
shl eax, 2
cmp dword [ebp - 0x20], ebx
jne 0x401531
mov ecx, dword [eax + 0x42a2e0]
push 1
mov dword [eax + 0x42a320], ecx
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x42a2e0], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x42a320]
mov dword [eax + 0x42a2e0], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x42a2e0]
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.0x40148a.2
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x42a2e0]
push esi
jmp 0x402a65
mov ecx, dword [0x429210]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x40158c
push dword [ebp - 0x24]
push ecx
call esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x429224]
cmp ecx, ebx
je case.0x40148a.65
push eax
push ecx
call esi
jmp case.0x40148a.65
push 0xfffffffffffffff0
call fcn.00402c37
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.65
jmp 0x402885
push 0xfffffffffffffff0
call fcn.00402c37
push eax
mov dword [ebp + 8], eax
call fcn.00405d2c
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405cae
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401604
cmp dword [ebp - 0x20], ebx
je 0x401604
call fcn.0040597d
test eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.004058e3
jmp 0x40160c
push dword [ebp + 8]
call fcn.00405960
cmp eax, ebx
je 0x401627
cmp eax, 0xb7
jne 0x401624
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401627
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015d7
cmp dword [ebp - 0x24], ebx
je 0x401663
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x436000
call fcn.004063b0
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 0x402245
push ebx
call fcn.00402c37
push eax
call fcn.004066f3
jmp 0x401cfe
push 0xffffffffffffffd0
call fcn.00402c37
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402c37
push 0x13
mov edi, eax
call fcn.00402c37
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016a7
push 0xffffffffffffffe3
jmp 0x402245
cmp dword [ebp - 0x20], ebx
je 0x402885
push esi
call fcn.004066f3
test eax, eax
je 0x402885
push edi
push esi
call fcn.00406176
push 0xffffffffffffffe4
jmp 0x402245
push ebx
call fcn.00402c37
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 0x401710
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40171a
cmp word [eax], bx
je 0x40171a
push esi
call fcn.004066f3
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.004063b0
jmp 0x40171a
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x20], 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.00402c37
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 0x402853
push 0xffffffffffffffef
call fcn.00402c37
push eax
push esi
call fcn.00405ed1
jmp 0x4015b4
push 0x31
call fcn.00402c37
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405cf8
push dword [ebp - 8]
mov esi, 0x40a5d8
test eax, eax
je 0x40179e
push esi
call fcn.004063b0
jmp 0x4017b5
push 0x436000
push esi
call fcn.004063b0
push eax
call fcn.00405c81
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406644
cmp dword [ebp + 8], 3
jl 0x4017f2
push esi
call fcn.004066f3
xor ecx, ecx
cmp eax, ebx
je 0x4017dd
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 0x4017fd
push esi
call fcn.00405e7d
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405ea2
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push edi
push 0x40b5d8
call fcn.004063b0
push esi
push edi
call fcn.004063b0
push dword [ebp - 0x14]
push 0x40add8
call fcn.004063d2
push 0x40b5d8
push edi
call fcn.004063b0
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40add8
call fcn.00405a12
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405414
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x42a2e8]
jmp 0x402ac8
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405414
inc dword [0x42a314]
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.004031ba
dec dword [0x42a314]
cmp dword [ebp - 0x1c], 0xffffffff
mov edi, eax
jne 0x4018be
cmp dword [ebp - 0x18], 0xffffffff
je 0x4018d0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x40148a.65
cmp edi, 0xfffffffe
jne 0x4018f9
push 0xffffffffffffffe9
push esi
call fcn.004063d2
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push esi
call fcn.004063d2
push 0x200010
push esi
jmp 0x4022ec
push ebx
jmp 0x401943
push 0x31
call fcn.00402c37
push dword [ebp - 0x28]
push eax
call fcn.00405a12
cmp eax, ebx
je 0x402885
cmp eax, dword [ebp - 0x20]
je 0x401a9a
cmp eax, dword [ebp - 0x18]
jne case.0x40148a.65
mov eax, dword [ebp - 0x14]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402c37
push dword [ebp - 0x24]
push eax
call fcn.00405abe
jmp case.0x40148a.65
push 1
call fcn.00402c37
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x40258c
push 2
call fcn.00402c15
push 3
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call fcn.00402c15
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x50]
pop ecx
push 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edx
mov dword [ebp + 8], eax
call fcn.00402c37
push eax
mov dword [ebp - 0x3c], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x4c], ebx
mov word [esi], bx
jne 0x4019a7
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x40148a.65
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jge 0x4019c2
lea edi, [eax + ecx]
cmp edi, ebx
jl case.0x40148a.65
cmp edi, eax
jle 0x4019c8
mov edi, eax
mov eax, dword [ebp - 0x3c]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.004063b0
cmp dword [ebp + 8], ebx
jge 0x4019e8
push esi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x4019e8
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x40148a.65
mov word [esi + eax*2], bx
jmp case.0x40148a.65
push 0x20
call fcn.00402c37
push 0x31
mov esi, eax
call fcn.00402c37
cmp dword [ebp - 0x18], ebx
push eax
push esi
jne 0x401a28
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a9a
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a1c
xor edi, edi
inc edi
push edi
call fcn.00402c37
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a60
cmp dword [ebp - 0x20], ebx
je 0x401a66
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a66
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x40148a.65
push ebx
call fcn.00402c15
push 1
mov esi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c15
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
mov dword [ebp - 0x4c], edx
jne 0x401a96
cmp esi, eax
jl 0x401a9a
jle 0x401a20
jmp 0x401aa8
cmp esi, eax
jae 0x401aa2
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
jbe 0x401a20
mov eax, dword [ebp - 0x18]
jmp case.0x40148a.2
push 1
call fcn.00402c15
mov edi, eax
push 2
mov dword [ebp - 0x4c], edx
mov dword [ebp + 8], edi
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc
ja case.default.0x401ad5
jmp dword [eax*4 + 0x402be1]
add ecx, edi
jmp 0x401b47
sub edi, ecx
jmp 0x401b40
imul ecx, edi
jmp 0x401b47
cmp ecx, ebx
je 0x401b2f
mov eax, edi
cdq
idiv ecx
mov ecx, eax
jmp 0x401b47
or ecx, edi
jmp 0x401b47
and ecx, edi
jmp 0x401b47
xor ecx, edi
jmp 0x401b47
xor ecx, ecx
mov dword [ebp - 4], 1
jmp 0x401b47
mov ecx, edi
jmp 0x401b47
mov ecx, dword [ebp + 8]
push ecx
jmp 0x40156d
push 1
call fcn.00402c37
push 2
mov edi, eax
call fcn.00402c15
push eax
push edi
push esi
mov dword [ebp - 0x4c], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.65
mov eax, dword [ebp - 0x20]
mov edi, dword [0x40cddc]
cmp eax, ebx
je 0x401bc2
dec eax
cmp edi, ebx
je 0x4022de
mov edi, dword [edi]
cmp eax, ebx
jne 0x401b7e
cmp edi, ebx
je 0x4022de
add edi, 4
mov esi, 0x40a5d8
push edi
push esi
call fcn.004063b0
mov eax, dword [0x40cddc]
add eax, 4
push eax
push edi
call fcn.004063b0
mov eax, dword [0x40cddc]
push esi
add eax, 4
push eax
jmp 0x4029db
cmp dword [ebp - 0x24], ebx
je 0x401bec
cmp edi, ebx
je 0x402885
lea eax, [edi + 4]
push eax
push esi
call fcn.004063b0
mov eax, dword [edi]
push edi
mov dword [0x40cddc], 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 - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004063d2
mov eax, dword [0x40cddc]
mov dword [esi], eax
mov dword [0x40cddc], esi
jmp case.0x40148a.65
push 3
call fcn.00402c15
push 4
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x10], eax
call fcn.00402c15
test byte [ebp - 0x14], 1
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c45
push 0x33
call fcn.00402c37
mov dword [ebp - 0x10], eax
test byte [ebp - 0x14], 2
je 0x401c55
push 0x44
call fcn.00402c37
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x21
push 1
jne 0x401ca9
call fcn.00402c15
push 2
mov edi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
mov ecx, dword [ebp - 0x14]
sar ecx, 2
je 0x401c99
lea edx, [ebp - 0x30]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401cdc
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401cd9
call fcn.00402c37
push 0x12
mov edi, eax
call fcn.00402c37
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 - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x28], ebx
jl case.0x40148a.65
push dword [ebp - 0x30]
jmp 0x40156d
push ebx
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a20
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
push 2
call fcn.00402c15
push 1
mov edi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
pop ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x40258c
mov eax, dword [0x42a2a8]
mov ecx, dword [ebp - 0x24]
push ebx
lea esi, [eax + ecx]
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.65
push dword [ebp - 0x24]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4c]
push 0x10
imul eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x20]
push eax
push ebx
push ebx
call fcn.00402c37
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 - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.00402c15
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push edi
mov dword [ebp - 0x4c], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 8]
neg eax
mov dword [0x40cde0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402c15
mov dword [0x40cdf0], eax
mov al, byte [ebp - 0x18]
pop ecx
mov dword [ebp - 0x4c], edx
push ebp
mov ah, 0xff
jne 0x401de1
mov cl, al
and cl, 1
mov byte [0x40cdf7], 1
mov byte [0x40cdf4], cl
mov cl, al
and cl, 2
and al, 4
push 0x40cdfc
mov byte [0x40cdf5], cl
mov byte [0x40cdf6], al
call fcn.004063d2
push 0x40cde0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x40258c
push ebx
call fcn.00402c15
push 1
mov esi, eax
mov dword [ebp - 0x4c], edx
call fcn.00402c15
cmp dword [ebp - 0x1c], ebx
pop ecx
pop ecx
mov dword [ebp - 0x4c], edx
push eax
push esi
jne 0x401e6c
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.00402c37
push 0x31
mov esi, eax
call fcn.00402c37
push 0x22
mov ebx, eax
call fcn.00402c37
push 0x15
mov edi, eax
call fcn.00402c37
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x74], ebx
and eax, esi
mov dword [ebp - 0x78], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x6c], 0x436000
and eax, edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
call fcn.004059d8
test eax, eax
je 0x402885
test byte [ebp - 0x80], 0x40
je case.0x40148a.65
push dword [ebp - 0x4c]
call fcn.0040683b
push dword [ebp - 0x4c]
jmp 0x401f47
push ebx
call fcn.00402c37
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405414
push esi
call fcn.00405995
mov esi, eax
cmp esi, ebx
je 0x402885
cmp dword [ebp - 0x20], ebx
je 0x401f46
push esi
call fcn.0040683b
cmp dword [ebp - 0x24], ebx
jl 0x401f3b
push eax
push dword [ebp - 0xc]
call fcn.004062f7
jmp 0x401f46
cmp eax, ebx
je 0x401f46
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.65
push 2
call fcn.00402c37
push eax
call fcn.004066f3
mov edi, eax
cmp edi, ebx
je 0x401f78
push dword [edi + 0x14]
push dword [ebp - 0xc]
call fcn.004062f7
push dword [edi + 0x18]
jmp 0x40156d
mov eax, dword [ebp - 0xc]
mov word [esi], bx
mov word [eax], bx
jmp 0x402885
push 0xffffffffffffffee
call fcn.00402c37
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], eax
push ecx
push eax
push 9
call fcn.0040678a
call eax
mov edi, eax
mov eax, dword [ebp - 0xc]
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 0xa
call fcn.0040678a
push 0xb
mov dword [ebp - 0x38], eax
call fcn.0040678a
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push edi
push ebx
push dword [ebp - 0x30]
call dword [ebp - 0x38]
test eax, eax
je 0x402023
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x402023
mov eax, dword [ebp - 0x3c]
push dword [eax + 8]
push esi
call fcn.004062f7
mov eax, dword [ebp - 0x3c]
push dword [eax + 0xc]
push dword [ebp - 0xc]
call fcn.004062f7
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401be1
cmp dword [0x42a318], ebx
mov dword [ebp - 4], 1
jl 0x4020f7
push 0xfffffffffffffff0
call fcn.00402c37
push 1
mov esi, eax
call fcn.00402c37
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x3c], eax
je 0x402064
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402075
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4020f0
push dword [ebp - 0x3c]
push dword [ebp + 8]
call fcn.004067f9
mov esi, eax
cmp esi, ebx
je 0x4020bf
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x4020a5
push dword [ebp - 0x20]
call fcn.00401423
call esi
test eax, eax
je 0x4020c9
mov dword [ebp - 4], 1
jmp 0x4020c9
push section..data
push 0x40cddc
push edi
push 0x400
push dword [ebp - 8]
call esi
add esp, 0x14
jmp 0x4020c9
push dword [ebp - 0x3c]
push 0xfffffffffffffff7
call fcn.00405414
cmp dword [ebp - 0x1c], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call 0x403a5e
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 0x402245
push 0xffffffffffffffe7
jmp 0x402245
push 0xfffffffffffffff0
call fcn.00402c37
push 0xffffffffffffffdf
mov dword [ebp - 0x4c], eax
call fcn.00402c37
push 2
mov dword [ebp - 0x3c], eax
call fcn.00402c37
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402c37
push 0x45
mov dword [ebp - 0x48], eax
call fcn.00402c37
push dword [ebp - 0x3c]
push ebx
call fcn.00402c37
push 0x11
mov esi, eax
call fcn.00402c37
push 0x23
mov edi, eax
call fcn.00402c37
push esi
mov dword [ebp + 8], eax
call fcn.004066f3
test eax, eax
jne 0x402285
push ebx
push 0xfffffffffffffff9
call fcn.00405414
jmp 0x402885
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 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 - 0x60], esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4e], eax
mov word [ebp - 0x58], cx
call fcn.00405414
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.65
jmp 0x402278
cmp eax, 0xbadf00d
je 0x4022fb
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004063d2
push eax
call fcn.00405a12
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x42a2f4]
jmp case.0x40148a.65
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x402316
push ebx
call fcn.00402c37
mov esi, eax
cmp dword [ebp - 0x24], ebx
je 0x402324
push 0x11
call fcn.00402c37
mov edi, eax
cmp dword [ebp - 0x18], ebx
je 0x402332
push 0x22
call fcn.00402c37
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402c37
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015b4
mov eax, dword [0x40a010]
push 1
mov dword [ebp + 8], eax
call fcn.00402c37
push 0x12
mov edi, eax
call fcn.00402c37
push 0xffffffffffffffdd
mov dword [ebp - 0x4c], eax
call fcn.00402c37
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x401751
cmp dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x24]
jne 0x4023bb
push 2
call fcn.00402c77
mov esi, eax
cmp esi, ebx
je 0x402885
push 0x33
call fcn.00402c37
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4023d1
push 0x22
call fcn.00402c37
mov ecx, dword [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402cf5
mov edi, eax
cmp edi, ebx
je case.0x40148a.65
jmp 0x402885
mov esi, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x4c], eax
call fcn.00402c37
push 0x11
mov dword [ebp - 0x3c], eax
call fcn.00402c37
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402cc7
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.65
xor eax, eax
cmp esi, 1
mov edi, 0x40b5d8
jne 0x402432
push 0x23
call fcn.00402c37
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x402449
push 3
call fcn.00402c15
pop ecx
mov dword [0x40b5d8], eax
push esi
mov dword [ebp - 0x30], edx
pop eax
cmp esi, 3
jne 0x40245d
push 0x1800
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.004031ba
push eax
push edi
push dword [ebp - 0x4c]
push ebx
push dword [ebp - 0x3c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402476
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x402551
push 0x20019
call fcn.00402c77
push 0x33
mov edi, eax
call fcn.00402c37
cmp edi, ebx
mov word [esi], bx
je 0x402885
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 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 0x4024ea
cmp dword [ebp + 8], 4
je 0x4024d5
cmp dword [ebp + 8], ecx
je 0x4024cd
cmp dword [ebp + 8], 2
jne 0x4024ea
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x402549
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.004062f7
jmp 0x402550
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x402550
push 0x20019
call fcn.00402c77
push 3
mov edi, eax
call fcn.00402c15
cmp edi, ebx
pop ecx
mov dword [ebp - 0x4c], edx
mov word [esi], bx
je 0x402885
cmp dword [ebp - 0x18], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x40252d
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402549
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402549
mov dword [ebp - 4], 1
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
push esi
call fcn.00406310
cmp eax, ebx
je case.0x40148a.65
push eax
jmp 0x401f47
push 0xffffffffffffffed
call fcn.00402c37
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00405ea2
cmp eax, 0xffffffff
je 0x402882
push eax
jmp 0x40156d
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x4c], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x4025c1
push 1
call fcn.00402c15
mov word [0x40add8], ax
xor eax, eax
cmp edi, ebx
pop ecx
sete al
mov dword [ebp - 0x3c], edx
inc eax
jmp 0x402604
cmp edx, 0x38
jne 0x4025f5
push 0x21
call fcn.00402c37
push ebx
push ebx
push 0x400
push 0x40add8
push 0xffffffffffffffff
push 0x40b5d8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40add8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402604
push 0x11
call fcn.00402c37
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x402885
push esi
call fcn.00406310
or edi, dword [ebp - 0x4c]
mov esi, eax
jne 0x402631
cmp dword [ebp - 0x1c], ebx
je 0x402631
push esi
push esi
call fcn.00405f83
test eax, eax
jl 0x402885
push dword [ebp + 8]
push 0x40add8
push esi
call fcn.00405f54
jmp 0x4015b4
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x48], eax
call fcn.00402c15
cmp eax, 1
pop ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], eax
jl case.0x40148a.65
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40266f
mov dword [ebp - 0x3c], ecx
cmp word [esi], bx
je 0x4027d6
push esi
mov dword [ebp - 0x30], ebx
call fcn.00406310
cmp dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], eax
jle 0x4027d6
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x2c], 0x39
jne 0x40272c
lea eax, [ebp - 0x38]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4027d6
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x4027d6
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
jne 0x402792
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call edi
test eax, eax
jne 0x402759
mov esi, dword [ebp - 0x48]
neg esi
dec dword [ebp - 0x38]
mov eax, 0xfffd
mov dword [ebp - 0x44], eax
je 0x40275c
dec dword [ebp - 0x48]
inc esi
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x38]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x4026f6
jmp 0x402759
cmp dword [ebp - 0x1c], ebx
jne 0x402747
cmp dword [ebp - 8], ebx
jne 0x402747
push ebx
push dword [ebp - 0x10]
call fcn.00405f83
test eax, eax
jl 0x4027d6
lea eax, [ebp - 0x44]
push 2
push eax
push dword [ebp - 0x10]
call fcn.00405f25
test eax, eax
je 0x4027d6
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1c], ebx
jne 0x402792
cmp word [ebp - 0x30], 0xd
je 0x4027a3
cmp word [ebp - 0x30], 0xa
je 0x4027a3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
cmp ax, bx
mov word [ecx + edx*2], ax
mov dword [ebp - 0x30], eax
je 0x4027d6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x3c]
jl 0x402693
jmp 0x4027d6
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.004062f7
jmp 0x402ac8
cmp word [ebp - 0x30], ax
je 0x4027c4
cmp ax, 0xd
je 0x4027b5
cmp ax, 0xa
jne 0x4027c4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x4027d6
mov eax, dword [ebp - 0x48]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov word [ecx + eax*2], bx
jmp 0x4015b6
cmp word [esi], bx
je case.0x40148a.65
push 2
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x1c]
push ebx
push eax
push esi
call fcn.00406310
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x40148a.65
jmp 0x402a61
push esi
call fcn.00406310
cmp eax, ebx
je case.0x40148a.65
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.65
push dword [ebp - 0xc]
call fcn.00406310
cmp eax, ebx
je 0x402853
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
invalid
jne 0x40289a
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40148a.65
push 2
call fcn.00402c37
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402891
mov eax, dword [ebp - 0xc]
mov word [eax], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.65
push eax
push dword [ebp - 0xc]
call fcn.004062f7
lea eax, [ebp - 0x2a8]
push eax
push esi
jmp 0x4029db
push 0xfffffffffffffff0
mov dword [ebp - 0x30], 0xfffffd66
call fcn.00402c37
mov esi, eax
push esi
mov dword [ebp - 0x38], esi
call fcn.00405cf8
test eax, eax
jne 0x4028cb
push 0xffffffffffffffed
call fcn.00402c37
push esi
call fcn.00405e7d
push 2
push 0x40000000
push esi
call fcn.00405ea2
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402981
mov eax, dword [0x42a258]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x3c], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402978
push ebx
call int.00403441
push dword [ebp - 0x3c]
push edi
call fcn.0040342b
push dword [ebp - 0x20]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x4c], esi
je 0x402956
push dword [ebp - 0x20]
push esi
push ebx
push dword [ebp - 0x24]
call fcn.004031ba
jmp 0x402949
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x34], ecx
call fcn.00405e5d
add esi, dword [ebp - 0x34]
cmp byte [esi], bl
jne 0x402931
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x3c]
push edi
push dword [ebp + 8]
call fcn.00405f54
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004031ba
mov dword [ebp - 0x30], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
push 0xfffffffffffffff3
pop esi
jge 0x40299c
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x402245
push ebx
call fcn.00402c15
mov edi, eax
pop ecx
cmp edi, dword [0x42a28c]
mov dword [ebp - 0x4c], edx
jae 0x402885
mov esi, edi
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x818
add esi, dword [0x42a288]
cmp eax, ebx
jl 0x4029e8
mov ecx, dword [esi + eax*4]
jne 0x4029e5
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.004063b0
jmp case.0x40148a.65
push ecx
jmp 0x402a62
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402a02
push 1
call fcn.00402c15
pop ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x24], eax
jmp 0x402a12
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.004063d2
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.0x40148a.65
push edi
call fcn.0040117d
jmp case.0x40148a.65
push ebx
call fcn.00402c15
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x4c], edx
jae 0x402885
cmp dword [ebp - 0x1c], ebx
je 0x402a6c
cmp dword [ebp - 0x20], ebx
je 0x402a5b
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 - 0xc]
call fcn.004062f7
jmp case.0x40148a.65
cmp dword [ebp - 0x20], ebx
je 0x402a83
mov edx, dword [0x42a254]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x42a254]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.004063d2
jmp case.0x40148a.65
mov ecx, dword [0x425728]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x28], ebx
je case.0x40148a.65
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]