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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 6
push ebx
push esi
push edi
jne 0x277e3f7f
and dword [ebp + 0x14], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
movsx edi, ax
sub edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
shr eax, 0x10
movsx ebx, ax
sub ebx, dword [ebp - 0xc]
push esi
movzx ecx, di
movzx eax, bx
shl eax, 0x10
or eax, ecx
mov dword [ebp + 0x10], eax
call fcn.277e454c
mov dword [ebp + 8], eax
and eax, 3
cmp al, 3
je 0x277e408f
xor eax, eax
cmp dword [ebp + 0x14], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], eax
je 0x277e3f91
mov dword [esi + 0x7c], 1
mov dword [esi + 0x80], eax
push dword [ebp + 0x14]
push esi
call fcn.277e4c76
cmp dword [ebp + 0x14], 0
lea ecx, [esi + 0x8c]
mov dword [esi + 0x68], fcn.277e3bff
mov dword [esi + 0x78], 1
lea eax, [ecx + 4]
jne 0x277e3f16
mov ecx, eax
sub eax, 4
mov edx, dword [esi + 0x30]
mov dword [ecx], edx
mov edx, dword [esi + 0x44]
mov dword [eax], edx
mov edx, dword [esi + 0x38]
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x28]
xor edx, edx
mov dword [eax + 8], ecx
cmp dword [ebp + 0x14], edx
je 0x277e3f35
mov edi, ebx
mov ebx, dword [esi + 0x48]
mov dword [esi + 0x1c], edi
cmp edi, ebx
jge 0x277e3fa3
test byte [ebp + 8], 1
jne 0x277e3fb0
mov dword [esi + 0x58], edx
mov dword [eax + 8], ebx
cmp dword [esi + 0x58], 4
je 0x277e3f74
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
mov dword [esi + 0x74], eax
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0xac]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 0x10]
push esi
call fcn.277e3d73
jmp 0x277e3fb6
cmp dword [ebp + 0x14], 7
jne 0x277e3fb6
mov dword [ebp + 0x14], 1
jmp 0x277e3e80
mov dword [esi + 0x80], 1
mov dword [esi + 0x7c], eax
jmp 0x277e3eeb
mov ecx, dword [esi + 0x2c]
cmp edi, ecx
jl 0x277e3fc8
test byte [ebp + 8], 2
je 0x277e3fbd
mov dword [esi + 0x68], edx
mov dword [esi + 0x78], edx
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [esi + 0x58], 1
mov dword [eax], ecx
jmp 0x277e3f4b
cmp edi, dword [esi + 0x40]
jge 0x277e3fe1
mov dword [esi + 0x58], 2
mov dword [eax], ebx
mov ecx, dword [esi + 0x40]
mov dword [eax + 8], ecx
jmp 0x277e3f4b
mov edx, dword [esi + 0x3c]
cmp edi, edx
jge 0x277e40cf
sub ecx, ebx
cmp ecx, dword [esi + 0x4c]
jle 0x277e408f
mov eax, dword [ebp + 0x14]
lea edi, [esi + 0xac]
mov dword [esi + 0x74], eax
lea eax, [esi + 0x8c]
push eax
push edi
mov dword [esi + 0x58], 4
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x277e409c
mov eax, dword [esi + 0x18]
shl eax, 1
push eax
mov eax, dword [esi + 0xb4]
sub eax, dword [edi]
shl eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x40]
mov dword [esi + 0x68], 0x277e3cdc
test ebx, ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], eax
je 0x277e40b3
mov ecx, dword [esi + 0x110]
sub eax, dword [esi + 0x1c]
push dword [ebp + 0xc]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0x5c]
test ebx, ebx
je 0x277e40bb
mov dword [esi + 0x110], eax
push ebx
push eax
push 5
push dword [ebp + 0xc]
call fcn.277e3af8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x277e40c3
and dword [esi + 0x68], 0
and dword [esi + 0x78], 0
jmp 0x277e3fb6
mov eax, dword [esi + 0xb8]
sub eax, dword [esi + 0xb0]
shl eax, 1
push eax
mov eax, dword [esi + 0xc]
jmp 0x277e402d
mov ecx, dword [esi + 0x100]
jmp 0x277e4051
mov dword [esi + 0x100], eax
jmp 0x277e4076
push ebx
push esi
call fcn.277e4d02
jmp 0x277e3f4b
mov dword [esi + 0x58], 3
mov dword [eax], edx
mov ecx, dword [esi + 0x2c]
jmp 0x277e3fd9