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, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x42a268]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xb
add ecx, esi
mov edi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x30]
shl edi, 0xb
mov dword [0x40ce54], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.66
jmp dword [ecx*4 + 0x402bd4]
push ebx
push eax
call fcn.004055a4
jmp 0x402395
inc dword [0x42922c]
cmp dword [ebp - 8], ebx
je 0x402395
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402395
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.004055a4
jmp case.0x40148a.66
push ebx
call fcn.00402d1c
cmp eax, 1
pop ecx
mov dword [ebp - 0x10], edx
jg 0x4014e9
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40148a.66
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40148a.66
shl eax, 2
cmp dword [ebp - 0x28], ebx
jne 0x401531
mov ecx, dword [eax + 0x42a300]
push 1
mov dword [eax + 0x42a340], ecx
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x42a300], eax
jmp case.0x40148a.66
mov ecx, dword [eax + 0x42a340]
mov dword [eax + 0x42a300], ecx
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x42a300]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [esi], ecx
jmp case.0x40148a.2
mov eax, dword [ebp - 0x2c]
push dword [eax*4 + 0x42a300]
push edi
jmp 0x402b08
mov ecx, dword [0x429230]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x40158c
push dword [ebp - 0x2c]
push ecx
call esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x429244]
cmp ecx, ebx
je case.0x40148a.66
push eax
push ecx
call esi
jmp case.0x40148a.66
push 0xfffffffffffffff0
call fcn.00402d3e
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.66
jmp 0x402925
push 0xfffffffffffffff0
call fcn.00402d3e
push eax
mov dword [ebp + 8], eax
call fcn.00405ebc
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405e3e
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401604
cmp dword [ebp - 0x28], ebx
je 0x401604
call fcn.00405b0d
test eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.00405a73
jmp 0x40160c
push dword [ebp + 8]
call fcn.00405af0
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 - 0x2c], ebx
je 0x401663
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x436000
call fcn.0040653c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40148a.66
inc dword [ebp - 4]
jmp case.0x40148a.66
push 0xfffffffffffffff5
jmp 0x4022e9
push ebx
call fcn.00402d3e
push eax
call fcn.0040689a
jmp 0x401d28
push 0xffffffffffffffd0
call fcn.00402d3e
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402d3e
push 0x13
mov edi, eax
call fcn.00402d3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016a7
push 0xffffffffffffffe3
jmp 0x4022e9
cmp dword [ebp - 0x28], ebx
je 0x402925
push esi
call fcn.0040689a
test eax, eax
je 0x402925
push edi
push esi
call fcn.00406302
push 0xffffffffffffffe4
jmp 0x4022e9
push ebx
call fcn.00402d3e
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.0040689a
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040653c
jmp 0x40171a
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x28], ebx
jne case.0x40148a.66
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40148a.66
push 0xffffffffffffffff
call fcn.00402d3e
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x40148a.66
jmp 0x4028f3
push 0xffffffffffffffef
call fcn.00402d3e
push eax
push edi
call fcn.00406061
jmp 0x4015b4
push 0x31
call fcn.00402d3e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405e88
push dword [ebp - 8]
mov edi, 0x40a5f8
test eax, eax
je 0x40179e
push edi
call fcn.0040653c
jmp 0x4017b5
push 0x436000
push edi
call fcn.0040653c
push eax
call fcn.00405e11
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.004067eb
cmp dword [ebp + 8], 3
jl 0x4017f2
push edi
call fcn.0040689a
xor ecx, ecx
cmp eax, ebx
je 0x4017dd
lea ecx, [ebp - 0x24]
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 edi
call fcn.0040600d
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406032
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push esi
push 0x40b5f8
call fcn.0040653c
push edi
push esi
call fcn.0040653c
push dword [ebp - 0x1c]
push 0x40adf8
call fcn.00406579
push 0x40b5f8
push esi
call fcn.0040653c
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40adf8
call fcn.00405ba2
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push edi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.004055a4
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x42a308]
jmp 0x402bcb
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.004055a4
inc dword [0x42a334]
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.00403309
dec dword [0x42a334]
cmp dword [ebp - 0x24], 0xffffffff
mov esi, eax
jne 0x4018be
cmp dword [ebp - 0x20], 0xffffffff
je 0x4018d0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jge case.0x40148a.66
cmp esi, 0xfffffffe
jne 0x4018f9
push 0xffffffffffffffe9
push edi
call fcn.00406579
push dword [ebp - 8]
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push edi
call fcn.00406579
push 0x200010
push edi
jmp 0x402390
push ebx
jmp 0x401943
push 0x31
call fcn.00402d3e
push dword [ebp - 0x30]
push eax
call fcn.00405ba2
cmp eax, ebx
je 0x402925
cmp eax, dword [ebp - 0x28]
je 0x401a9c
cmp eax, dword [ebp - 0x20]
jne case.0x40148a.66
mov eax, dword [ebp - 0x1c]
jmp case.0x40148a.2
push 0xfffffffffffffff0
call fcn.00402d3e
push dword [ebp - 0x2c]
push eax
call fcn.00405c4e
jmp case.0x40148a.66
push 1
call fcn.00402d3e
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402630
push 2
call fcn.00402d1c
push 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00402d1c
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x14]
pop ecx
push 1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
mov dword [ebp + 8], eax
call fcn.00402d3e
push eax
mov dword [ebp - 0x44], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x10], ebx
mov word [edi], bx
jne 0x4019a7
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x40148a.66
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
jge 0x4019c2
lea esi, [eax + ecx]
cmp esi, ebx
jl case.0x40148a.66
cmp esi, eax
jle 0x4019c8
mov esi, eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + esi*2]
push eax
push edi
call fcn.0040653c
cmp dword [ebp + 8], ebx
jge 0x4019e8
push edi
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.66
mov word [edi + eax*2], bx
jmp case.0x40148a.66
push 0x20
call fcn.00402d3e
push 0x31
mov esi, eax
call fcn.00402d3e
cmp dword [ebp - 0x20], ebx
push eax
push esi
jne 0x401a28
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401a9c
mov eax, dword [ebp - 0x28]
jmp case.0x40148a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401a1c
xor esi, esi
inc esi
push esi
call fcn.00402d3e
push 0x400
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401a60
cmp dword [ebp - 0x28], ebx
je 0x401a66
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401a66
mov dword [ebp - 4], esi
mov word [edi], bx
mov word [edi + 0x7fe], bx
jmp case.0x40148a.66
mov esi, dword [ebp - 0x1c]
push ebx
call fcn.00402d1c
push 1
mov edi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d1c
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
jne 0x401a98
cmp edi, eax
jl 0x401a9c
jle 0x401a20
jmp 0x401aaa
cmp edi, eax
jae 0x401aa4
mov eax, dword [ebp - 0x24]
jmp case.0x40148a.2
jbe 0x401a20
mov eax, dword [ebp - 0x20]
jmp case.0x40148a.2
push 1
call fcn.00402d1c
mov esi, eax
push 2
mov dword [ebp - 0x10], edx
mov dword [ebp + 8], esi
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
ja case.default.0x401adb
jmp dword [eax*4 + 0x402ce4]
add esi, ecx
jmp 0x401e48
sub esi, ecx
jmp 0x401e48
imul ecx, esi
jmp 0x401b0f
cmp ecx, ebx
je 0x401b4c
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401e48
or ecx, esi
jmp 0x401b0f
and ecx, esi
jmp 0x401b0f
xor ecx, esi
mov esi, ecx
jmp 0x401e48
xor eax, eax
cmp esi, ebx
sete al
jmp 0x401afe
cmp esi, ebx
jne 0x401b34
jmp 0x401b30
xor esi, esi
jmp 0x401e48
cmp esi, ebx
je 0x401b25
cmp ecx, ebx
je 0x401b25
xor esi, esi
inc esi
jmp 0x401e48
cmp ecx, ebx
je 0x401b4c
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401e48
xor esi, esi
mov dword [ebp - 4], 1
jmp 0x401e48
shl esi, cl
jmp 0x401e48
sar esi, cl
jmp 0x401e48
shr esi, cl
jmp 0x401e48
mov esi, dword [ebp + 8]
jmp 0x401e48
push 1
call fcn.00402d3e
push 2
mov esi, eax
call fcn.00402d1c
push eax
push esi
push edi
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
mov esi, dword [0x40ce58]
cmp eax, ebx
je 0x401bec
dec eax
cmp esi, ebx
je 0x402382
mov esi, dword [esi]
cmp eax, ebx
jne 0x401ba8
cmp esi, ebx
je 0x402382
add esi, 4
mov edi, 0x40a5f8
push esi
push edi
call fcn.0040653c
mov eax, dword [0x40ce58]
add eax, 4
push eax
push esi
call fcn.0040653c
mov eax, dword [0x40ce58]
push edi
add eax, 4
push eax
jmp 0x402a7b
cmp dword [ebp - 0x2c], ebx
je 0x401c16
cmp esi, ebx
je 0x402925
lea eax, [esi + 4]
push eax
push edi
call fcn.0040653c
mov eax, dword [esi]
push esi
mov dword [0x40ce58], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40148a.66
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406579
mov eax, dword [0x40ce58]
mov dword [esi], eax
mov dword [0x40ce58], esi
jmp case.0x40148a.66
push 3
call fcn.00402d1c
push 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
call fcn.00402d1c
test byte [ebp - 0x1c], 1
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401c6f
push 0x33
call fcn.00402d3e
mov dword [ebp - 0x18], eax
test byte [ebp - 0x1c], 2
je 0x401c7f
push 0x44
call fcn.00402d3e
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
push 1
jne 0x401cd3
call fcn.00402d1c
push 2
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
je 0x401cc3
lea edx, [ebp - 0x38]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401d06
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401d03
call fcn.00402d3e
push 0x12
mov esi, eax
call fcn.00402d3e
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ecx
and eax, esi
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x30], ebx
jl case.0x40148a.66
push dword [ebp - 0x38]
jmp 0x40156d
push ebx
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401a20
mov eax, dword [ebp - 0x2c]
jmp case.0x40148a.2
push 2
call fcn.00402d1c
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402630
mov eax, dword [0x42a2c8]
mov ecx, dword [ebp - 0x2c]
push ebx
lea esi, [eax + ecx]
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40148a.66
test byte [ebp - 0x23], 1
je 0x401d94
push 2
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
jmp 0x401da0
push dword [ebp - 0x28]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, ecx
mov esi, ecx
and eax, 3
and esi, 4
mov dword [ebp - 0x38], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x18], eax
mov eax, ecx
shr eax, 0x1e
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x40], eax
je 0x401dd7
push 0x11
call fcn.00402d3e
jmp 0x401ddb
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x38]
neg esi
push dword [ebp - 0x44]
sbb esi, esi
and esi, dword [0x42a260]
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
push esi
push dword [ebp - 0x38]
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x401e3f
cmp dword [ebp - 0x38], ebx
jne 0x401e3f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x30], ebx
jl case.0x40148a.66
push esi
jmp 0x40156d
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
call fcn.00402d1c
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push esi
mov dword [ebp - 0x10], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp - 8]
neg eax
mov dword [0x40cdf8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00402d1c
mov dword [0x40ce08], eax
mov al, byte [ebp - 0x20]
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x2c]
mov cl, al
and cl, 1
mov byte [0x40ce0f], 1
mov byte [0x40ce0c], cl
mov cl, al
and cl, 2
and al, 4
push 0x40ce14
mov byte [0x40ce0d], cl
mov byte [0x40ce0e], al
call fcn.00406579
push 0x40cdf8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402630
push ebx
call fcn.00402d1c
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d1c
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], edx
push eax
push esi
jne 0x401f07
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40148a.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40148a.66
push ebx
call fcn.00402d3e
push 0x31
mov esi, eax
call fcn.00402d3e
push 0x22
mov ebx, eax
call fcn.00402d3e
push 0x15
mov edi, eax
call fcn.00402d3e
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x7c], ebx
and eax, esi
mov dword [ebp - 0x80], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x74], 0x436000
and eax, edi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00405b68
test eax, eax
je 0x402925
test byte [ebp - 0x88], 0x40
je case.0x40148a.66
push dword [ebp - 0x54]
call fcn.004069dc
push dword [ebp - 0x54]
jmp 0x401feb
push ebx
call fcn.00402d3e
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004055a4
push esi
call fcn.00405b25
mov esi, eax
cmp esi, ebx
je 0x402925
cmp dword [ebp - 0x28], ebx
je 0x401fea
push esi
call fcn.004069dc
cmp dword [ebp - 0x2c], ebx
jl 0x401fdf
push eax
push dword [ebp - 0xc]
call fcn.00406483
jmp 0x401fea
cmp eax, ebx
je 0x401fea
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40148a.66
push 2
call fcn.00402d3e
push eax
call fcn.0040689a
mov esi, eax
cmp esi, ebx
je 0x40201c
push dword [esi + 0x14]
push dword [ebp - 0xc]
call fcn.00406483
push dword [esi + 0x18]
jmp 0x40156d
mov eax, dword [ebp - 0xc]
mov word [edi], bx
mov word [eax], bx
jmp 0x402925
push 0xffffffffffffffee
call fcn.00402d3e
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x38], eax
push ecx
push eax
push 0xa
call fcn.00406931
call eax
mov esi, eax
mov eax, dword [ebp - 0xc]
mov word [edi], bx
cmp esi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x40148a.66
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
push 0xb
call fcn.00406931
push 0xc
mov dword [ebp - 0x40], eax
call fcn.00406931
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push esi
push ebx
push dword [ebp - 0x38]
call dword [ebp - 0x40]
test eax, eax
je 0x4020c7
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40a014
push dword [ebp + 8]
call dword [ebp - 0x18]
test eax, eax
je 0x4020c7
mov eax, dword [ebp - 0x44]
push dword [eax + 8]
push edi
call fcn.00406483
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push dword [ebp - 0xc]
call fcn.00406483
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401c0b
cmp dword [0x42a338], ebx
mov dword [ebp - 4], 1
jl 0x40219b
push 0xfffffffffffffff0
call fcn.00402d3e
push 1
mov edi, eax
call fcn.00402d3e
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], eax
je 0x402108
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402119
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402194
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.004069a0
mov edi, eax
cmp edi, ebx
je 0x402163
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x402149
push dword [ebp - 0x28]
call fcn.00401423
call edi
test eax, eax
je 0x40216d
mov dword [ebp - 4], 1
jmp 0x40216d
push section..data
push 0x40ce58
push esi
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x40216d
push dword [ebp - 0x44]
push 0xfffffffffffffff7
call fcn.004055a4
cmp dword [ebp - 0x24], ebx
jne case.0x40148a.66
push dword [ebp + 8]
call fcn.00403bab
test eax, eax
je case.0x40148a.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40148a.66
push 0xfffffffffffffff6
jmp 0x4022e9
push 0xffffffffffffffe7
jmp 0x4022e9
push 0xfffffffffffffff0
call fcn.00402d3e
push 0xffffffffffffffdf
mov dword [ebp - 0x10], eax
call fcn.00402d3e
push 2
mov dword [ebp - 0x44], eax
call fcn.00402d3e
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402d3e
push 0x45
mov dword [ebp - 0x4c], eax
call fcn.00402d3e
push dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x50], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x40], eax
call fcn.00405e88
test eax, eax
jne 0x402210
push 0x21
call fcn.00402d3e
lea eax, [ebp + 8]
push eax
push 0x4084d4
push 1
push ebx
push 0x4084e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4022e0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
push 0x4084f4
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x4022d2
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x18], eax
jne 0x40226c
mov eax, dword [ebp + 8]
push 0x436000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x40227a
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 - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x4c]
cmp word [ecx], bx
je 0x40229b
mov eax, dword [ebp + 8]
push dword [ebp - 0x50]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x18], ebx
jl 0x4022c9
mov eax, dword [ebp - 0x38]
push 1
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
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 - 0x18], ebx
jge 0x4022f3
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.66
push 0xfffffffffffffff4
jmp 0x4022e9
push ebx
call fcn.00402d3e
push 0x11
mov esi, eax
call fcn.00402d3e
push 0x23
mov edi, eax
call fcn.00402d3e
push esi
mov dword [ebp + 8], eax
call fcn.0040689a
test eax, eax
jne 0x402329
push ebx
push 0xfffffffffffffff9
call fcn.004055a4
jmp 0x402925
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 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 - 0x28]
push eax
push ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x56], eax
mov word [ebp - 0x60], cx
call fcn.004055a4
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.66
jmp 0x40231c
cmp eax, 0xbadf00d
je 0x40239f
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406579
push eax
call fcn.00405ba2
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x42a314]
jmp case.0x40148a.66
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x4023ba
push ebx
call fcn.00402d3e
mov esi, eax
cmp dword [ebp - 0x2c], ebx
je 0x4023c8
push 0x11
call fcn.00402d3e
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x4023d6
push 0x22
call fcn.00402d3e
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402d3e
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.00402d3e
push 0x12
mov esi, eax
call fcn.00402d3e
push 0xffffffffffffffdd
mov dword [ebp - 0x10], eax
call fcn.00402d3e
push eax
push 0x3ff
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x401751
cmp dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x2c]
jne 0x40245f
push 2
call fcn.00402d7e
mov esi, eax
cmp esi, ebx
je 0x402925
push 0x33
call fcn.00402d3e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402475
push 0x22
call fcn.00402d3e
mov ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402dfc
mov edi, eax
cmp edi, ebx
je case.0x40148a.66
jmp 0x402925
mov esi, dword [ebp - 0x20]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x10], eax
call fcn.00402d3e
push 0x11
mov dword [ebp - 0x44], eax
call fcn.00402d3e
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402dce
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
xor eax, eax
cmp esi, 1
mov edi, 0x40b5f8
jne 0x4024d6
push 0x23
call fcn.00402d3e
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x4024ed
push 3
call fcn.00402d1c
pop ecx
mov dword [0x40b5f8], eax
push esi
mov dword [ebp - 0x38], edx
pop eax
cmp esi, 3
jne 0x402501
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.00403309
push eax
push edi
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x44]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40251a
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x4025f5
push 0x20019
call fcn.00402d7e
push 0x33
mov esi, eax
call fcn.00402d3e
cmp esi, ebx
mov word [edi], bx
je 0x402925
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push ecx
lea ecx, [ebp + 8]
push edi
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40258e
cmp dword [ebp + 8], 4
je 0x402579
cmp dword [ebp + 8], ecx
je 0x402571
cmp dword [ebp + 8], 2
jne 0x40258e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x4025ed
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00406483
jmp 0x4025f4
mov word [edi], bx
mov dword [ebp - 4], ecx
jmp 0x4025f4
push 0x20019
call fcn.00402d7e
push 3
mov esi, eax
call fcn.00402d1c
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
mov word [edi], bx
je 0x402925
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4025d1
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4025ed
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4025ed
mov dword [ebp - 4], 1
mov word [edi + 0x7fe], bx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40148a.66
push edi
call fcn.0040649c
cmp eax, ebx
je case.0x40148a.66
push eax
jmp 0x401feb
push 0xffffffffffffffed
call fcn.00402d3e
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00406032
cmp eax, 0xffffffff
je 0x402922
push eax
jmp 0x40156d
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, 0x38
mov dword [ebp - 0x10], eax
sete cl
cmp eax, ebx
mov esi, ecx
je 0x402665
push 1
call fcn.00402d1c
mov word [0x40adf8], ax
xor eax, eax
cmp esi, ebx
pop ecx
sete al
mov dword [ebp - 0x44], edx
inc eax
jmp 0x4026a4
cmp edx, 0x38
jne 0x402695
push 0x21
call fcn.00402d3e
push 0x400
push 0x40adf8
push 0x40b5f8
call fcn.0040655e
add esp, 0xc
push 0x40adf8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4026a4
push 0x11
call fcn.00402d3e
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [edi], bx
mov dword [ebp + 8], eax
je 0x402925
push edi
call fcn.0040649c
or esi, dword [ebp - 0x10]
mov edi, eax
jne 0x4026d1
cmp dword [ebp - 0x24], ebx
je 0x4026d1
push edi
push edi
call fcn.00406113
test eax, eax
jl 0x402925
push dword [ebp + 8]
push 0x40adf8
push edi
call fcn.004060e4
jmp 0x4015b4
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x4c], eax
call fcn.00402d1c
cmp eax, 1
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x44], eax
jl case.0x40148a.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40270f
mov dword [ebp - 0x44], ecx
cmp word [edi], bx
je 0x402876
push edi
mov dword [ebp - 0x38], ebx
call fcn.0040649c
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jle 0x402876
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x34], 0x39
jne 0x4027cc
lea eax, [ebp - 0x40]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x24]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402876
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x402876
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jne 0x402832
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call esi
test eax, eax
jne 0x4027f9
mov edi, dword [ebp - 0x4c]
neg edi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x50], eax
je 0x4027fc
dec dword [ebp - 0x4c]
inc edi
push 1
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x50]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x40]
push eax
push 8
push ebx
call esi
test eax, eax
je 0x402796
jmp 0x4027f9
cmp dword [ebp - 0x24], ebx
jne 0x4027e7
cmp dword [ebp - 8], ebx
jne 0x4027e7
push ebx
push dword [ebp - 0x18]
call fcn.00406113
test eax, eax
jl 0x402876
lea eax, [ebp - 0x50]
push 2
push eax
push dword [ebp - 0x18]
call fcn.004060b5
test eax, eax
je 0x402876
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x24], ebx
jne 0x402832
cmp word [ebp - 0x38], 0xd
je 0x402843
cmp word [ebp - 0x38], 0xa
je 0x402843
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 - 0x38], eax
je 0x402876
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jl 0x402733
jmp 0x402876
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.00406483
jmp 0x402bcb
cmp word [ebp - 0x38], ax
je 0x402864
cmp ax, 0xd
je 0x402855
cmp ax, 0xa
jne 0x402864
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x402876
mov eax, dword [ebp - 0x4c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x18]
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 [edi], bx
je case.0x40148a.66
push 2
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x24]
push ebx
push eax
push edi
call fcn.0040649c
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x40148a.66
jmp 0x402b04
push edi
call fcn.0040649c
cmp eax, ebx
je case.0x40148a.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40148a.66
push dword [ebp - 0xc]
call fcn.0040649c
cmp eax, ebx
je 0x4028f3
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40293a
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x40148a.66
push 2
call fcn.00402d3e
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402931
mov eax, dword [ebp - 0xc]
mov word [eax], bx
mov word [edi], bx
mov dword [ebp - 4], 1
jmp case.0x40148a.66
push eax
push dword [ebp - 0xc]
call fcn.00406483
lea eax, [ebp - 0x2b0]
push eax
push edi
jmp 0x402a7b
push 0xfffffffffffffff0
mov dword [ebp - 0x38], 0xfffffd66
call fcn.00402d3e
mov esi, eax
push esi
mov dword [ebp - 0x40], esi
call fcn.00405e88
test eax, eax
jne 0x40296b
push 0xffffffffffffffed
call fcn.00402d3e
push esi
call fcn.0040600d
push 2
push 0x40000000
push esi
call fcn.00406032
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402a21
mov eax, dword [0x42a278]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x44], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402a18
push ebx
call fcn.00403590
push dword [ebp - 0x44]
push edi
call fcn.0040357a
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x4029f6
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.00403309
jmp 0x4029e9
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x3c], ecx
call fcn.00405fed
add esi, dword [ebp - 0x3c]
cmp byte [esi], bl
jne 0x4029d1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x44]
push edi
push dword [ebp + 8]
call fcn.004060e4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403309
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402a3c
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4022e9
push ebx
call fcn.00402d1c
mov edi, eax
pop ecx
cmp edi, dword [0x42a2ac]
mov dword [ebp - 0x10], edx
jae 0x402925
mov esi, edi
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x818
add esi, dword [0x42a2a8]
cmp eax, ebx
jl 0x402a88
mov ecx, dword [esi + eax*4]
jne 0x402a85
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.0040653c
jmp case.0x40148a.66
push ecx
jmp 0x402b05
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402aa2
push 1
call fcn.00402d1c
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], eax
jmp 0x402ab2
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.00406579
or byte [esi + 9], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x40148a.66
push edi
call fcn.0040117d
jmp case.0x40148a.66
push ebx
call fcn.00402d1c
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x10], edx
jae 0x402925
cmp dword [ebp - 0x24], ebx
je 0x402b12
cmp dword [ebp - 0x28], ebx
je 0x402afe
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x40148a.66
push ebx
call fcn.004012e2
push eax
push dword [ebp - 0xc]
call fcn.00406483
jmp case.0x40148a.66
cmp dword [ebp - 0x28], ebx
je 0x402b2c
mov edx, dword [0x42a274]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.66
mov ecx, dword [0x42a274]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.00406579
jmp case.0x40148a.66
push 5
call fcn.00406931
push 0x22
mov esi, eax
call fcn.00402d3e
cmp esi, ebx
je 0x402b8e
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x402b8e
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
jl 0x402b8e
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.0040653c
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x40148a.66
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], 1
mov word [eax], bx
jmp case.0x40148a.66
mov ecx, dword [0x425748]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x40148a.66
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x42a308], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4