Function at 0x1021840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [0x104dce0]
mov dword [ebp - 0x28], eax
jmp 0x10218d9
mov dword [ebp - 0x10], 1
jmp 0x10218fd
mov dword [ebp - 0x10], 2
jmp 0x10218fd
mov dword [ebp - 0x10], 0
jmp 0x10218fd
mov dword [ebp - 0x10], 3
jmp 0x10218fd
push 0x2be
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Illegal_case
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10218fd
cmp dword [ebp - 0x28], 3
ja case.default.0x10218e6
mov eax, dword [ebp - 0x28]
jmp dword [eax*4 + 0x10218ed]
mov eax, dword [0x10562e0]
mov dword [ebp - 0x2c], eax
jmp 0x1021bc8
push 0
call fcn.01039457
test eax, eax
jne 0x1021938
push 0x40
push str.Cl32Test___ansi
push str.Paste_Link_Not_Supported_for_this_Format
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1021cb0
mov eax, dword [ebp + 8]
push eax
push 1
call fcn.0102b33b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10219ee
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x1021977
jmp 0x1021c7b
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x1001958
call fcn.010391d1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10219ee
push 0x2da
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
mov eax, dword [0x1056d98]
push eax
mov eax, dword [0x104ed80]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.CreateLinkFromClip:
mov eax, dword [0x104ed80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x104ed80]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0102e6d7
jmp 0x1021c7b
jmp 0x1021beb
push 0
call fcn.010393fa
test eax, eax
jne 0x1021a21
push 0x40
push str.Cl32Test___ansi
push str.Paste_Not_Supported_for_this_Format
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1021cb0
mov eax, dword [ebp + 8]
push eax
push 1
call fcn.0102b33b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1021ad7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x1021a60
jmp 0x1021c7b
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x1001958
call fcn.0103913c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1021ad7
push 0x2f7
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..info.c
mov eax, dword [0x1056d98]
push eax
mov eax, dword [0x104ed80]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.CreateFromClip:
mov eax, dword [0x104ed80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x104ed80]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0102e6d7
jmp 0x1021c7b
jmp 0x1021beb
push 0
call fcn.010393fa
test eax, eax
jne 0x1021b0a
push 0x40
push str.Cl32Test___ansi
push str.Cant_Create_Static_Object
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1021cb0
mov eax, dword [ebp + 8]
push eax
push 1
call fcn.0102b33b
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xfc], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x1021b4c
jmp 0x1021c7b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_OleGetClipboard]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1021b6d
cmp dword [ebp - 0x20], 0
jne 0x1021b72
jmp 0x1021c7b
cmp dword [0x104f67c], 0
je 0x1021b8b
mov dword [ebp - 0x1c], 0
jmp 0x1021b92
mov dword [ebp - 0x1c], 0x104f668
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.010227e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1021bb9
jmp 0x1021c7b
jmp 0x1021beb
cmp dword [ebp - 0x2c], 1
je 0x10219f3
cmp dword [ebp - 0x2c], 2
je 0x102190a
cmp dword [ebp - 0x2c], 3
je 0x1021adc
jmp 0x1021c7b
mov esi, 0x104f668
mov edi, dword [ebp + 0xc]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
add edi, 0x68
mov esi, dword [ebp + 0xc]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
push eax
call fcn.010141b0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0x80000000
mov ecx, 0x80000000
and ecx, 0x80000000
cmp eax, ecx
jne 0x1021c36
jmp 0x1021c7b
cmp dword [0x104dc38], 0
je 0x1021c5b
push 0
push 0x10f
push 0x111
call fcn.01021290
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 4]
push eax
call fcn.01020ab0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0100e4b0
mov eax, 1
jmp 0x1021cb0
mov eax, dword [ebp - 8]
push eax
call fcn.0102b959
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1021c9f
mov eax, dword [ebp - 0xc]
push eax
call fcn.0102b494
jmp 0x1021ca9
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x1021cb0
pop edi
pop esi
pop ebx
leave
ret 8