Function at 0x401434
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, 0x2ac
mov eax, dword [0x434ec8]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x30]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov dword [0x40cd98], edx
mov edx, dword [ebp - 0x30]
mov edi, section..ndata
shl esi, 0xb
shl ecx, 0xb
add edx, 0xfffffffe
xor ebx, ebx
add esi, edi
add ecx, edi
cmp edx, 0x43
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
ja case.0x40148a.65
jmp dword [edx*4 + 0x4029d9]
push ebx
push eax
call fcn.004050f0
jmp 0x40223e
inc dword [0x433e8c]
cmp dword [ebp - 0xc], ebx
je 0x40223e
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40223e
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.004050f0
jmp case.0x40148a.65
push ebx
call fcn.00402b1d
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 + 0x434f40]
push 1
mov dword [eax + 0x434f80], ecx
call fcn.00402b1d
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x434f40], eax
jmp case.0x40148a.65
mov ecx, dword [eax + 0x434f80]
mov dword [eax + 0x434f40], ecx
jmp case.0x40148a.65
mov eax, dword [ebp - 0x24]
lea esi, [eax*4 + 0x434f40]
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 + 0x434f40]
push esi
jmp 0x40296d
mov ecx, dword [0x433e90]
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 [0x433ea4]
cmp ecx, ebx
je case.0x40148a.65
push eax
push ecx
call esi
jmp case.0x40148a.65
push 0xfffffffffffffff0
call fcn.00402b3a
push dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.65
jmp 0x402793
push 0xfffffffffffffff0
call fcn.00402b3a
push eax
mov dword [ebp + 8], eax
call fcn.0040593e
mov esi, eax
cmp esi, ebx
je 0x401614
push 0x5c
push esi
call fcn.004058c0
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 0x40160a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401607
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40160a
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015cf
cmp dword [ebp - 0x28], ebx
je 0x401646
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x440000
call fcn.00405e48
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 0x402192
push ebx
call fcn.00402b3a
push eax
call fcn.0040618b
jmp 0x401c9b
push 0xffffffffffffffd0
call fcn.00402b3a
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402b3a
push 0x13
mov edi, eax
call fcn.00402b3a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40168a
push 0xffffffffffffffe3
jmp 0x402192
cmp dword [ebp - 0x24], ebx
je 0x402793
push esi
call fcn.0040618b
test eax, eax
je 0x402793
push edi
push esi
call fcn.00405ce2
push 0xffffffffffffffe4
jmp 0x402192
push ebx
call fcn.00402b3a
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 0x4016f3
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4016fd
cmp word [eax], bx
je 0x4016fd
push esi
call fcn.0040618b
cmp eax, ebx
je 0x4016f3
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00405e48
jmp 0x4016fd
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.00402b3a
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 0x402761
push 0xffffffffffffffef
call fcn.00402b3a
push eax
push esi
call fcn.00405ae3
jmp 0x4015ac
push 0x31
call fcn.00402b3a
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0xc]
and eax, 7
mov dword [ebp + 8], eax
call fcn.0040590a
push dword [ebp - 0xc]
mov esi, 0x40a598
test eax, eax
je 0x401781
push esi
call fcn.00405e48
jmp 0x401798
push 0x440000
push esi
call fcn.00405e48
push eax
call fcn.00405893
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004060dc
cmp dword [ebp + 8], 3
jl 0x4017d5
push esi
call fcn.0040618b
xor ecx, ecx
cmp eax, ebx
je 0x4017c0
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 0x4017e0
push esi
call fcn.00405a8f
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405ab4
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401870
cmp dword [ebp + 8], ebx
jne 0x401852
push edi
push 0x40b598
call fcn.00405e48
push esi
push edi
call fcn.00405e48
push dword [ebp - 0x18]
push 0x40ad98
call fcn.00405e6a
push 0x40b598
push edi
call fcn.00405e48
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40ad98
call fcn.00405624
sub eax, 4
je 0x40179e
dec eax
je 0x401865
push esi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.004050f0
cmp dword [ebp + 8], 2
jmp 0x4015ae
inc dword [0x434f48]
jmp 0x4029d0
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.004050f0
inc dword [0x434f74]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.00402fa2
dec dword [0x434f74]
cmp dword [ebp - 0x20], 0xffffffff
mov edi, eax
jne 0x4018a1
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4018b3
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 0x4018dc
push 0xffffffffffffffe9
push esi
call fcn.00405e6a
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4018e4
push 0xffffffffffffffee
push esi
call fcn.00405e6a
push 0x200010
push esi
jmp 0x402239
push ebx
jmp 0x401926
push 0x31
call fcn.00402b3a
push dword [ebp - 0x2c]
push eax
call fcn.00405624
cmp eax, ebx
je 0x402793
cmp eax, dword [ebp - 0x24]
je 0x401a62
cmp eax, dword [ebp - 0x1c]
jne case.0x40148a.65
mov eax, dword [ebp - 0x18]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402b3a
push dword [ebp - 0x28]
push eax
call fcn.004056d0
jmp case.0x40148a.65
push 1
call fcn.00402b3a
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4024e8
push 2
call fcn.00402b1d
push 3
mov dword [ebp + 8], eax
call fcn.00402b1d
push 1
mov edi, eax
call fcn.00402b3a
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 8], eax
mov word [esi], bx
je 0x401979
cmp dword [ebp + 8], ebx
je case.0x40148a.65
push eax
call sub.KERNEL32.dll_lstrlenW
cmp edi, ebx
jge 0x40198b
add edi, eax
js case.0x40148a.65
cmp edi, eax
jle 0x401991
mov edi, eax
mov eax, dword [ebp - 8]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.00405e48
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x40148a.65
jge 0x4019ba
push esi
call sub.KERNEL32.dll_lstrlenW
add edi, eax
jns 0x4019ba
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.00402b3a
push 0x31
mov esi, eax
call fcn.00402b3a
cmp dword [ebp - 0x1c], ebx
push eax
push esi
jne 0x4019f8
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a62
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4019ec
xor edi, edi
inc edi
push edi
call fcn.00402b3a
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a30
cmp dword [ebp - 0x24], ebx
je 0x401a36
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a36
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x40148a.65
push ebx
call fcn.00402b1d
push 1
mov esi, eax
call fcn.00402b1d
cmp dword [ebp - 0x18], ebx
jne 0x401a5e
cmp esi, eax
jl 0x401a62
jle 0x4019f0
jmp 0x401a6c
cmp esi, eax
jae 0x401a6a
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
jbe 0x4019f0
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
push 1
call fcn.00402b1d
push 2
mov edi, eax
call fcn.00402b1d
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401a8e
jmp dword [eax*4 + 0x402ae9]
add edi, ecx
jmp case.default.0x401a8e
sub edi, ecx
jmp case.default.0x401a8e
imul ecx, edi
mov edi, ecx
jmp case.default.0x401a8e
cmp ecx, ebx
je 0x401aea
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x401a8e
or edi, ecx
jmp case.default.0x401a8e
and edi, ecx
jmp case.default.0x401a8e
xor edi, ecx
jmp case.default.0x401a8e
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401aad
cmp edi, ebx
jne 0x401ad8
jmp 0x401ad4
xor edi, edi
jmp case.default.0x401a8e
cmp edi, ebx
je 0x401acc
cmp ecx, ebx
je 0x401acc
xor edi, edi
inc edi
jmp case.default.0x401a8e
cmp ecx, ebx
je 0x401aea
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401a8e
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401a8e
shl edi, cl
jmp case.default.0x401a8e
sar edi, cl
push edi
jmp 0x401565
push 1
call fcn.00402b3a
push 2
mov edi, eax
call fcn.00402b1d
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 [0x40cd9c]
cmp eax, ebx
je 0x401b73
dec eax
cmp edi, ebx
je 0x40222b
mov edi, dword [edi]
cmp eax, ebx
jne 0x401b2f
cmp edi, ebx
je 0x40222b
add edi, 4
mov esi, 0x40a598
push edi
push esi
call fcn.00405e48
mov eax, dword [0x40cd9c]
add eax, 4
push eax
push edi
call fcn.00405e48
mov eax, dword [0x40cd9c]
push esi
add eax, 4
push eax
jmp 0x4028eb
cmp dword [ebp - 0x28], ebx
je 0x401b9d
cmp edi, ebx
je 0x402793
lea eax, [edi + 4]
push eax
push esi
call fcn.00405e48
mov eax, dword [edi]
push edi
mov dword [0x40cd9c], 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.00405e6a
mov eax, dword [0x40cd9c]
mov dword [esi], eax
mov dword [0x40cd9c], esi
jmp case.0x40148a.65
push 3
call fcn.00402b1d
push 4
mov dword [ebp - 0x44], eax
call fcn.00402b1d
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401bee
push 0x33
call fcn.00402b3a
mov dword [ebp - 0x44], eax
test byte [ebp - 0x18], 2
je 0x401bfe
push 0x44
call fcn.00402b3a
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
push 1
jne 0x401c4a
call fcn.00402b1d
push 2
mov edi, eax
call fcn.00402b1d
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x401c3a
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401c7d
push dword [ebp + 8]
push dword [ebp - 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401c7a
call fcn.00402b3a
push 0x12
mov edi, eax
call fcn.00402b3a
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 - 0x44]
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.00402b1d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4019f0
mov eax, dword [ebp - 0x28]
jmp case.0x40148a.2
push 2
call fcn.00402b1d
push eax
push 1
call fcn.00402b1d
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4024e8
mov eax, dword [0x434f08]
mov ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push 0xffffffffffffffeb
push ebx
call fcn.00402b1d
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 - 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
push 0x10
imul eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x24]
push eax
push ebx
push ebx
call fcn.00402b3a
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.00402b1d
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 0xc]
neg eax
mov dword [0x40cda0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402b1d
mov dword [0x40cdb0], eax
mov al, byte [ebp - 0x1c]
push dword [ebp - 0x28]
mov cl, al
and cl, 1
mov byte [0x40cdb7], 1
mov byte [0x40cdb4], cl
mov cl, al
and cl, 2
and al, 4
push 0x40cdbc
mov byte [0x40cdb5], cl
mov byte [0x40cdb6], al
call fcn.00405e6a
push 0x40cda0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4024e8
push ebx
call fcn.00402b1d
push 1
mov esi, eax
call fcn.00402b1d
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401de8
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.00402b3a
push 0x31
mov esi, eax
call fcn.00402b3a
push 0x22
mov ebx, eax
call fcn.00402b3a
push 0x15
mov edi, eax
call fcn.00402b3a
push 0xffffffffffffffec
call fcn.00401423
mov ax, word [edi]
push dword [ebp - 0x20]
neg ax
sbb eax, eax
push 0x440000
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 0x402793
push ebx
call fcn.00402b3a
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004050f0
push esi
call fcn.004055bf
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402793
cmp dword [ebp - 0x24], ebx
je 0x401ec6
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x401e97
push 0xf
call fcn.004061eb
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x401e89
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x401eba
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.00405d8f
jmp 0x401ec6
cmp dword [ebp - 8], ebx
je 0x401ec6
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.65
push 2
call fcn.00402b3a
push eax
call fcn.0040618b
mov edi, eax
cmp edi, ebx
je 0x401efa
push dword [edi + 0x14]
push dword [ebp - 0x10]
call fcn.00405d8f
push dword [edi + 0x18]
jmp 0x401565
mov eax, dword [ebp - 0x10]
mov word [esi], bx
mov word [eax], bx
jmp 0x402793
push 0xffffffffffffffee
call fcn.00402b3a
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], eax
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
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 eax
push edi
push ebx
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401f8f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x40a014
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401f8f
mov eax, dword [ebp - 8]
push dword [eax + 8]
push esi
call fcn.00405d8f
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [ebp - 0x10]
call fcn.00405d8f
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401b92
cmp dword [0x434f78], ebx
mov dword [ebp - 4], 1
jl 0x402063
push 0xfffffffffffffff0
call fcn.00402b3a
push 1
mov esi, eax
call fcn.00402b3a
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 8], eax
je 0x401fd0
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x401fe1
push 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40205c
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040621e
mov esi, eax
cmp esi, ebx
je 0x40202b
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x402011
push dword [ebp - 0x24]
call fcn.00401423
call esi
test eax, eax
je 0x402035
mov dword [ebp - 4], 1
jmp 0x402035
push section..data
push 0x40cd9c
push edi
push 0x400
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x402035
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.004050f0
cmp dword [ebp - 0x20], ebx
jne case.0x40148a.65
push dword [ebp + 8]
call fcn.0040377b
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 0x402192
push 0xffffffffffffffe7
jmp 0x402192
push 0xfffffffffffffff0
call fcn.00402b3a
push 0xffffffffffffffdf
mov dword [ebp - 0x44], eax
call fcn.00402b3a
push 2
mov esi, eax
call fcn.00402b3a
push 0xffffffffffffffcd
mov dword [ebp - 0x34], eax
call fcn.00402b3a
push 0x45
mov dword [ebp - 0x14], eax
call fcn.00402b3a
push esi
mov dword [ebp - 0x38], eax
call fcn.0040590a
test eax, eax
jne 0x4020ac
push 0x21
call fcn.00402b3a
lea eax, [ebp + 8]
push eax
push 0x408570
push 1
push ebx
push 0x408580
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402189
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0x408590
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
cmp edi, ebx
jl 0x40217c
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test byte [ebp - 0x1b], 0x80
mov edi, eax
jne 0x402106
mov eax, dword [ebp + 8]
push 0x440000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x1c]
sar eax, 8
and eax, 0x7f
je 0x40211b
mov ecx, dword [ebp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
sar ecx, 0x10
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
je 0x402147
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
and esi, 0xff
mov edx, dword [ecx]
push esi
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
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 0x402173
mov eax, dword [ebp - 8]
push 1
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 8]
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 0x40219c
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.65
push 0xfffffffffffffff4
jmp 0x402192
push ebx
call fcn.00402b3a
push 0x11
mov esi, eax
call fcn.00402b3a
push 0x23
mov edi, eax
call fcn.00402b3a
push esi
mov dword [ebp + 8], eax
call fcn.0040618b
test eax, eax
jne 0x4021d2
push ebx
push 0xfffffffffffffff9
call fcn.004050f0
jmp 0x402793
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 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 - 0x54], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x42], eax
mov word [ebp - 0x4c], cx
call fcn.004050f0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.65
jmp 0x4021c5
cmp eax, 0xbadf00d
je 0x402248
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00405e6a
push eax
call fcn.00405624
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x434f54]
jmp case.0x40148a.65
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x402263
push ebx
call fcn.00402b3a
mov esi, eax
cmp dword [ebp - 0x28], ebx
je 0x402271
push 0x11
call fcn.00402b3a
mov edi, eax
cmp dword [ebp - 0x1c], ebx
je 0x40227f
push 0x22
call fcn.00402b3a
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402b3a
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.00402b3a
push 0x12
mov edi, eax
call fcn.00402b3a
push 0xffffffffffffffdd
mov dword [ebp - 8], eax
call fcn.00402b3a
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x401734
cmp dword [ebp - 0x1c], ebx
jne 0x402305
push 2
call fcn.00402c44
mov esi, eax
cmp esi, ebx
je 0x402793
push 0x33
call fcn.00402b3a
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402324
push 0x22
call fcn.00402b3a
mov ecx, dword [ebp - 0x1c]
and ecx, 2
push ecx
push eax
push dword [ebp - 0x28]
call fcn.00402c2f
push eax
call fcn.00402b7a
mov edi, eax
cmp edi, ebx
je case.0x40148a.65
jmp 0x402793
push eax
call fcn.00402c2f
mov esi, dword [ebp - 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x18]
push 2
mov dword [ebp - 8], eax
call fcn.00402b3a
push 0x11
mov dword [ebp - 0x14], eax
call fcn.00402b3a
lea ecx, [ebp + 8]
push ebx
push ecx
mov ecx, dword [0x434f70]
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, 0x40b598
jne 0x402398
push 0x23
call fcn.00402b3a
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x4023ab
push 3
call fcn.00402b1d
push esi
mov dword [0x40b598], eax
pop eax
cmp esi, 3
jne 0x4023bf
push 0x1800
push edi
push ebx
push dword [ebp - 0x20]
call fcn.00402fa2
push eax
push edi
push dword [ebp - 8]
push ebx
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4023d8
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x4024ac
push 0x20019
call fcn.00402c44
push 0x33
mov edi, eax
call fcn.00402b3a
cmp edi, ebx
mov word [esi], bx
je 0x402793
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 0x40244c
cmp dword [ebp + 8], 4
je 0x402437
cmp dword [ebp + 8], ecx
je 0x40242f
cmp dword [ebp + 8], 2
jne 0x40244c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x4024a4
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.00405d8f
jmp 0x4024ab
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x4024ab
push 0x20019
call fcn.00402c44
push 3
mov edi, eax
call fcn.00402b1d
cmp edi, ebx
mov word [esi], bx
je 0x402793
cmp dword [ebp - 0x1c], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x40248b
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4024a4
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 0x402793
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.65
cmp word [esi], bx
je case.0x40148a.65
push esi
call fcn.00405da8
push eax
jmp 0x401ec9
push 0xffffffffffffffed
call fcn.00402b3a
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00405ab4
cmp eax, 0xffffffff
je 0x402790
push eax
jmp 0x401565
cmp dword [ebp - 0x24], ebx
je 0x40250c
push 1
call fcn.00402b1d
mov word [0x40ad98], ax
xor eax, eax
cmp dword [ebp - 0x30], 0x38
setne al
inc eax
jmp 0x40254d
cmp dword [ebp - 0x30], 0x38
jne 0x40253e
push 0x21
call fcn.00402b3a
push ebx
push ebx
mov edi, 0x40ad98
push 0x400
push edi
push 0xffffffffffffffff
push 0x40b598
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x40254d
push 0x11
call fcn.00402b3a
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
je 0x402793
lea ecx, [ebp + 8]
push ebx
push ecx
push eax
push 0x40ad98
push esi
call fcn.00405da8
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4015ac
push 2
mov dword [ebp - 0xc], ebx
pop eax
push eax
mov dword [ebp - 0x44], eax
call fcn.00402b1d
cmp eax, 1
mov dword [ebp - 0x34], eax
jl case.0x40148a.65
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40259a
mov dword [ebp - 0x34], ecx
cmp word [esi], bx
je 0x4026e6
push esi
mov dword [ebp - 0x14], ebx
call fcn.00405da8
cmp dword [ebp - 0x34], ebx
mov dword [ebp - 8], eax
jle 0x4026e6
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x30], 0x39
jne 0x402657
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 - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4026e6
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x4026e6
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], eax
jne 0x4026a2
lea eax, [ebp - 0x3c]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call edi
test eax, eax
jne 0x402669
mov esi, dword [ebp - 0x44]
neg esi
dec dword [ebp - 0x38]
mov eax, 0xfffd
mov dword [ebp - 0x3c], eax
je 0x40266c
dec dword [ebp - 0x44]
inc esi
push 1
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x3c]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x38]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x402621
jmp 0x402669
lea eax, [ebp - 0x3c]
push 2
push eax
push dword [ebp - 8]
call fcn.00405b37
test eax, eax
je 0x4026e6
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x20], ebx
jne 0x4026a2
cmp word [ebp - 0x14], 0xd
je 0x4026b3
cmp word [ebp - 0x14], 0xa
je 0x4026b3
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 - 0x14], eax
je 0x4026e6
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xc], eax
jl 0x4025be
jmp 0x4026e6
movzx eax, ax
push eax
push dword [ebp - 0x10]
call fcn.00405d8f
jmp 0x4029d0
cmp word [ebp - 0x14], ax
je 0x4026d4
cmp ax, 0xd
je 0x4026c5
cmp ax, 0xa
jne 0x4026d4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [ecx + edx*2], ax
jmp 0x4026e6
mov eax, dword [ebp - 0x44]
push 1
neg eax
push ebx
push eax
push dword [ebp - 8]
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.00402b1d
push eax
push esi
call fcn.00405da8
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x40148a.65
jmp 0x402969
cmp word [esi], bx
je case.0x40148a.65
push esi
call fcn.00405da8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.65
cmp word [ecx], bx
je 0x402761
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp - 0x10]
call fcn.00405da8
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4027a8
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x40148a.65
push 2
call fcn.00402b3a
lea ecx, [ebp - 0x2ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40279f
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.00405d8f
lea eax, [ebp - 0x280]
push eax
push esi
jmp 0x4028eb
push 0xfffffffffffffff0
mov dword [ebp - 0x14], 0xfffffd66
call fcn.00402b3a
mov esi, eax
push esi
mov dword [ebp - 0x34], esi
call fcn.0040590a
test eax, eax
jne 0x4027d9
push 0xffffffffffffffed
call fcn.00402b3a
push esi
call fcn.00405a8f
push 2
push 0x40000000
push esi
call fcn.00405ab4
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402895
mov eax, dword [0x434ed4]
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 0x40288c
push ebx
call fcn.004031e3
push dword [ebp - 8]
push edi
call fcn.004031cd
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14], esi
je 0x402864
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.00402fa2
jmp 0x402857
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x48], ecx
call fcn.00405a6f
add esi, dword [ebp - 0x48]
cmp byte [esi], bl
jne 0x40283f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x38]
push ebx
push eax
push dword [ebp - 8]
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.00402fa2
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
push 0xfffffffffffffff3
pop esi
jge 0x4028b0
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x402192
push ebx
call fcn.00402b1d
mov edi, eax
cmp edi, dword [0x434eec]
jae 0x402793
mov esi, edi
mov eax, dword [ebp - 0x24]
imul esi, esi, 0x818
add esi, dword [0x434ee8]
cmp eax, ebx
jl 0x4028f8
mov ecx, dword [esi + eax*4]
jne 0x4028f5
add esi, 0x18
push esi
push dword [ebp - 0x10]
call fcn.00405e48
jmp case.0x40148a.65
push ecx
jmp 0x40296a
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x40290e
push 1
call fcn.00402b1d
mov dword [ebp - 0x28], eax
jmp 0x40291e
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.00405e6a
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.00402b1d
cmp eax, 0x20
jae 0x402793
cmp dword [ebp - 0x20], ebx
je 0x402974
cmp dword [ebp - 0x24], ebx
je 0x402963
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.00405d8f
jmp case.0x40148a.65
cmp dword [ebp - 0x24], ebx
je 0x40298b
mov edx, dword [0x434ed0]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.65
mov ecx, dword [0x434ed0]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x10]
call fcn.00405e6a
jmp case.0x40148a.65
mov ecx, dword [0x42f218]
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 [0x434f48], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4