Function at 0x483740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64c5a0
push eax
mov dword fs:[0], esp
sub esp, 0x48
test byte [ebp + 8], 1
push ebx
push esi
push edi
mov esi, ecx
jne 0x483779
cmp dword [esi + 0x64], 0
je 0x483772
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x64], 0
cmp dword [esi + 0x68], 0
jne 0x4837a4
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x24]
push ecx
mov dword [esi + 0x68], 1
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
cmp dword [esi + 0x64], 0
je 0x4838e0
cmp dword [esi + 0x6c], 0
je 0x4837d0
push 0
mov ecx, esi
call fcn.0047d5b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
or edi, 0xffffffff
cmp dword [esi + 0x100], edi
je 0x483823
mov eax, dword [esi + 0xac]
lea ebx, [eax - 4]
cmp edx, ebx
jl 0x483809
add eax, 4
cmp edx, eax
jg 0x483809
mov eax, dword [esi + 0xb0]
lea ebx, [eax - 4]
cmp ecx, ebx
jl 0x483809
add eax, 4
cmp ecx, eax
jle 0x483823
mov ecx, esi
call fcn.0047a5d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0xac]
lea ebx, [eax - 3]
cmp edx, ebx
jl 0x48384b
add eax, 3
cmp edx, eax
jg 0x48384b
mov eax, dword [esi + 0xb0]
lea ebx, [eax - 3]
cmp ecx, ebx
jl 0x48384b
add eax, 3
cmp ecx, eax
jle 0x48389a
cmp dword [esi + 0x70], 0
jne 0x4838c0
cmp dword [esi + 0x94], 0
je 0x4838c0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
mov ecx, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00478dd0
test eax, eax
je 0x483894
mov edi, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.00478b50
test eax, eax
jne 0x483894
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push edi
mov ecx, esi
call fcn.00482dc0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [esi + 0x7c], 0
je 0x483daf
push ecx
push edx
mov ecx, esi
call fcn.0047c6d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x74], 0
jne 0x4838d9
cmp dword [esi + 0x9c], 0
jne 0x4838d9
mov eax, 1
mov dword [esi + 0x7c], eax
jmp 0x48389a
xor eax, eax
mov dword [esi + 0x7c], eax
jmp 0x48389a
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
mov ecx, esi
mov dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x14], 0
call fcn.00476250
cmp dword [esi + 0x58], 0
mov edi, dword [ebp + 8]
mov ebx, eax
je 0x483936
cmp dword [esi + 0x1a0], 0
je 0x483936
test ebx, ebx
je 0x483a47
cmp dword [esi + 0x104], edi
je 0x48393e
mov ecx, esi
mov dword [esi + 0x104], edi
call fcn.00477a30
test ebx, ebx
je 0x483a61
or eax, 0xffffffff
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x483961
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
xor ebx, ebx
test eax, eax
je 0x483982
mov edx, dword [esi + 0x214]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x30]
mov dword [ebp + 8], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 4
cmp edi, ebx
jl 0x483a20
cmp edi, dword [esi + 0x380]
jge 0x483a20
imul edi, edi, 0x2c
add edi, dword [esi + 0x37c]
lea ecx, [ebp - 0x50]
push edi
call fcn.004078d0
mov ecx, dword [edi + 4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [edi + 8]
mov dword [ebp - 0x48], edx
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x44], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x40], ecx
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x34], ecx
add edi, 0x20
push edi
lea ecx, [ebp - 0x30]
call fcn.00472a10
cmp dword [ebp - 0x48], ebx
jne 0x483a20
test byte [ebp - 0x14], 1
je 0x483a20
mov esi, dword [esi + 0x1a8]
push esi
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 5
mov dword [ebp - 4], eax
lea edx, [ebp - 0x30]
mov dword [ebp + 8], edx
mov byte [ebp - 4], al
mov ecx, edx
call fcn.00470ea0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
jmp 0x483d93
or ebx, 0xffffffff
cmp dword [esi + 0x104], ebx
je 0x483a64
mov ecx, esi
mov dword [esi + 0x104], ebx
call fcn.00477a30
jmp 0x483a64
or ebx, 0xffffffff
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
call fcn.00478dd0
test eax, eax
jne 0x483ba7
cmp dword [esi + 0xe0], ebx
je 0x483ae1
mov eax, dword [esi + 0xe4]
cmp eax, ebx
je 0x483ae1
push eax
mov ecx, esi
call fcn.00479f40
mov edx, dword [esi + 0xe0]
mov edi, eax
push edi
push edx
mov ecx, esi
call fcn.0047e740
cmp eax, 6
jne 0x483ae1
mov eax, dword [esi + 0xe0]
push edi
push eax
mov ecx, esi
call fcn.0047e640
test al, 8
jne 0x483ae1
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe0]
push ecx
push edx
mov ecx, esi
call fcn.0047c670
mov eax, dword [esi + 0x1d4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x401
push eax
call edi
push 0x30
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.006100a0
mov edx, dword [esi + 4]
mov ecx, dword [0x716738]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x54]
push edx
push eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1d4]
push 0x433
push eax
mov dword [ebp - 0x54], 0x30
mov dword [ebp - 0x48], 0x3e8
mov dword [ebp - 0x34], ecx
call edi
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x483b70
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x214]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483daf
mov edx, dword [esi + 0x214]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [esi + 0xe0]
jne 0x483bbd
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0xe4]
je 0x483c18
mov ecx, dword [esi + 0xe4]
push ecx
mov ecx, esi
call fcn.00479f40
mov edx, dword [esi + 0xe0]
mov edi, eax
push edi
push edx
mov ecx, esi
call fcn.0047e740
cmp eax, 6
jne 0x483c09
mov eax, dword [esi + 0xe0]
push edi
push eax
mov ecx, esi
call fcn.0047e640
test al, 8
jne 0x483c09
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe0]
push ecx
push edx
mov ecx, esi
call fcn.0047c670
mov eax, dword [ebp + 8]
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], eax
mov ecx, dword [esi + 0xe4]
push ecx
mov ecx, esi
call fcn.00479f40
mov edx, dword [esi + 0xe0]
mov edi, eax
push edi
push edx
mov ecx, esi
call fcn.0047e740
mov ebx, eax
mov eax, dword [esi + 0xe0]
push edi
push eax
mov ecx, esi
call fcn.0047e640
cmp ebx, 6
jne 0x483c73
test al, 8
jne 0x483c73
mov ecx, dword [esi + 0xe4]
mov edx, dword [esi + 0xe0]
push ecx
push edx
mov ecx, esi
call fcn.0047c670
mov eax, dword [esi + 0x1ac]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esi + 0xe0]
push edi
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0047e160
mov ebx, 9
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x483d09
mov eax, dword [esi + 0xe0]
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0047b9f0
test eax, eax
je 0x483d09
mov edx, dword [esi + 0x1d4]
push 0
push 1
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x7fff
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00414520
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push 0x3e8
lea ecx, [ebp - 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], esp
push edx
lea ecx, [esi + 0x1d4]
call fcn.00418880
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.004014a0
jmp 0x483d6c
mov eax, dword [esi + 0x1d4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x401
push eax
call edi
mov ebx, dword [esi + 4]
push 0x30
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.006100a0
mov edx, dword [0x716738]
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
mov dword [ebp - 0x34], edx
mov edx, dword [esi + 0x1d4]
push 0x433
push edx
mov dword [ebp - 0x54], 0x30
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0x3e8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call edi
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0047fe70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483daf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc