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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101eb0fc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
mov eax, dword [esi + 0xf0]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
movzx edi, ax
shr eax, 0x10
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
test al, al
je 0x10120aa9
mov eax, dword [ebp + 8]
and eax, 1
je 0x10120aa9
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x44
call ebx
push 0x45
mov dword [esp + 0x14], eax
call ebx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call edx
mov eax, edi
sub eax, dword [esp + 0x58]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x10]
jge 0x10120782
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x5c]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jl 0x10120aa9
cmp byte [esi + 0x114], 0
jne 0x10120aa9
mov eax, dword [esi + 0x10c]
xor edi, edi
cmp eax, edi
mov byte [esi + 0x114], 1
mov dword [esp + 0x18], eax
je 0x10120aa9
cmp dword [esi + 0x68], edi
je 0x10120aa9
push 0x28
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb8], edi
cmp eax, edi
je 0x101207d8
push eax
call fcn.10125630
mov dword [esp + 0x14], eax
jmp 0x101207de
mov dword [esp + 0x14], edi
mov eax, edi
mov dword [esp + 0xb8], 0xffffffff
cmp eax, edi
je 0x10120aa9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x20], eax
lea ebx, [esi + 0x30]
add esp, 4
lea eax, [esp + 0x88]
add esi, 0xb4
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], esi
call fcn.10122f10
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], esi
lea esi, [esp + 0x24]
lea edi, [esp + 0x88]
mov dword [esp + 0x28], ecx
call fcn.1003f840
test al, al
jne 0x10120aa9
mov edx, dword [esp + 0x40]
push edx
mov ecx, ebx
call fcn.10122af0
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [edi], eax
mov cx, word [esi + 0x68]
xor eax, eax
mov ebx, 1
push 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push 2
mov dword [esp + 0x50], eax
mov word [esp + 0x4c], cx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [eax], 0
mov dword [eax], edi
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x4c]
push edx
push edi
call eax
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x64]
push eax
mov ecx, esi
mov dword [esp + 0x40], 0
call edx
mov ebx, eax
test ebx, ebx
je 0x10120961
lea eax, [esp + 0x90]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x70], eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x78], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x38]
push edi
lea edx, [esp + 0x74]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0xff00ff
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x10120961
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov ecx, esi
call fcn.10122320
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push 0
mov dword [esi + 0x88], eax
push eax
mov eax, 1
mov ebx, esi
call fcn.10122740
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
push 2
push eax
push edi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov ebx, dword [esi + 0x88]
push esi
call fcn.10122440
mov ecx, dword [esi + 0x88]
push 0
push ecx
xor eax, eax
mov ebx, esi
call fcn.10122740
mov ebx, dword [esi + 0x80]
xor eax, eax
push eax
mov dword [esi + 0x88], eax
push ebx
mov eax, esi
call fcn.10122800
test eax, eax
je 0x101209e3
xor eax, eax
push eax
push ebx
mov ebx, esi
call fcn.10122740
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push 0
push 0
push 0
mov ecx, esi
mov byte [esi + 0x114], 0
call eax
call fcn.101a7380
mov esi, dword [eax + 0x20]
test esi, esi
mov dword [esp + 0x18], esi
je 0x10120a24
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esp + 0xb8], 1
test esi, esi
je 0x10120a91
mov edx, 0x1023caa4
lea eax, [esp + 0x90]
call fcn.10007690
mov bl, 2
mov byte [esp + 0xb8], bl
lea ecx, [esp + 0x90]
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x28], esp
call eax
mov byte [esp + 0xc0], 3
mov byte [esp + 0xc0], bl
call fcn.1001aeb0
add esp, 8
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x90]
call fcn.10001dd0
mov dword [esp + 0xb8], 0xffffffff
test esi, esi
je 0x10120aa9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc