Function at 0x459b120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45df935
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4612008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x9e], dl
mov ebx, ecx
test dword [ebx + 0x2c], 0x20000
je 0x459b4aa
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.045be2d0
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x14], esi
cmp byte [ebp - 0x9e], 0
mov dword [ebp - 4], esi
mov byte [ebp - 0x9d], 0
je 0x459b346
mov ecx, dword [ebx + 0x200]
lea eax, [ebp - 0xa4]
push eax
call fcn.04584cf0
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x459b346
cmp dword [esi], 0
je 0x459b346
xor edi, edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xac], edx
cmp edx, 0x7fffffff
ja 0x459b243
cmp edx, dword [ebx + 0x1ac]
jae 0x459b243
cmp ecx, 0x7fffffff
ja 0x459b243
cmp ecx, dword [ebx + 0x1b4]
jae 0x459b243
mov eax, dword [ebx + 0x1bc]
lea eax, [eax + edx*4]
mov dword [ebp - 0xa8], eax
cmp dword [eax], edi
jne 0x459b239
mov eax, dword [ebx + 0x1b8]
mov ecx, dword [ebx + 0x1c0]
shl eax, 2
push edi
push eax
call fcn.04577ef0
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 + 4]
test eax, eax
jne 0x459b293
push ecx
mov ecx, dword [ebx + 0x154]
lea eax, [ebp - 0xa8]
push edx
push eax
call fcn.0458d4f0
mov edi, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x459b282
add dword [eax + 4], 0xffffffff
jne 0x459b282
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x459b282
push eax
call fcn.045c460a
add esp, 4
mov dword [ebp - 0xa8], 0
test edi, edi
je 0x459b299
lea eax, [edi + 8]
mov eax, dword [eax]
test eax, eax
jne 0x459b29e
mov eax, 0x45f528c
test esi, esi
je 0x459b2af
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [ebp - 0xa4], edx
jmp 0x459b2c0
mov dword [ebp - 0xa4], 0
xor ecx, ecx
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x459b2e6
test dx, dx
je 0x459b2e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x459b2e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x459b2c0
xor eax, eax
jmp 0x459b2eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x459b30b
test esi, esi
je 0x459b2fb
mov eax, dword [esi + 8]
mov dword [ebp - 0x40], eax
jmp 0x459b302
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x110], 0
sete al
mov byte [ebp - 0x9d], al
mov byte [ebp - 0x9e], al
test edi, edi
je 0x459b346
add dword [edi + 4], 0xffffffff
mov byte [ebp - 0x9d], al
jne 0x459b346
push edi
call fcn.045c460a
mov al, byte [ebp - 0x9e]
add esp, 4
mov byte [ebp - 0x9d], al
push 0xfffffffffffffff8
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
push dword [ebx + 0x14]
call edi
push eax
push str.getparent_p__hwndparent_p_n
call fcn.0457b630
and dword [ebx + 0x2c], 0xffffdfff
add esp, 0xc
push dword [ebx + 0x14]
call edi
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xffffff50
mov dword [ebp - 0x54], 1
mov ecx, dword [ebx + 0x1d8]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [ebx + 0x2c], 0x2000
mov dword [ebp - 0xa4], eax
jne 0x459b424
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x459b41e
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xffffff50
mov dword [ebp - 0x54], 1
mov eax, dword [ebx + 0x1d8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [ebx + 0x2c], 0x2000
mov dword [ebp - 0xa4], eax
je 0x459b3c4
jmp 0x459b424
mov eax, dword [ebp - 0xa4]
cmp byte [ebp - 0x9d], 0
je 0x459b469
test eax, eax
je 0x459b469
test esi, esi
je 0x459b43a
mov ecx, dword [esi + 8]
jmp 0x459b43c
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x50]
mov eax, dword [ebx + 0x154]
push 0x1074
mov dword [ebp - 0x88], ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x200]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [eax + 4]
test eax, eax
je 0x459b481
push 0
push eax
call edi
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 4]
test eax, eax
je 0x459b493
push 0
push eax
call edi
or dword [ebx + 0x2c], 0x10
test esi, esi
je 0x459b4aa
add dword [esi + 4], 0xffffffff
jne 0x459b4aa
push esi
call fcn.045c460a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.045bc602
mov esp, ebp
pop ebp
ret