Function at 0x401434
Capabilities:
Copy file
Delete registry value
Enumerate files on windows
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
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 + 0x402c3c]
push ebx
push eax
call fcn.004056ca
jmp 0x40239d
inc dword [0x42922c]
cmp dword [ebp - 8], ebx
je 0x40239d
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40239d
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x40148a.2
push ebx
push eax
call fcn.004056ca
jmp case.0x40148a.66
push ebx
call fcn.00402d84
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 + 0x42a2e0]
push 1
mov dword [eax + 0x42a340], ecx
call fcn.00402d84
pop ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x42a2e0], eax
jmp case.0x40148a.66
mov ecx, dword [eax + 0x42a340]
mov dword [eax + 0x42a2e0], ecx
jmp case.0x40148a.66
mov eax, dword [ebp - 0x28]
lea esi, [eax*4 + 0x42a2e0]
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 + 0x42a2e0]
push edi
jmp 0x402ba4
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.00402da6
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40148a.66
jmp 0x40292e
push 0xfffffffffffffff0
call fcn.00402da6
push eax
mov dword [ebp + 8], eax
call fcn.00405fe2
mov esi, eax
cmp esi, ebx
je 0x401631
push 0x5c
push esi
call fcn.00405f64
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.00405c33
test eax, eax
je 0x401604
push dword [ebp + 8]
call fcn.00405b99
jmp 0x40160c
push dword [ebp + 8]
call fcn.00405c16
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.00406668
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 0x4022f1
push ebx
call fcn.00402da6
push eax
call fcn.0040699e
jmp 0x401d28
push 0xffffffffffffffd0
call fcn.00402da6
push 0xffffffffffffffdf
mov esi, eax
call fcn.00402da6
push 0x13
mov edi, eax
call fcn.00402da6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016a7
push 0xffffffffffffffe3
jmp 0x4022f1
cmp dword [ebp - 0x28], ebx
je 0x40292e
push esi
call fcn.0040699e
test eax, eax
je 0x40292e
push edi
push esi
call fcn.00406428
push 0xffffffffffffffe4
jmp 0x4022f1
push ebx
call fcn.00402da6
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.0040699e
cmp eax, ebx
je 0x401710
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00406668
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.00402da6
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 0x4028fc
push 0xffffffffffffffef
call fcn.00402da6
push eax
push edi
call fcn.00406187
jmp 0x4015b4
push 0x31
call fcn.00402da6
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.00405fae
push dword [ebp - 8]
mov edi, 0x40a5f8
test eax, eax
je 0x40179e
push edi
call fcn.00406668
jmp 0x4017b5
push 0x436000
push edi
call fcn.00406668
push eax
call fcn.00405f37
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.004068ef
cmp dword [ebp + 8], 3
jl 0x4017f2
push edi
call fcn.0040699e
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.00406133
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406158
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
jne 0x40188d
cmp dword [ebp + 8], ebx
jne 0x40186f
push esi
push 0x40b5f8
call fcn.00406668
push edi
push esi
call fcn.00406668
push dword [ebp - 0x1c]
push 0x40adf8
call fcn.004066a5
push 0x40b5f8
push esi
call fcn.00406668
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40adf8
call fcn.00405cc8
sub eax, 4
je 0x4017bb
dec eax
je 0x401882
push edi
push 0xfffffffffffffffa
jmp 0x401493
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.004056ca
cmp dword [ebp + 8], 2
jmp 0x4015b6
inc dword [0x42a2e8]
jmp 0x402c33
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.004056ca
inc dword [0x42a314]
push ebx
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call fcn.00403371
dec dword [0x42a314]
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.004066a5
push dword [ebp - 8]
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401901
push 0xffffffffffffffee
push edi
call fcn.004066a5
push 0x200010
push edi
jmp 0x402398
push ebx
jmp 0x401943
push 0x31
call fcn.00402da6
push dword [ebp - 0x30]
push eax
call fcn.00405cc8
cmp eax, ebx
je 0x40292e
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.00402da6
push dword [ebp - 0x2c]
push eax
call fcn.00405d74
jmp case.0x40148a.66
push 1
call fcn.00402da6
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402638
push 2
call fcn.00402d84
push 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00402d84
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.00402da6
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.00406668
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.00402da6
push 0x31
mov esi, eax
call fcn.00402da6
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.00402da6
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.00402d84
push 1
mov edi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d84
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.00402d84
mov esi, eax
push 2
mov dword [ebp - 0x10], edx
mov dword [ebp + 8], esi
call fcn.00402d84
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 + 0x402d4c]
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.00402da6
push 2
mov esi, eax
call fcn.00402d84
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 0x40238a
mov esi, dword [esi]
cmp eax, ebx
jne 0x401ba8
cmp esi, ebx
je 0x40238a
add esi, 4
mov edi, 0x40a5f8
push esi
push edi
call fcn.00406668
mov eax, dword [0x40ce58]
add eax, 4
push eax
push esi
call fcn.00406668
mov eax, dword [0x40ce58]
push edi
add eax, 4
push eax
jmp 0x402a94
cmp dword [ebp - 0x2c], ebx
je 0x401c16
cmp esi, ebx
je 0x40292e
lea eax, [esi + 4]
push eax
push edi
call fcn.00406668
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.004066a5
mov eax, dword [0x40ce58]
mov dword [esi], eax
mov dword [0x40ce58], esi
jmp case.0x40148a.66
push 3
call fcn.00402d84
push 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
call fcn.00402d84
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.00402da6
mov dword [ebp - 0x18], eax
test byte [ebp - 0x1c], 2
je 0x401c7f
push 0x44
call fcn.00402da6
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
push 1
jne 0x401cd3
call fcn.00402d84
push 2
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d84
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.00402da6
push 0x12
mov esi, eax
call fcn.00402da6
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.00402d84
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.00402d84
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d84
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402638
mov eax, dword [0x42a2a8]
mov ecx, dword [ebp - 0x2c]
push ebx
lea esi, [eax + ecx]
call fcn.00402d84
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.00402d84
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.00402da6
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.00402d84
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.00402d84
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.004066a5
push 0x40cdf8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402638
push ebx
call fcn.00402d84
push 1
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d84
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.00402da6
push 0x31
mov esi, eax
call fcn.00402da6
push 0x22
mov ebx, eax
call fcn.00402da6
push 0x15
mov edi, eax
call fcn.00402da6
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.00405c8e
test eax, eax
je 0x40292e
test byte [ebp - 0x88], 0x40
je case.0x40148a.66
push dword [ebp - 0x54]
call fcn.00406ae0
push dword [ebp - 0x54]
jmp 0x401feb
push ebx
call fcn.00402da6
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.004056ca
push esi
call fcn.00405c4b
mov esi, eax
cmp esi, ebx
je 0x40292e
cmp dword [ebp - 0x28], ebx
je 0x401fea
push esi
call fcn.00406ae0
cmp dword [ebp - 0x2c], ebx
jl 0x401fdf
push eax
push dword [ebp - 0xc]
call fcn.004065af
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.00402da6
push eax
call fcn.0040699e
mov esi, eax
cmp esi, ebx
je 0x40201c
push dword [esi + 0x14]
push dword [ebp - 0xc]
call fcn.004065af
push dword [esi + 0x18]
jmp 0x40156d
mov eax, dword [ebp - 0xc]
mov word [edi], bx
mov word [eax], bx
jmp 0x40292e
push 0xffffffffffffffee
call fcn.00402da6
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x38], eax
push ecx
push eax
push 0xa
call fcn.00406a35
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.00406a35
push 0xc
mov dword [ebp - 0x40], eax
call fcn.00406a35
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 0x4020cf
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 0x4020cf
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
push dword [eax + ecx*4 + 8]
push edi
call fcn.004065af
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
push dword [ecx + eax*4 + 0xc]
push dword [ebp - 0xc]
call fcn.004065af
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401c0b
cmp dword [0x42a320], ebx
mov dword [ebp - 4], 1
jl 0x4021a3
push 0xfffffffffffffff0
call fcn.00402da6
push 1
mov edi, eax
call fcn.00402da6
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], eax
je 0x402110
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402121
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40219c
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.00406aa4
mov edi, eax
cmp edi, ebx
je 0x40216b
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
je 0x402151
push dword [ebp - 0x28]
call fcn.00401423
call edi
test eax, eax
je 0x402175
mov dword [ebp - 4], 1
jmp 0x402175
push section..data
push 0x40ce58
push esi
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x402175
push dword [ebp - 0x44]
push 0xfffffffffffffff7
call fcn.004056ca
cmp dword [ebp - 0x24], ebx
jne case.0x40148a.66
push dword [ebp + 8]
call fcn.00403cb7
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 0x4022f1
push 0xffffffffffffffe7
jmp 0x4022f1
push 0xfffffffffffffff0
call fcn.00402da6
push 0xffffffffffffffdf
mov dword [ebp - 0x10], eax
call fcn.00402da6
push 2
mov dword [ebp - 0x44], eax
call fcn.00402da6
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.00402da6
push 0x45
mov dword [ebp - 0x4c], eax
call fcn.00402da6
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.00405fae
test eax, eax
jne 0x402218
push 0x21
call fcn.00402da6
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 0x4022e8
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 0x4022da
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 0x402274
mov eax, dword [ebp + 8]
push 0x436000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x402282
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 0x4022a3
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 0x4022d1
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 0x4022fb
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x40148a.66
push 0xfffffffffffffff4
jmp 0x4022f1
push ebx
call fcn.00402da6
push 0x11
mov esi, eax
call fcn.00402da6
push 0x23
mov edi, eax
call fcn.00402da6
push esi
mov dword [ebp + 8], eax
call fcn.0040699e
test eax, eax
jne 0x402331
push ebx
push 0xfffffffffffffff9
call fcn.004056ca
jmp 0x40292e
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.004056ca
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40148a.66
jmp 0x402324
cmp eax, 0xbadf00d
je 0x4023a7
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004066a5
push eax
call fcn.00405cc8
mov eax, 0x7fffffff
jmp case.0x40148a.2
inc dword [0x42a2f4]
jmp case.0x40148a.66
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x4023c2
push ebx
call fcn.00402da6
mov esi, eax
cmp dword [ebp - 0x2c], ebx
je 0x4023d0
push 0x11
call fcn.00402da6
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x4023de
push 0x22
call fcn.00402da6
mov ebx, eax
push 0xffffffffffffffcd
call fcn.00402da6
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.00402da6
push 0x12
mov esi, eax
call fcn.00402da6
push 0xffffffffffffffdd
mov dword [ebp - 0x10], eax
call fcn.00402da6
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 0x402467
push 2
call fcn.00402de6
mov esi, eax
cmp esi, ebx
je 0x40292e
push 0x33
call fcn.00402da6
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40247d
push 0x22
call fcn.00402da6
mov ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push eax
push esi
call fcn.00402e64
mov edi, eax
cmp edi, ebx
je case.0x40148a.66
jmp 0x40292e
mov esi, dword [ebp - 0x20]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x10], eax
call fcn.00402da6
push 0x11
mov dword [ebp - 0x44], eax
call fcn.00402da6
push 2
push eax
push edi
mov dword [ebp - 4], 1
call fcn.00402e36
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x40148a.66
xor eax, eax
cmp esi, 1
mov edi, 0x40b5f8
jne 0x4024de
push 0x23
call fcn.00402da6
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp esi, 4
jne 0x4024f5
push 3
call fcn.00402d84
pop ecx
mov dword [0x40b5f8], eax
push esi
mov dword [ebp - 0x38], edx
pop eax
cmp esi, 3
jne 0x402509
push 0x1800
push edi
push ebx
push dword [ebp - 0x24]
call fcn.00403371
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 0x402522
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x4025fd
push 0x20019
call fcn.00402de6
push 0x33
mov esi, eax
call fcn.00402da6
cmp esi, ebx
mov word [edi], bx
je 0x40292e
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 0x402596
cmp dword [ebp + 8], 4
je 0x402581
cmp dword [ebp + 8], ecx
je 0x402579
cmp dword [ebp + 8], 2
jne 0x402596
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x4025f5
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.004065af
jmp 0x4025fc
mov word [edi], bx
mov dword [ebp - 4], ecx
jmp 0x4025fc
push 0x20019
call fcn.00402de6
push 3
mov esi, eax
call fcn.00402d84
cmp esi, ebx
pop ecx
mov dword [ebp - 0x10], edx
mov word [edi], bx
je 0x40292e
cmp dword [ebp - 0x20], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x4025d9
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4025f5
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 0x4025f5
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.004065c8
cmp eax, ebx
je case.0x40148a.66
push eax
jmp 0x401feb
push 0xffffffffffffffed
call fcn.00402da6
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00406158
cmp eax, 0xffffffff
je 0x40292b
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 0x40266d
push 1
call fcn.00402d84
mov word [0x40adf8], ax
xor eax, eax
cmp esi, ebx
pop ecx
sete al
mov dword [ebp - 0x44], edx
inc eax
jmp 0x4026ac
cmp edx, 0x38
jne 0x40269d
push 0x21
call fcn.00402da6
push 0x400
push 0x40adf8
push 0x40b5f8
call fcn.0040668a
add esp, 0xc
push 0x40adf8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4026ac
push 0x11
call fcn.00402da6
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [edi], bx
mov dword [ebp + 8], eax
je 0x40292e
push edi
call fcn.004065c8
or esi, dword [ebp - 0x10]
mov edi, eax
jne 0x4026d9
cmp dword [ebp - 0x24], ebx
je 0x4026d9
push edi
push edi
call fcn.00406239
test eax, eax
jl 0x40292e
push dword [ebp + 8]
push 0x40adf8
push edi
call fcn.0040620a
jmp 0x4015b4
push 2
mov dword [ebp - 8], ebx
pop eax
push eax
mov dword [ebp - 0x4c], eax
call fcn.00402d84
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 0x402717
mov dword [ebp - 0x44], ecx
cmp word [edi], bx
je 0x40287e
push edi
mov dword [ebp - 0x38], ebx
call fcn.004065c8
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jle 0x40287e
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x34], 0x39
jne 0x4027d4
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 0x40287e
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x40287e
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jne 0x40283a
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 0x402801
mov edi, dword [ebp - 0x4c]
neg edi
dec dword [ebp - 0x40]
mov eax, 0xfffd
mov dword [ebp - 0x50], eax
je 0x402804
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 0x40279e
jmp 0x402801
cmp dword [ebp - 0x24], ebx
jne 0x4027ef
cmp dword [ebp - 8], ebx
jne 0x4027ef
push ebx
push dword [ebp - 0x18]
call fcn.00406239
test eax, eax
jl 0x40287e
lea eax, [ebp - 0x50]
push 2
push eax
push dword [ebp - 0x18]
call fcn.004061db
test eax, eax
je 0x40287e
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x24], ebx
jne 0x40283a
cmp word [ebp - 0x38], 0xd
je 0x40284b
cmp word [ebp - 0x38], 0xa
je 0x40284b
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 0x40287e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jl 0x40273b
jmp 0x40287e
movzx eax, ax
push eax
push dword [ebp - 0xc]
call fcn.004065af
jmp 0x402c33
cmp word [ebp - 0x38], ax
je 0x40286c
cmp ax, 0xd
je 0x40285d
cmp ax, 0xa
jne 0x40286c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x40287e
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.00402d84
pop ecx
mov dword [ebp - 0x10], edx
push dword [ebp - 0x24]
push ebx
push eax
push edi
call fcn.004065c8
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x40148a.66
push eax
jmp 0x402ba1
push edi
call fcn.004065c8
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.004065c8
cmp eax, ebx
je 0x4028fc
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402943
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x40148a.66
push 2
call fcn.00402da6
lea ecx, [ebp - 0x2dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40293a
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.004065af
lea eax, [ebp - 0x2b0]
push eax
push edi
jmp 0x402a94
push 0xfffffffffffffff0
mov edi, 0xfffffd66
call fcn.00402da6
mov esi, eax
push esi
mov dword [ebp - 0x40], esi
call fcn.00405fae
test eax, eax
jne 0x402972
push 0xffffffffffffffed
call fcn.00402da6
push esi
call fcn.00406133
push 2
push 0x40000000
push esi
call fcn.00406158
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402a3b
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], eax
je 0x402a23
mov eax, dword [0x42a274]
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 0x402a23
push ebx
call fcn.004035f8
push dword [ebp - 0x44]
push edi
call fcn.004035e2
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x402a0c
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.00403371
jmp 0x4029ff
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.00406113
add esi, dword [ebp - 0x3c]
cmp byte [esi], bl
jne 0x4029e7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x44]
push edi
push dword [ebp + 8]
call fcn.0040620a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 0x38], 0xffffffff
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x38]
call fcn.00403371
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
cmp edi, ebx
pop esi
jge 0x402a55
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4022f1
push ebx
call fcn.00402d84
mov edi, eax
pop ecx
cmp edi, dword [0x42a28c]
mov dword [ebp - 0x10], edx
jae 0x40292e
mov esi, edi
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x818
add esi, dword [0x42a288]
cmp eax, ebx
jl 0x402aa4
mov ecx, dword [esi + eax*4]
jne 0x402a9e
add esi, 0x18
push esi
push dword [ebp - 0xc]
call fcn.00406668
jmp case.0x40148a.66
push ecx
jmp 0x402ba1
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x402abe
push 1
call fcn.00402d84
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], eax
jmp 0x402ace
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.004066a5
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.00402d84
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x10], edx
jae 0x40292e
cmp dword [ebp - 0x24], ebx
je 0x402b25
cmp dword [ebp - 0x28], ebx
je 0x402b1a
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x40148a.66
push ebx
call fcn.004012e2
jmp 0x4028be
cmp dword [ebp - 0x28], ebx
je 0x402b3f
mov edx, dword [0x42a270]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40148a.66
mov ecx, dword [0x42a270]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0xc]
call fcn.004066a5
jmp case.0x40148a.66
mov eax, dword [ebp - 0x24]
sub eax, ebx
je 0x402bab
dec eax
jne case.0x40148a.66
push 2
call fcn.00402d84
push 4
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00402d84
pop ecx
mov dword [ebp - 0x10], edx
pop ecx
mov dword [ebp + 8], ebx
movzx ecx, al
shr eax, 0x18
cmp esi, ebx
jne 0x402b91
mov esi, 0x42a2e0
add eax, esi
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406113
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.004065af
jmp case.0x40148a.66
push 5
call fcn.00406a35
push 0x22
mov esi, eax
call fcn.00402da6
cmp esi, ebx
je 0x402bf6
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x402bf6
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
jl 0x402bf6
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.00406668
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 [0x42a2e8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4