Function at 0x10052450
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x10052486
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 1
jne 0x10052490
mov eax, 0xfffffffe
jmp 0x100528d9
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xd0
je 0x100524b0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xb0
je 0x100524b0
mov eax, 0xfffffceb
jmp 0x100528d9
mov ecx, dword [ebp + 0x10]
and ecx, 8
je 0x10052520
push 0x1005c410
push 0x102
mov edx, dword [ebp + 8]
push edx
call sub.Ltkrnu.dll_Ordinal_320
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100524de
mov eax, 0xfffffff3
jmp 0x100528d9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sym.Ltdisu.dll_L_CreatePaintPalette
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10052509
push 0x1005c43c
push 0x107
mov edx, dword [ebp - 0xc]
push edx
push 3
call sub.Ltkrnu.dll_Ordinal_197
push 0x1005c468
push 0x109
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.Ltkrnu.dll_Ordinal_332
mov edx, dword [ebp + 0x10]
and edx, 2
je 0x1005257c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sub.Ltkrnu.dll_Ordinal_25
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10052561
cmp dword [ebp - 0xc], 0
je 0x10052559
push 0x1005c494
push 0x112
mov eax, dword [ebp - 0xc]
push eax
call sub.Ltkrnu.dll_Ordinal_316
or eax, 0xffffffff
jmp 0x100528d9
cmp dword [ebp - 8], 0
je 0x1005257c
push 0x1005c4c0
push 0x116
mov ecx, dword [ebp - 8]
push ecx
push 3
call sub.Ltkrnu.dll_Ordinal_197
mov edx, dword [ebp + 0x10]
and edx, 0x10
je 0x10052674
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x44], 0
je 0x10052674
push 0xd0
lea ecx, [ebp - 0xe8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sym.Ltdisu.dll_L_CreateMaskFromBitmapRgn
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x100525ed
cmp dword [ebp - 8], 0
je 0x100525cc
push 0x1005c4ec
push 0x120
mov eax, dword [ebp - 8]
push eax
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 0xc], 0
je 0x100525e5
push 0x1005c518
push 0x122
mov ecx, dword [ebp - 0xc]
push ecx
call sub.Ltkrnu.dll_Ordinal_316
mov eax, dword [ebp - 4]
jmp 0x100528d9
push 0xd0
lea edx, [ebp - 0xe8]
push edx
call sub.Ltkrnu.dll_Ordinal_11
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1005264d
lea eax, [ebp - 0xe8]
push eax
call sub.Ltkrnu.dll_Ordinal_67
cmp dword [ebp - 8], 0
je 0x1005262c
push 0x1005c544
push 0x12a
mov ecx, dword [ebp - 8]
push ecx
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 0xc], 0
je 0x10052645
push 0x1005c570
push 0x12c
mov edx, dword [ebp - 0xc]
push edx
call sub.Ltkrnu.dll_Ordinal_316
or eax, 0xffffffff
jmp 0x100528d9
cmp dword [ebp - 0x18], 0
je 0x10052668
push 0x1005c59c
push 0x130
mov eax, dword [ebp - 0x18]
push eax
push 3
call sub.Ltkrnu.dll_Ordinal_197
lea ecx, [ebp - 0xe8]
push ecx
call sub.Ltkrnu.dll_Ordinal_67
mov edx, dword [ebp + 0x10]
and edx, 4
je 0x1005278c
push 0x1005c5c8
push 0x137
mov eax, dword [ebp + 8]
push eax
call sub.Ltkrnu.dll_Ordinal_320
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100526f1
cmp dword [ebp - 0xc], 0
je 0x100526b5
push 0x1005c5f4
push 0x13b
mov ecx, dword [ebp - 0xc]
push ecx
call sub.Ltkrnu.dll_Ordinal_316
cmp dword [ebp - 8], 0
je 0x100526ce
push 0x1005c620
push 0x13d
mov edx, dword [ebp - 8]
push edx
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 0x18], 0
je 0x100526e7
push 0x1005c64c
push 0x13f
mov eax, dword [ebp - 0x18]
push eax
call sub.Ltkrnu.dll_Ordinal_158
mov eax, 0xfffffff3
jmp 0x100528d9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sym.Ltdisu.dll_L_ConvertToDDB
mov dword [ebp - 0x14], eax
push 0x1005c678
push 0x143
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.Ltkrnu.dll_Ordinal_332
cmp dword [ebp - 0x14], 0
jne 0x10052771
cmp dword [ebp - 0x18], 0
je 0x10052737
push 0x1005c6a4
push 0x148
mov edx, dword [ebp - 0x18]
push edx
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 8], 0
je 0x10052750
push 0x1005c6d0
push 0x14a
mov eax, dword [ebp - 8]
push eax
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 0xc], 0
je 0x10052769
push 0x1005c6fc
push 0x14c
mov ecx, dword [ebp - 0xc]
push ecx
call sub.Ltkrnu.dll_Ordinal_316
or eax, 0xffffffff
jmp 0x100528d9
cmp dword [ebp - 0x14], 0
je 0x1005278c
push 0x1005c728
push 0x150
mov edx, dword [ebp - 0x14]
push edx
push 3
call sub.Ltkrnu.dll_Ordinal_197
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10052808
cmp dword [ebp - 0x18], 0
je 0x100527b3
push 0x1005c754
push 0x156
mov ecx, dword [ebp - 0x18]
push ecx
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 8], 0
je 0x100527cc
push 0x1005c780
push 0x158
mov edx, dword [ebp - 8]
push edx
call sub.Ltkrnu.dll_Ordinal_158
cmp dword [ebp - 0xc], 0
je 0x100527e5
push 0x1005c7ac
push 0x15a
mov eax, dword [ebp - 0xc]
push eax
call sub.Ltkrnu.dll_Ordinal_316
cmp dword [ebp - 0x14], 0
je 0x100527fe
push 0x1005c7d8
push 0x15c
mov ecx, dword [ebp - 0x14]
push ecx
call sub.Ltkrnu.dll_Ordinal_316
mov eax, 0xfffffff3
jmp 0x100528d9
mov edx, dword [ebp + 0x10]
and edx, 1
je 0x10052816
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [ebp - 0xc], 0
je 0x10052828
mov eax, dword [ebp - 0xc]
push eax
push 9
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 8], 0
je 0x1005283a
mov ecx, dword [ebp - 8]
push ecx
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 0x18], 0
je 0x10052850
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x10060d60]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 0x14], 0
je 0x10052862
mov ecx, dword [ebp - 0x14]
push ecx
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x18], 0
je 0x10052883
push 0x1005c804
push 0x176
mov edx, dword [ebp - 0x18]
push edx
push 3
call sub.Ltkrnu.dll_Ordinal_200
cmp dword [ebp - 8], 0
je 0x1005289e
push 0x1005c830
push 0x178
mov eax, dword [ebp - 8]
push eax
push 3
call sub.Ltkrnu.dll_Ordinal_200
cmp dword [ebp - 0xc], 0
je 0x100528b9
push 0x1005c85c
push 0x17a
mov ecx, dword [ebp - 0xc]
push ecx
push 3
call sub.Ltkrnu.dll_Ordinal_200
cmp dword [ebp - 0x14], 0
je 0x100528d4
push str..CommonClipBrd.cpp
push 0x17c
mov edx, dword [ebp - 0x14]
push edx
push 3
call sub.Ltkrnu.dll_Ordinal_200
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc