Function at 0x401bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x50]
mov dword [esp], str.user32.dll
mov dword [esp + 0x2c], eax
call sub.KERNEL32.dll_GetModuleHandleA
mov ebp, eax
mov eax, dword [eax + 0x3c]
sub esp, 4
mov esi, dword [ebp + eax + 0x78]
add esi, ebp
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
test ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x20]
je 0x401ea0
xor ebx, ebx
lea edi, [ebp + eax]
jmp 0x401c0c
add ebx, 1
cmp ebx, dword [esi + 0x18]
jae 0x401db4
mov eax, dword [edi + ebx*4]
mov dword [esp], str.OpenClipboard
add eax, ebp
mov dword [esp + 4], eax
call fcn.00401570
test eax, eax
jne 0x401c00
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + ebx*2]
movzx eax, word [eax + ecx]
mov ecx, dword [esp + 0x18]
lea eax, [ebp + eax*4]
mov edx, dword [eax + ecx]
add edx, ebp
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 0x3c]
mov ebx, dword [ebp + eax + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
test edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
je 0x401ebf
xor edi, edi
lea esi, [ebp + eax]
jmp 0x401c7c
add edi, 1
cmp edi, dword [ebx + 0x18]
jae 0x401dc1
mov eax, dword [esi + edi*4]
mov dword [esp], str.CloseClipboard
add eax, ebp
mov dword [esp + 4], eax
call fcn.00401570
test eax, eax
jne 0x401c70
mov edx, dword [esp + 0x20]
lea eax, [ebp + edi*2]
mov ecx, dword [esp + 0x1c]
movzx eax, word [eax + edx]
lea eax, [ebp + eax*4]
mov edx, dword [eax + ecx]
mov eax, dword [ebp + 0x3c]
mov ebx, dword [ebp + eax + 0x78]
add edx, ebp
mov dword [esp + 0x24], edx
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
test ecx, ecx
je 0x401ed6
xor edi, edi
lea esi, [ebp + eax]
jmp 0x401cec
add edi, 1
cmp edi, dword [ebx + 0x18]
jae 0x401df0
mov eax, dword [esi + edi*4]
mov dword [esp], str.GetClipboardData
add eax, ebp
mov dword [esp + 4], eax
call fcn.00401570
test eax, eax
jne 0x401ce0
mov edx, dword [esp + 0x20]
lea eax, [ebp + edi*2]
mov ecx, dword [esp + 0x1c]
movzx eax, word [eax + edx]
lea eax, [ebp + eax*4]
mov edx, dword [eax + ecx]
mov eax, dword [ebp + 0x3c]
mov ebx, dword [ebp + eax + 0x78]
add edx, ebp
mov dword [esp + 0x28], edx
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
test ecx, ecx
je 0x401db0
xor edi, edi
lea esi, [ebp + eax]
jmp 0x401d58
add edi, 1
cmp edi, dword [ebx + 0x18]
jae 0x401db0
mov eax, dword [esi + edi*4]
mov dword [esp], str.IsClipboardFormatAvailable
add eax, ebp
mov dword [esp + 4], eax
call fcn.00401570
test eax, eax
jne 0x401d50
mov edx, dword [esp + 0x20]
lea eax, [ebp + edi*2]
movzx eax, word [eax + edx]
mov edx, dword [esp + 0x1c]
lea eax, [ebp + eax*4]
mov ebx, dword [eax + edx]
add ebx, ebp
mov dword [esp], 0
call dword [esp + 0x18]
sub esp, 4
test eax, eax
jne 0x401e20
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebx, ebx
jmp 0x401d8a
mov dword [esp + 0x18], 0
jmp 0x401c42
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x24], 0
mov ebx, dword [ebp + eax + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
jmp 0x401ccf
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x28], 0
mov ebx, dword [ebp + eax + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
jmp 0x401d3f
mov dword [esp], 1
call ebx
sub esp, 4
test eax, eax
jne 0x401e40
mov eax, dword [esp + 0x24]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov dword [esp], 1
call dword [esp + 0x28]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x401e30
mov dword [esp], eax
call sub.KERNEL32.dll_GlobalLock
sub esp, 4
test eax, eax
mov esi, eax
je 0x401e30
mov dword [esp], eax
call fcn.004014e0
mov edi, dword [esp + 0x2c]
add eax, 1
movzx eax, ax
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov dword [edi], eax
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
call sub.KERNEL32.dll_GlobalUnlock
sub esp, 4
jmp 0x401e30
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
xor ebx, ebx
mov dword [esp + 0x28], 0
jmp 0x401d8a
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
xor ebx, ebx
jmp 0x401d8a
mov dword [esp + 0x28], 0
xor ebx, ebx
jmp 0x401d8a