Function at 0x42c620
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598412
mov eax, dword fs:[0]
push eax
sub esp, 0x328
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 - 0x2dc], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2b8], ebx
test esi, esi
jne 0x42c673
mov eax, 0x80070057
jmp 0x42d39f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2e8], eax
mov eax, dword [esi + 0x104]
push ecx
mov ecx, eax
mov dword [ebp - 0x2f8], eax
call fcn.0044d300
mov dword [ebp - 4], 0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
push dword [ebp - 0x2c8]
call fcn.0042bc30
push eax
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 2
call fcn.0042b160
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2a0], 8
jb 0x42c702
push dword [ebp - 0x2b4]
call fcn.00551995
add esp, 4
mov ecx, dword [0x643528]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2d0], 0
test ecx, ecx
je 0x42c73a
mov dword [0x643528], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x64352c]
test ecx, ecx
je 0x42c754
mov dword [0x64352c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.0050acc0
mov eax, dword [0x640f9c]
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2ec], 0
test eax, eax
je 0x42c7d6
push 0x5b5504
lea ecx, [ebp - 0x2d4]
call fcn.0040c2d0
mov esi, eax
mov byte [ebp - 4], 3
mov ebx, 1
push dword [ebp - 0x2c8]
mov dword [ebp - 0x2b8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42c7c1
push 0x80004005
call fcn.0040c390
push eax
push dword [esi]
call fcn.00551d79
add esp, 8
mov byte [ebp - 0x2b9], bl
test eax, eax
je 0x42c7dd
mov byte [ebp - 0x2b9], 0
or esi, 0xffffffff
mov dword [ebp - 4], 1
test bl, 1
je 0x42c80b
mov edx, dword [ebp - 0x2d4]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c80b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2b9], 0
je 0x42c97b
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42c834
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c4], esi
mov byte [ebp - 4], 4
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42c864
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2cc], edi
mov byte [ebp - 4], 5
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42c8a2
push 0x104
lea ecx, [ebp - 0x2cc]
call fcn.0040c110
mov edi, dword [ebp - 0x2cc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42c8cc
push 0x104
lea ecx, [ebp - 0x2c4]
call fcn.0040c110
mov esi, dword [ebp - 0x2c4]
push ecx
mov ecx, dword [ebp - 0x2c8]
mov edx, esi
push edi
call fcn.0050b560
push dword [esi - 8]
push esi
call fcn.00551cd2
add esp, 0x10
test eax, eax
js 0x42ca2a
cmp eax, dword [esi - 8]
jg 0x42ca2a
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 0x42ca2a
cmp eax, dword [edi - 8]
jg 0x42ca2a
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x2c4]
call fcn.004265e0
add edi, 0xfffffff0
mov dword [ebp - 0x2ec], eax
or esi, 0xffffffff
mov byte [ebp - 4], 4
mov edx, esi
lea ecx, [edi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c958
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [ebp - 0x2c4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c97b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x2c0], 0
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 6
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov ecx, dword [ebp - 0x2c8]
lea ecx, [ecx - 0x10]
call fcn.0040c3c0
lea edi, [eax + 0x10]
mov dword [ebp - 0x2d8], edi
mov byte [ebp - 4], 7
cmp dword [edi - 4], 1
jle 0x42c9cb
push dword [edi - 0xc]
lea ecx, [ebp - 0x2d8]
call fcn.0040c050
mov edi, dword [ebp - 0x2d8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [edi - 8]
push edi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x42ca2a
cmp eax, dword [edi - 8]
jg 0x42ca2a
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x2b8]
call fcn.004fbab0
mov ebx, eax
mov edx, ebx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2d8]
call fcn.00514120
test eax, eax
je 0x42ca34
lea edx, [ebp - 0x2d8]
mov ecx, ebx
call fcn.00514120
test eax, eax
je 0x42ca34
mov ebx, 1
jmp 0x42ca36
push 0x80070057
call fcn.0040c390
xor ebx, ebx
mov byte [ebp - 4], 7
mov ecx, esi
mov edx, dword [ebp - 0x2b8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ca59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x42cb44
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ebx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2cc], 0
cmp dword [edi - 4], 1
jle 0x42caa2
push dword [edi - 0xc]
lea ecx, [ebp - 0x2d8]
call fcn.0040c050
mov edi, dword [ebp - 0x2d8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x2cc]
push 0
push ecx
push 0
push edi
push 0
push 0
push ebx
call dword [eax + 0xc]
push dword [edi - 8]
push edi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x42ca2a
cmp eax, dword [edi - 8]
jg 0x42ca2a
mov dword [edi - 0xc], eax
lea edx, [ebp - 0x2d4]
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0x2c0]
push edx
push 0x5abb68
push 0
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2d4], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, dword [ebp - 0x2d4]
test ebx, ebx
je 0x42cb32
cmp dword [ebp - 0x2c0], ebx
je 0x42cb32
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c0], ebx
test eax, eax
je 0x42cb32
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2b8]
push dword [ebp - 0x2cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0
push 0
lea eax, [ebp - 0x2f0]
push eax
push 0
push dword [ebp - 0x2c8]
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
cmp dword [ebp - 0x2f0], 0
jne 0x42cb6d
mov ecx, esi
jmp 0x42d274
mov esi, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2e4]
push 0
push eax
push 0
push dword [ebp - 0x2c8]
mov ebx, dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0
push 0
push esi
call dword [ebx + 0xc]
cmp dword [ebp - 0x2e4], 0
jne 0x42cbb0
push dword [ebp - 0x2f0]
call dword [sym.imp.SHELL32.dll_ILClone]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2c4], 0
lea edx, [ebp - 0x2c4]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2c0]
push edx
push 0
push 0x5abb58
mov ecx, dword [eax]
lea edx, [ebp - 0x2e4]
push edx
push 1
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x42d25b
mov eax, dword [ebp - 0x2c4]
lea edx, [ebp - 0x2d0]
push edx
push 0x5abbc8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x42cc2c
mov eax, dword [0x64352c]
mov esi, dword [ebp - 0x2d0]
cmp eax, esi
je 0x42cc79
test esi, esi
je 0x42cc24
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x64352c]
mov dword [0x64352c], esi
jmp 0x42cc6f
mov eax, dword [ebp - 0x2c4]
lea edx, [ebp - 0x2d0]
push edx
push 0x5abb88
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x42d25b
mov eax, dword [0x643528]
mov esi, dword [ebp - 0x2d0]
cmp eax, esi
je 0x42cc79
test esi, esi
je 0x42cc69
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x643528]
mov dword [0x643528], esi
test eax, eax
je 0x42cc79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x2f8]
xor esi, esi
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 8
mov ecx, 0x10
cmovne esi, ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [ebp - 0x2d0]
mov ebx, dword [ebp - 0x2dc]
push esi
push 0x2710
push 1
push 0
mov dword [ebx + 0x28], eax
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
js 0x42d25b
lea esi, [ebx + 0x634]
mov dword [ebp - 0x2cc], 0
mov ecx, esi
mov dword [ebp - 0x308], esi
call fcn.00429180
push esi
lea eax, [ebp - 0x2cc]
push eax
push dword [ebx + 0x28]
lea eax, [ebp - 0x304]
push eax
push dword [ebx + 8]
call fcn.00431140
mov edi, dword [ebp - 0x2dc]
xor esi, esi
or ebx, 0xffffffff
cmp dword [ebp - 0x2e0], 0
je 0x42cd12
mov eax, dword [esi + 0x5b585c]
jmp 0x42cd18
mov eax, dword [esi + 0x5b58ec]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0040c2d0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
push eax
push dword [edi + 0x28]
call fcn.0042e5a0
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x2b8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42cd5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, 0xc
jb 0x42cd01
mov esi, dword [ebp - 0x2dc]
mov ecx, esi
push dword [ebp - 0x2f4]
push dword [esi + 0x28]
call fcn.00430900
push dword [esi + 0x28]
call fcn.0042e6b0
cmp dword [0x643528], 0
mov edi, dword [ebp - 0x2d8]
jne 0x42cd98
cmp dword [0x64352c], 0
je 0x42cdaf
mov ebx, dword [ebp - 0x2e8]
push esi
push 1
push 0x42c600
push ebx
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
jmp 0x42cdb5
mov ebx, dword [ebp - 0x2e8]
push 0
push ebx
push 0
push dword [ebp - 0x30c]
push dword [ebp - 0x310]
push 0x102
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ebx, eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x42cef8
push 0
push 0x104
lea ecx, [ebp - 0x29c]
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_GetMenuStringW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x29c]
push 0x5bda4c
push eax
call esi
test eax, eax
jne 0x42ce3e
push str.Cut
lea eax, [ebp - 0x29c]
push eax
call esi
test eax, eax
jne 0x42ce37
push str.jR_aR_
lea eax, [ebp - 0x29c]
push eax
call esi
test eax, eax
je 0x42cef8
mov esi, 1
jmp 0x42ce40
xor esi, esi
push dword [ebp - 0x2e8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42ce5c
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x42cef8
push str.SetAllItemState
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a8], 2
call fcn.0040c2d0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xb
push eax
push ecx
mov ecx, dword [ebp - 0x2b8]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.0040c3c0
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x643590]
call fcn.0043bcf0
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edx, dword [ebp - 0x2b8]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42cee4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2f4]
push 0
push 2
mov eax, dword [ecx]
call dword [eax + 0x148]
jmp 0x42cefb
or esi, 0xffffffff
cmp dword [0x643528], 0
jne 0x42cf0d
cmp dword [0x64352c], 0
je 0x42cf20
push 1
push 0x42c600
push dword [ebp - 0x2e8]
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
cmp dword [ebp - 0x2ec], 0
je 0x42d051
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 - 0x2dc]
push ebx
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_GetMenuStringW]
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.0040c2d0
mov byte [ebp - 4], 0xc
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42cf93
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b8], esi
mov ecx, 0x2711
mov byte [ebp - 4], 0xd
call fcn.0040bd90
test eax, eax
je 0x42cfcc
push 0x2711
push eax
lea ecx, [ebp - 0x2b8]
call fcn.0040bf20
mov esi, dword [ebp - 0x2b8]
xor eax, eax
mov byte [ebp - 4], 0xe
test esi, esi
setne al
test eax, eax
jne 0x42cfe5
push 0x80004005
call fcn.0040c390
push esi
push dword [ebp - 0x2d4]
call fcn.00551d79
add esp, 8
mov byte [ebp - 4], 0xc
test eax, eax
lea edx, [esi - 0x10]
lea eax, [edx + 0xc]
sete byte [ebp - 0x2b9]
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d01d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov byte [ebp - 4], 9
cmp byte [ebp - 0x2b9], al
mov ecx, esi
mov edx, dword [ebp - 0x2d4]
setne al
add edx, 0xfffffff0
mov dword [ebp - 0x2ec], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d051
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 1
jl 0x42d243
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
jg 0x42d09a
mov ecx, dword [ebp - 0x2d0]
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]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x2f4]
mov byte [ebp - 4], 0xf
push ecx
mov dword [ebp - 0x2b8], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00409df0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x42d0f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
sub esp, 0xc
lea eax, [ebp - 0x2a8]
mov ecx, esp
push eax
call fcn.00409da0
push ebx
lea eax, [ebp - 0x94]
push eax
call fcn.0042f0c0
test eax, eax
jne 0x42d238
test ebx, ebx
je 0x42d238
cmp ebx, 0x2af8
je 0x42d238
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x32c], eax
lea eax, [ebx - 1]
movzx eax, ax
mov dword [ebp - 0x328], eax
mov eax, 1
mov dword [ebp - 0x334], 0x24
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
cmp ebx, 0x53
jne 0x42d1c3
lea eax, [ebp - 0x2c8]
push eax
push ecx
call fcn.00431cf0
add esp, 4
mov ecx, eax
call fcn.00414de0
test eax, eax
jne 0x42d1be
mov ecx, dword [ebp - 0x2c8]
call fcn.00426700
jmp 0x42d1c3
mov eax, 1
cmp dword [ebp - 0x2ec], 0
jne 0x42d238
test eax, eax
js 0x42d1d5
cmp eax, 1
jne 0x42d238
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e0], ebx
mov ebx, dword [ebp - 0x308]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.00431ca0
mov ecx, dword [ebp - 0x2cc]
test ecx, ecx
je 0x42d225
mov eax, dword [ebp - 0x2b8]
cmp eax, dword [ebx]
je 0x42d225
lea edx, [ebp - 0x304]
push edx
push ecx
mov ecx, dword [ebp - 0x2dc]
push dword [ecx + 8]
push dword [eax + 0x14]
call fcn.00431560
jmp 0x42d238
mov eax, dword [ebp - 0x2d0]
lea edx, [ebp - 0x334]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea ecx, [ebp - 0x2a8]
call fcn.0040a5c0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c4]
test eax, eax
je 0x42d257
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, esi
jmp 0x42d274
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c4]
test eax, eax
je 0x42d26f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or ebx, 0xffffffff
mov ecx, ebx
add edi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d28f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x42d2a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2e4]
mov esi, dword [sym.imp.SHELL32.dll_ILFree]
test eax, eax
je 0x42d2b6
push eax
call esi
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x42d2c3
push eax
call esi
mov ecx, dword [0x643528]
test ecx, ecx
je 0x42d2dd
mov dword [0x643528], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x64352c]
test ecx, ecx
je 0x42d2f7
mov dword [0x64352c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x2ec], 0
je 0x42d31a
mov ecx, dword [ebp - 0x2c8]
call fcn.00426700
test eax, eax
jns 0x42d31a
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x2dc]
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ebx, dword [ebp - 0x304]
test ebx, ebx
je 0x42d373
mov edi, dword [ebp - 0x300]
mov esi, ebx
cmp ebx, edi
je 0x42d36a
nop
cmp dword [esi + 0x14], 8
jb 0x42d350
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, edi
jne 0x42d340
push ebx
call fcn.00551995
add esp, 4
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [ebp - 0x2c8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d39a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 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