Function at 0x42d3d0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598528
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x300], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], edx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp eax, 2
jae 0x42d434
mov eax, 0x80070057
jmp 0x42e57c
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov edx, dword [0x643528]
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x2e8], 0
test edx, edx
je 0x42d468
mov dword [0x643528], 0
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov ecx, dword [0x64352c]
test ecx, ecx
je 0x42d482
mov dword [0x64352c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.0050acc0
mov eax, dword [0x640f9c]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x310], edi
mov dword [ebp - 0x30c], edi
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x2ec], edi
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x2dc], ebx
mov ecx, dword [ebp - 0x324]
mov byte [ebp - 4], 3
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, ecx
je 0x42dc75
mov edi, edi
mov edi, dword [eax]
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x304], edi
test edi, edi
je 0x42d548
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x104]
push eax
call fcn.0044d300
mov byte [ebp - 4], 5
xor eax, eax
mov ebx, dword [ebp - 0x334]
mov dword [ebp - 0x2a0], 7
mov dword [ebp - 0x2a4], 0
mov word [ebp - 0x2b4], ax
cmp word [ebx], ax
jne 0x42d58e
xor ecx, ecx
jmp 0x42d5a2
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d593
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2b4]
call fcn.0042bb30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2e0]
cmp eax, ecx
jae 0x42d67a
cmp esi, eax
ja 0x42d67a
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0x2e0]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebp - 0x2dc]
jne 0x42d604
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.0042b3f0
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x2e4]
lea eax, [esi + esi*2]
lea esi, [edx + eax*8]
test ecx, ecx
je 0x42d71d
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [esi + 0x14], 8
jae 0x42d64c
mov eax, dword [esi + 0x10]
inc eax
je 0x42d656
add eax, eax
push eax
push esi
push ecx
call fcn.00551fe0
mov ecx, dword [ebp - 0x2e0]
add esp, 0xc
jmp 0x42d656
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x42d71d
cmp ecx, dword [ebp - 0x2dc]
jne 0x42d694
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.0042b3f0
mov ecx, dword [ebp - 0x2e0]
test ecx, ecx
je 0x42d71d
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [ebp - 0x2a0], 8
jae 0x42d6dc
mov eax, dword [ebp - 0x2a4]
inc eax
je 0x42d6ee
add eax, eax
push eax
lea eax, [ebp - 0x2b4]
push eax
push ecx
call fcn.00551fe0
mov ecx, dword [ebp - 0x2e0]
add esp, 0xc
jmp 0x42d6ee
mov eax, dword [ebp - 0x2b4]
mov dword [ecx], eax
mov dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2a4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [ebp - 0x2a0], 7
mov dword [ebp - 0x2a4], 0
mov word [ebp - 0x2b4], ax
add ecx, 0x18
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2a0], 8
mov dword [ebp - 0x2e0], ecx
jb 0x42d741
push dword [ebp - 0x2b4]
call fcn.00551995
add esp, 4
cmp dword [ebp - 0x2d8], 0
je 0x42d7a1
push 0x5b5504
lea ecx, [ebp - 0x330]
call fcn.0040c2d0
mov esi, eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x328]
or eax, 1
push ebx
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e1e1
push eax
push dword [esi]
call fcn.00551d79
add esp, 8
mov byte [ebp - 0x2c1], 1
test eax, eax
je 0x42d7a8
mov byte [ebp - 0x2c1], 0
mov dword [ebp - 4], 5
or esi, 0xffffffff
mov eax, dword [ebp - 0x328]
test al, 1
je 0x42d7e4
mov edx, dword [ebp - 0x330]
and eax, 0xfffffffe
add edx, 0xfffffff0
mov dword [ebp - 0x328], eax
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d7e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2c1], 0
je 0x42d946
call fcn.0040bce0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e1e1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c8], esi
mov byte [ebp - 4], 8
call fcn.0040bce0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e1e1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2d4], edi
mov byte [ebp - 4], 9
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42d86b
push 0x104
lea ecx, [ebp - 0x2d4]
call fcn.0040c110
mov edi, dword [ebp - 0x2d4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42d895
push 0x104
lea ecx, [ebp - 0x2c8]
call fcn.0040c110
mov esi, dword [ebp - 0x2c8]
push ecx
push edi
mov edx, esi
mov ecx, ebx
call fcn.0050b560
push dword [esi - 8]
push esi
call fcn.00551cd2
add esp, 0x10
test eax, eax
js 0x42dd1c
cmp eax, dword [esi - 8]
jg 0x42dd1c
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [edi - 8]
push edi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x42dd1c
cmp eax, dword [edi - 8]
jg 0x42dd1c
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x2c8]
call fcn.004265e0
add edi, 0xfffffff0
mov dword [ebp - 0x2d4], eax
or esi, 0xffffffff
mov byte [ebp - 4], 8
mov edx, esi
lea ecx, [edi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d91d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0x2c8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d940
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x2cc]
push 0
push 0
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x2f8], 0
push eax
push 0
push ebx
mov dword [ebp - 0x2fc], 0
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
cmp dword [ebp - 0x2f8], 0
jne 0x42d998
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dc44
mov ecx, dword [ebx]
push ebx
jmp 0x42dc3f
mov esi, dword [ebp - 0x2ec]
push 0
mov eax, dword [esi]
add eax, 0xc
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2fc]
push eax
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov eax, dword [ebp - 0x2cc]
push 0
push 0
push esi
call dword [eax]
cmp dword [ebp - 0x2fc], 0
jne 0x42d9e4
push dword [ebp - 0x2f8]
call dword [sym.imp.SHELL32.dll_ILClone]
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebx - 0x10]
add ebx, 0xfffffff0
mov dword [ebp - 0x2cc], ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x42da11
cmp ecx, dword [ebx]
jne 0x42da11
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x42da4d
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
je 0x42e096
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00551ae9
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x2c8], esi
mov byte [ebp - 4], 0xa
cmp dword [esi - 4], 1
jle 0x42da74
push dword [esi - 0xc]
lea ecx, [ebp - 0x2c8]
call fcn.0040c050
mov esi, dword [ebp - 0x2c8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x42dd1c
cmp eax, dword [esi - 8]
jg 0x42dd1c
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x32c]
call fcn.004fbab0
mov ebx, eax
mov edx, ebx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c8]
call fcn.00514120
test eax, eax
je 0x42dadb
lea edx, [ebp - 0x2c8]
mov ecx, ebx
call fcn.00514120
test eax, eax
je 0x42dadb
mov eax, 1
jmp 0x42dadd
xor eax, eax
test eax, eax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x32c]
sete bl
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42db06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x42dc04
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0x2f8]
cmp eax, ecx
jae 0x42db5a
mov edx, eax
mov eax, dword [ebp - 0x31c]
cmp eax, edx
ja 0x42db5a
mov ebx, edx
sub ebx, eax
sar ebx, 2
cmp ecx, dword [ebp - 0x314]
jne 0x42db51
push ecx
lea ecx, [ebp - 0x31c]
call fcn.0040a4b0
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
test ecx, ecx
je 0x42db80
mov eax, dword [eax + ebx*4]
jmp 0x42db7e
cmp ecx, dword [ebp - 0x314]
jne 0x42db74
push ecx
lea ecx, [ebp - 0x31c]
call fcn.0040a4b0
mov ecx, dword [ebp - 0x318]
test ecx, ecx
je 0x42db80
mov eax, dword [ebp - 0x2f8]
mov dword [ecx], eax
add ecx, 4
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x318], ecx
mov ecx, dword [ebp - 0x30c]
cmp eax, ecx
jae 0x42dbd5
mov edx, eax
mov eax, dword [ebp - 0x310]
cmp eax, edx
ja 0x42dbd5
mov ebx, edx
sub ebx, eax
sar ebx, 2
cmp ecx, dword [ebp - 0x308]
jne 0x42dbcc
push ecx
lea ecx, [ebp - 0x310]
call fcn.0040a4b0
mov ecx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x310]
test ecx, ecx
je 0x42dbfb
mov eax, dword [eax + ebx*4]
jmp 0x42dbf9
cmp ecx, dword [ebp - 0x308]
jne 0x42dbef
push ecx
lea ecx, [ebp - 0x310]
call fcn.0040a4b0
mov ecx, dword [ebp - 0x30c]
test ecx, ecx
je 0x42dbfb
mov eax, dword [ebp - 0x2fc]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x30c], ecx
add esi, 0xfffffff0
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dc24
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, ebx
mov edx, dword [ebp - 0x2cc]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dc44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2e4]
add eax, 4
mov dword [ebp - 0x2d0], eax
cmp eax, dword [ebp - 0x2f4]
jne 0x42d530
mov edi, dword [ebp - 0x310]
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 4], 0xc
lea ebx, [ebp - 0x2f0]
mov eax, dword [ebp - 0x30c]
push ebx
push 0
sub eax, edi
push 0x5abb58
mov edx, eax
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x2ec]
push edi
sar edx, 2
push edx
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x28]
mov ebx, dword [ebp - 0x2e0]
test eax, eax
jns 0x42dd26
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x42dcd2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x42e423
mov edi, dword [ebp - 0x2e4]
cmp edi, ebx
je 0x42dd0e
cmp dword [esi + 0x14], 8
jb 0x42dcf4
push dword [esi]
call fcn.00551995
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x42dce4
push edi
call fcn.00551995
add esp, 4
jmp 0x42e423
push 0x80070057
call fcn.0040c390
mov eax, dword [ebp - 0x2f0]
lea edx, [ebp - 0x2e8]
push edx
push 0x5abbc8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x42dd67
mov eax, dword [0x64352c]
mov esi, dword [ebp - 0x2e8]
cmp eax, esi
je 0x42ddb4
test esi, esi
je 0x42dd5f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x64352c]
mov dword [0x64352c], esi
jmp 0x42ddaa
mov eax, dword [ebp - 0x2f0]
lea edx, [ebp - 0x2e8]
push edx
push 0x5abb88
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x42e3f2
mov eax, dword [0x643528]
mov esi, dword [ebp - 0x2e8]
cmp eax, esi
je 0x42ddb4
test esi, esi
je 0x42dda4
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x643528]
mov dword [0x643528], esi
test eax, eax
je 0x42ddb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [ebp - 0x2e8]
mov esi, dword [ebp - 0x300]
push 0
push 0x2710
push 1
push 0
mov dword [esi + 0x28], eax
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jns 0x42de3f
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x42ddf3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x2e4]
test edi, edi
je 0x42e423
mov esi, edi
cmp edi, ebx
je 0x42de31
cmp dword [esi + 0x14], 8
jb 0x42de17
push dword [esi]
call fcn.00551995
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x42de07
push edi
call fcn.00551995
add esp, 4
jmp 0x42e423
mov eax, dword [esi + 0x634]
lea ebx, [esi + 0x634]
mov dword [ebp - 0x2cc], 0
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x42de7d
push dword [esi + 8]
mov ecx, ebx
call fcn.00429250
mov esi, dword [esi]
push edi
call fcn.00551995
add esp, 4
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x42de60
mov eax, dword [ebx]
push ebx
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
lea eax, [ebp - 0x2cc]
mov dword [ebx + 4], 0
mov ebx, dword [ebp - 0x300]
push eax
lea eax, [ebp - 0x2e4]
push dword [ebx + 0x28]
push eax
push dword [ebx + 8]
call fcn.00431140
xor esi, esi
or edi, 0xffffffff
cmp dword [ebp - 0x2d8], 0
je 0x42dec8
mov eax, dword [esi + 0x5b585c]
jmp 0x42dece
mov eax, dword [esi + 0x5b58ec]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0040c2d0
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0xd
push eax
push dword [ebx + 0x28]
call fcn.0042e5a0
mov byte [ebp - 4], 0xc
mov ecx, edi
mov edx, dword [ebp - 0x2d0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42df10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, 0xc
jb 0x42deb7
cmp dword [ebx + 0x28], 0
je 0x42df2b
push dword [ebp - 0x324]
mov ecx, ebx
call fcn.00430b60
push dword [ebx + 0x28]
call fcn.0042e6b0
cmp dword [0x643528], 0
jne 0x42df45
cmp dword [0x64352c], 0
je 0x42df5c
mov esi, dword [ebp - 0x320]
push ebx
push 1
push 0x42c600
push esi
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
jmp 0x42df62
mov esi, dword [ebp - 0x320]
push 0
push esi
push 0
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
push 0x102
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov esi, dword [sym.imp.USER32.dll_GetMenuStringW]
mov ebx, eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x2d0], ebx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x42e148
push 0
push 0x104
lea ecx, [ebp - 0x29c]
push ecx
push ebx
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x29c]
push 0x5bda4c
push eax
call esi
test eax, eax
jne 0x42dff9
push str.Cut
lea eax, [ebp - 0x29c]
push eax
call esi
test eax, eax
jne 0x42dff2
push str.jR_aR_
lea eax, [ebp - 0x29c]
push eax
call esi
test eax, eax
je 0x42e142
mov esi, 1
jmp 0x42dffb
xor esi, esi
push dword [ebp - 0x320]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42e017
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x42e142
push str.SetAllItemState
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a8], 2
call fcn.0040c2d0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2a8]
mov esi, dword [ebp - 0x2d8]
push eax
push ecx
mov ebx, esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x42e087
cmp ecx, dword [esi - 0x10]
jne 0x42e087
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x42e0c1
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x42e09b
call fcn.0040c3b0
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00551ae9
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov ecx, dword [0x643590]
call fcn.0043bcf0
mov byte [ebp - 4], 0xc
or ecx, 0xffffffff
mov edx, dword [ebp - 0x2d8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e0f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x324]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
cmp edi, ebx
je 0x42e139
mov esi, dword [edi]
mov dword [ebp - 0x304], esi
test esi, esi
je 0x42e116
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov ecx, esi
mov eax, dword [esi]
push 0
push 2
call dword [eax + 0x148]
mov byte [ebp - 4], 0xc
mov eax, dword [esi]
push esi
call dword [eax + 8]
add edi, 4
cmp edi, ebx
jne 0x42e104
mov ebx, dword [ebp - 0x2d0]
or edi, 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetMenuStringW]
cmp dword [0x643528], 0
jne 0x42e15a
cmp dword [0x64352c], 0
je 0x42e16d
push 1
push 0x42c600
push dword [ebp - 0x320]
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
cmp dword [ebp - 0x2d4], 0
je 0x42e258
push 0x208
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.00559380
add esp, 0xc
lea eax, [ebp - 0x29c]
push 0
push 0x104
push eax
mov eax, dword [ebp - 0x300]
push ebx
push dword [eax + 0x28]
call esi
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.0040c2d0
push 0x2711
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0x10
call fcn.0040c2d0
mov byte [ebp - 4], 0x11
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42e1eb
push 0x80004005
call fcn.0040c390
push ecx
push dword [ebp - 0x2d8]
call fcn.00551d79
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2f4]
test eax, eax
mov ecx, edi
sete byte [ebp - 0x2c1]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e226
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x2c1], al
mov edx, dword [ebp - 0x2d8]
setne al
add edx, 0xfffffff0
mov dword [ebp - 0x2d4], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x42e258
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 1
jb 0x42e3bd
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x92]
push eax
call fcn.00559380
add esp, 0xc
cmp ebx, 0x2710
ja 0x42e2a1
mov ecx, dword [ebp - 0x2e8]
lea eax, [ebp - 0x94]
push 0x40
push eax
push 0
mov edx, dword [ecx]
lea eax, [ebx - 1]
push 4
push eax
push ecx
call dword [edx + 0x14]
sub esp, 0xc
mov ecx, esp
push dword [ebp - 0x324]
call fcn.00409da0
push ebx
lea eax, [ebp - 0x94]
push eax
call fcn.0042f0c0
test eax, eax
jne 0x42e3bd
test ebx, ebx
je 0x42e3bd
cmp dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x2b8], eax
lea eax, [ebx - 1]
movzx eax, ax
mov dword [ebp - 0x2c0], 0x24
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 1
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
jne 0x42e3bd
mov esi, dword [ebp - 0x300]
mov eax, dword [esi + 0x634]
mov edx, eax
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x42e364
lea esp, [esp]
cmp dword [ecx + 0x10], ebx
jae 0x42e35a
mov ecx, dword [ecx + 8]
jmp 0x42e35e
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x42e350
cmp edx, eax
je 0x42e373
mov dword [ebp - 0x2f4], edx
cmp ebx, dword [edx + 0x10]
jae 0x42e379
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2f4]
mov eax, dword [eax]
test ecx, ecx
je 0x42e3aa
cmp eax, dword [esi + 0x634]
je 0x42e3aa
lea edx, [ebp - 0x2e4]
push edx
push ecx
push dword [esi + 8]
mov ecx, esi
push dword [eax + 0x14]
call fcn.00431560
jmp 0x42e3bd
mov eax, dword [ebp - 0x2e8]
lea edx, [ebp - 0x2c0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x42e3d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x2e4]
test ebx, ebx
je 0x42e423
push dword [ebp - 0x304]
mov edx, dword [ebp - 0x2e0]
push ecx
mov ecx, ebx
call fcn.0042b540
push ebx
jmp 0x42e41b
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x42e406
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x42e423
push dword [ebp - 0x304]
mov edx, ebx
push ecx
mov ecx, esi
call fcn.0042b540
push esi
call fcn.00551995
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2ec]
test eax, eax
je 0x42e437
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x31c]
xor edx, edx
mov edi, dword [ebp - 0x318]
xor ebx, ebx
mov eax, dword [sym.imp.SHELL32.dll_ILFree]
sub edi, ecx
add edi, 3
mov esi, ecx
shr edi, 2
cmp ecx, dword [ebp - 0x318]
cmova edi, edx
test edi, edi
je 0x42e47a
push dword [esi]
call eax
mov eax, dword [sym.imp.SHELL32.dll_ILFree]
lea esi, [esi + 4]
inc ebx
cmp ebx, edi
jne 0x42e463
mov ecx, dword [ebp - 0x31c]
mov ebx, dword [ebp - 0x32c]
xor edx, edx
add ebx, 3
mov dword [ebp - 0x318], ecx
mov ecx, dword [ebp - 0x310]
xor edi, edi
shr ebx, 2
mov esi, ecx
cmp ecx, dword [ebp - 0x30c]
cmova ebx, edx
test ebx, ebx
je 0x42e4bc
push dword [esi]
call eax
mov eax, dword [sym.imp.SHELL32.dll_ILFree]
lea esi, [esi + 4]
inc edi
cmp edi, ebx
jne 0x42e4a5
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x30c], ecx
mov ecx, dword [0x643528]
test ecx, ecx
je 0x42e4dc
mov dword [0x643528], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x64352c]
test ecx, ecx
je 0x42e4f6
mov dword [0x64352c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x2d4], 0
je 0x42e542
mov eax, dword [ebp - 0x324]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
cmp edi, ebx
je 0x42e542
mov edi, edi
mov esi, dword [edi]
mov dword [ebp - 0x304], esi
test esi, esi
je 0x42e522
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov ecx, dword [esi + 0x104]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [esi]
push esi
call dword [eax + 8]
add edi, 4
cmp edi, ebx
jne 0x42e510
mov eax, dword [ebp - 0x300]
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x42e564
push eax
call fcn.00551995
add esp, 4
mov ecx, dword [ebp - 0x31c]
test ecx, ecx
je 0x42e577
push ecx
call fcn.00551995
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 4