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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1010425b
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x154]
test eax, eax
je 0x100d21e5
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x100d21e5
mov ebx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], ebx
call fcn.100fbbd9
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 0xb8], 0
mov ecx, dword [edx + 4]
mov edx, dword [edx]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
sub edx, esi
mov esi, dword [esp + 0xc0]
sub ecx, ebp
mov dword [esp + 0x18], edx
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x18]
sub ecx, edx
mov edx, dword [esi + 0x14]
sub edx, ebp
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], eax
add eax, ecx
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x34]
add ebp, edx
push eax
push ecx
mov dword [esp + 0x84], ebp
call fcn.100c7a50
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
push edx
call fcn.100fbb70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x60], ecx
push edx
mov ecx, edi
mov dword [esp + 0x60], eax
call fcn.100d06a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.100fbb70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [esp + 0x64], eax
xor ebp, ebp
lea eax, [esp + 0x58]
push ebp
mov dword [esp + 0x6c], ecx
push eax
push 0x271b
mov ecx, esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call dword [edx + 0x14]
test eax, eax
je 0x100d2202
lea ecx, [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
call fcn.100fbc4b
xor eax, eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 8
call fcn.100beb50
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.100f6a7d
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x74], eax
mov ebx, dword [edx]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [edx + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x78], ecx
sub eax, ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], ebx
sub ecx, edx
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ecx
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], eax
call fcn.100fbb07
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.100f6a7d
cmp eax, edi
jne 0x100d2510
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x100d2510
push 0
push 0
lea eax, [esp + 0x8c]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x100d2503
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.100d16f0
mov edx, 1
cmp eax, edx
je 0x100d24ed
mov eax, dword [esp + 0x88]
cmp eax, 0x100
jne 0x100d22de
cmp dword [esp + 0x8c], 0x1b
je 0x100d2510
jmp 0x100d22e9
cmp eax, 0x204
je 0x100d2510
test edi, edi
jne 0x100d22f1
xor ecx, ecx
jmp 0x100d22f4
mov ecx, dword [edi + 0x1c]
cmp dword [esp + 0x84], ecx
je 0x100d2310
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x100d24ed
sub eax, 0x200
je 0x100d233c
sub eax, 2
je 0x100d232f
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x100d24ed
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edx
jmp 0x100d24ed
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100d2362
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.100d14c0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [eax]
sub ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 4]
lea eax, [esp + 0x6c]
sub edx, ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], edx
call fcn.100fbb70
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
sub ecx, ebx
sub edx, ebp
add eax, ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov dword [esp + 0xa8], eax
lea edx, [esp + 0xa0]
lea eax, [esp + 0x34]
add ecx, ebp
push edx
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb4], ecx
call fcn.100c7a50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x18], edx
call fcn.100fbb70
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], ecx
push eax
mov ecx, edi
mov dword [esp + 0x64], edx
call fcn.100d06a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], edx
call fcn.100fbb70
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x58]
push ecx
push edx
push 0x271d
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [edi + 0x154]
mov dword [eax + 8], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub eax, ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], eax
sub ecx, edx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100fbb07
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + eax]
lea eax, [edx + ebp]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x24], ecx
je 0x100d24ed
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.100d14c0
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.100f6a7d
cmp eax, edi
je 0x100d227c
jmp 0x100d2510
mov eax, dword [esp + 0x8c]
push eax
call fcn.100ffe0d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100d253c
lea ecx, [esp + 0x24]
push esi
push ecx
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, edi
call fcn.100d14c0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov edi, dword [esp + 0x4c]
mov edx, dword [esi]
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push edi
push 0x271c
call dword [edx + 0x14]
lea ecx, [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
call fcn.100fbc4b
mov eax, edi
jmp 0x100d21e7