Function at 0x4f9370
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x63bec4]
sub esp, 0x7c
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x4fa0f8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edi
mov dword [0x63bec4], 1
mov dword [esp + 0x1c], 5
or ebx, 0xffffffff
mov eax, dword [0x645324]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edx, dword [0x645324]
je 0x4f9450
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x68], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [esp + 0x64], 2
jne 0x4fa0ef
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
sub eax, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
sub ecx, dword [esp + 0x7c]
push 0x20
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ecx
call fcn.00584cb0
mov edx, dword [esp + 0x2c]
neg eax
lea eax, [edx + eax*2]
push 0x21
mov dword [esp + 0x30], eax
call fcn.00584cb0
mov edi, dword [esp + 0x34]
shl eax, 1
push 4
sub edi, eax
call fcn.00584cb0
push 0xf
sub edi, eax
call fcn.00584cb0
add esp, 0x10
sub edi, eax
mov dword [esp + 0x2c], edi
jmp 0x4f9460
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
test eax, eax
jle 0x4fa0ef
sub edi, dword [esp + 0x24]
test edi, edi
jle 0x4fa0ef
cmp dword [0x63b690], ebp
je 0x4f9493
mov eax, 1
mov dword [0x60a270], eax
mov dword [0x60a274], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], eax
xor edi, edi
call fcn.0055eff0
call fcn.00555700
cmp dword [0x643ed8], ebp
mov ebx, dword [0x60a1f4]
je 0x4f9584
cmp dword [0x60a1f0], ebp
je 0x4f9584
test ebx, ebx
jne 0x4f9548
call fcn.0055eeb0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
sub ecx, eax
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call esi
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call esi
mov ebx, dword [0x60a1f4]
mov dword [esp + 0x10], ebx
jmp 0x4f9584
cmp ebx, 1
jne 0x4f9575
call fcn.0055eeb0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add eax, ecx
push eax
mov eax, dword [esp + 0x24]
push edx
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
jmp 0x4f9529
cmp ebx, 2
je 0x4f957f
cmp ebx, 3
jne 0x4f9584
mov ebp, 1
mov eax, dword [0x64354c]
test eax, eax
je 0x4f966e
mov eax, dword [0x60a0fc]
test eax, eax
mov eax, dword [0x643544]
je 0x4f9666
test eax, eax
mov edx, dword [0x60a0f8]
mov ecx, edx
jl 0x4f95b4
cmp eax, 0xa
jl 0x4f95bd
xor eax, eax
mov dword [0x643544], eax
jmp 0x4f95cc
test eax, eax
je 0x4f95cc
lea ecx, [eax + 1]
imul ecx, edx
lea edx, [eax + eax]
sub ecx, edx
mov edx, dword [0x60a118]
test edx, edx
jne 0x4f9612
test ebp, ebp
jne 0x4f9679
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
call esi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4f964d
cmp edx, 1
jne 0x4f9679
test ebp, ebp
jne 0x4f9679
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push edx
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call esi
mov edx, dword [0x60a118]
mov ebx, dword [0x60a1f4]
mov dword [esp + 0x14], edx
mov edi, 1
jmp 0x4f9674
mov edx, dword [0x60a118]
jmp 0x4f9679
mov edx, dword [0x60a118]
mov eax, dword [0x643544]
mov ecx, dword [0x643ed8]
test ecx, ecx
je 0x4f9719
mov ecx, dword [0x60a1f0]
test ecx, ecx
je 0x4f9719
cmp ebx, 2
jne 0x4f96c7
call fcn.0055eeb0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
add eax, ecx
push eax
push edx
push ecx
lea eax, [esp + 0x50]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x4c]
jmp 0x4f96f7
cmp ebx, 3
jne 0x4f9719
call fcn.0055eeb0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
sub ecx, eax
push ecx
lea eax, [esp + 0x50]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call esi
mov eax, dword [0x60a1f4]
mov edx, dword [0x60a118]
mov dword [esp + 0x10], eax
mov eax, dword [0x643544]
mov ecx, dword [0x644760]
test ecx, ecx
mov ebx, dword [0x60a274]
je 0x4f97ce
mov ecx, dword [0x60a270]
test ecx, ecx
je 0x4f97ce
cmp ebx, 2
jne 0x4f9776
test edi, edi
jne 0x4f97ce
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [0x60a268]
push ecx
mov ecx, dword [esp + 0x28]
add edx, eax
push edx
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
jmp 0x4f97ab
cmp ebx, 3
jne 0x4f97ce
test edi, edi
jne 0x4f97ce
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [0x60a268]
push eax
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call esi
mov ebx, dword [0x60a274]
mov eax, dword [0x643544]
mov edx, dword [0x60a118]
mov dword [esp + 0x18], ebx
mov ecx, dword [0x64354c]
test ecx, ecx
je 0x4f9927
mov ecx, dword [0x60a0fc]
test ecx, ecx
je 0x4f9927
test eax, eax
mov ecx, dword [0x60a0f8]
jl 0x4f97f9
cmp eax, 0xa
jl 0x4f9805
mov dword [0x643544], 0
jmp 0x4f9817
test eax, eax
je 0x4f9817
lea ecx, [eax + 1]
imul ecx, dword [0x60a0f8]
add eax, eax
sub ecx, eax
test edx, edx
jne 0x4f985a
test ebp, ebp
je 0x4f9927
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
call esi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4f9915
cmp edx, 1
jne 0x4f989b
test ebp, ebp
je 0x4f9927
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push edx
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push edx
jmp 0x4f9915
cmp edx, 2
jne 0x4f98da
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x60a10c]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
add ecx, eax
push ecx
push edx
push eax
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push edx
jmp 0x4f9915
cmp edx, 3
jne 0x4f9927
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
sub eax, dword [0x60a10c]
push eax
lea edx, [esp + 0x60]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call esi
mov edx, dword [0x60a118]
mov ebx, dword [0x60a274]
mov dword [esp + 0x14], edx
mov eax, dword [0x644760]
test eax, eax
je 0x4f9a6b
mov eax, dword [0x60a270]
test eax, eax
je 0x4f9a6b
test ebx, ebx
jne 0x4f9982
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, dword [0x60a26c]
push eax
push edx
sub eax, ebp
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call esi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4f9a59
cmp ebx, 1
jne 0x4f99dd
mov eax, dword [0x63b690]
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x24]
je 0x4f99ab
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
jmp 0x4f99c0
mov ecx, dword [0x60a26c]
add ecx, eax
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call esi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x4f9a59
cmp ebx, 2
jne 0x4f9a18
test edi, edi
je 0x4f9a6b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov edx, dword [0x60a268]
push ecx
mov ecx, dword [esp + 0x28]
add edx, eax
push edx
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
jmp 0x4f9a4d
cmp ebx, 3
jne 0x4f9a6b
test edi, edi
je 0x4f9a6b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [0x60a268]
push eax
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call esi
mov ebx, dword [0x60a274]
mov edx, dword [0x60a118]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
cmp ecx, eax
je 0x4f9b55
cmp dword [esp + 0x14], eax
je 0x4f9b55
mov eax, dword [0x60a1f4]
test eax, eax
jne 0x4f9ab7
cmp edx, 1
jne 0x4f9b55
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jl 0x4f9b55
sub eax, ecx
add ecx, eax
mov dword [esp + 0x44], ecx
add dword [esp + 0x4c], eax
jmp 0x4f9b55
cmp eax, 1
jne 0x4f9ae2
test edx, edx
jne 0x4f9b55
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x4f9b55
sub eax, ecx
add ecx, eax
mov dword [esp + 0x54], ecx
add dword [esp + 0x5c], eax
jmp 0x4f9b55
cmp eax, 2
jne 0x4f9b33
cmp edx, 3
jne 0x4f9b55
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jl 0x4f9b55
mov edi, dword [esp + 0x58]
sub eax, ecx
add ecx, eax
add edi, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], edi
or edi, 0xffffffff
cmp ecx, edi
je 0x4f9cbb
cmp ebx, edx
jne 0x4f9b55
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
add edi, eax
add ecx, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ecx
jmp 0x4f9b55
cmp eax, 3
jne 0x4f9b55
cmp edx, 2
jne 0x4f9b55
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x4f9b55
sub eax, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
or edi, 0xffffffff
cmp eax, edi
je 0x4f9cbb
cmp dword [esp + 0x14], edi
je 0x4f9c28
test ebx, ebx
jne 0x4f9b92
cmp edx, 1
jne 0x4f9c28
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x34]
jl 0x4f9c28
mov dword [esp + 0x34], eax
jmp 0x4f9c28
cmp ebx, 1
jne 0x4f9baf
test edx, edx
jne 0x4f9c28
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x3c], eax
jl 0x4f9c28
mov dword [esp + 0x3c], eax
jmp 0x4f9c28
cmp ebx, 2
jne 0x4f9bd9
cmp edx, 3
jne 0x4f9c28
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jl 0x4f9c28
mov edx, dword [esp + 0x58]
sub eax, ecx
add ecx, eax
add edx, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
jmp 0x4f9c01
cmp ebx, 3
jne 0x4f9c28
cmp edx, 2
jne 0x4f9c28
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jl 0x4f9c28
mov edx, dword [esp + 0x38]
sub eax, ecx
add ecx, eax
add edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
cmp dword [esp + 0x10], edi
je 0x4f9d1c
cmp dword [0x60a1f4], 3
jne 0x4f9c28
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add edx, eax
add ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x10], edi
je 0x4f9d1c
test ebx, ebx
jne 0x4f9c4f
cmp dword [0x60a1f4], 1
jne 0x4f9cbb
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x34]
jl 0x4f9cbb
mov dword [esp + 0x34], eax
jmp 0x4f9cbb
cmp ebx, 1
jne 0x4f9c6d
mov eax, dword [0x60a1f4]
test eax, eax
jne 0x4f9cbb
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x3c], eax
jl 0x4f9cbb
mov dword [esp + 0x3c], eax
jmp 0x4f9cbb
cmp ebx, 2
jne 0x4f9c95
cmp dword [0x60a1f4], 3
jne 0x4f9cbb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x4f9cbb
sub eax, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], eax
jmp 0x4f9cbb
cmp ebx, 3
jne 0x4f9cbb
cmp dword [0x60a1f4], 2
jne 0x4f9cbb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jl 0x4f9cbb
sub eax, ecx
add ecx, eax
mov dword [esp + 0x30], ecx
add dword [esp + 0x38], eax
cmp dword [esp + 0x10], edi
je 0x4f9d1c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x98
sub eax, ecx
push eax
mov eax, dword [esp + 0x48]
sub edx, eax
push edx
mov edx, dword [0x643ed8]
push ecx
push eax
push 0
push edx
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4f9d14
call fcn.0055eff0
cmp eax, 1
jne 0x4f9d14
mov eax, dword [esp + 0x1c]
dec eax
or ebx, 0xffffffff
mov dword [esp + 0x1c], eax
xor ebp, ebp
jmp 0x4f93a1
mov ebx, dword [0x60a274]
jmp 0x4f9d22
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x14], edi
je 0x4f9d7a
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
push 0x98
sub eax, edx
push eax
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
mov eax, dword [0x64354c]
push edx
push ecx
push 0
push eax
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4f9d74
call fcn.00555700
cmp eax, 1
jne 0x4f9d74
mov eax, dword [esp + 0x1c]
dec eax
or ebx, 0xffffffff
mov dword [esp + 0x1c], eax
xor ebp, ebp
jmp 0x4f93a1
mov ebx, dword [0x60a274]
cmp dword [esp + 0x10], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4f9de0
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
sub eax, ebx
push eax
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
push 0x643ee0
call fcn.00428df0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
add esp, 0xc
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x48]
sub edx, ecx
push edx
push eax
mov eax, dword [0x643ed8]
push ecx
push 0
push eax
call ebp
mov ecx, dword [0x643ed8]
push ecx
jmp 0x4f9df5
mov eax, dword [0x643ed8]
test eax, eax
je 0x4f9dfd
push 0
push eax
call edi
mov edx, dword [0x643ed8]
push edx
call esi
mov ebx, dword [0x60a274]
cmp dword [esp + 0x18], 0xffffffff
je 0x4f9ebd
xor eax, eax
xor ecx, ecx
xor edx, edx
test ebx, ebx
je 0x4f9e3e
cmp ebx, 1
jne 0x4f9e28
mov ebx, dword [0x63b690]
test ebx, ebx
jne 0x4f9e3e
mov edx, 4
jmp 0x4f9e3e
cmp ebx, 2
jne 0x4f9e34
mov ecx, 4
jmp 0x4f9e3e
cmp ebx, 3
jne 0x4f9e3e
mov eax, 4
mov ebx, dword [esp + 0x3c]
sub ebx, edx
sub ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push 0x70
sub edx, ecx
mov ecx, dword [esp + 0x34]
sub edx, eax
sub ebx, 9
push ebx
sub edx, ecx
push edx
push 9
push eax
mov eax, dword [0x644764]
push 0
push eax
call ebp
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
sub ecx, ebx
push ecx
sub edx, eax
push edx
push 0x644778
call fcn.00428df0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 0xc
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
mov eax, dword [0x644760]
push ecx
push 0
push eax
call ebp
mov ecx, dword [0x644760]
push ecx
jmp 0x4f9ed2
mov eax, dword [0x644760]
test eax, eax
je 0x4f9ed4
push 0
push eax
call edi
mov edx, dword [0x644760]
push edx
call esi
cmp dword [esp + 0x14], 0xffffffff
je 0x4f9f2e
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
sub eax, ecx
push eax
mov eax, dword [esp + 0x5c]
sub eax, edi
push eax
push 0x643558
call fcn.00428df0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add esp, 0xc
push 0x98
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x58]
sub edx, ecx
push edx
push eax
mov eax, dword [0x64354c]
push ecx
push 0
push eax
call ebp
mov ecx, dword [0x64354c]
push ecx
jmp 0x4f9f43
mov eax, dword [0x64354c]
test eax, eax
je 0x4f9f45
push 0
push eax
call edi
mov edx, dword [0x64354c]
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0x10
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [0x645328]
push ecx
push 1
push eax
call ebp
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
or edi, 0xffffffff
cmp eax, edi
je 0x4f9fa4
mov ecx, dword [0x643ed8]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call ebp
mov edx, dword [0x643ed8]
push 1
push 0
push edx
call ebx
mov eax, dword [0x643ed8]
push eax
call esi
cmp dword [esp + 0x18], edi
je 0x4f9fea
mov ecx, dword [0x644760]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call ebp
mov edx, dword [0x644760]
push 1
push 0
push edx
call ebx
mov eax, dword [0x644760]
push eax
call esi
mov ecx, dword [0x644764]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x644764]
push edx
call esi
cmp dword [esp + 0x14], edi
je 0x4fa01a
mov eax, dword [0x64354c]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ecx, dword [0x64354c]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x64354c]
push edx
call esi
mov eax, dword [0x645328]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebp, eax
test ebp, ebp
je 0x4fa072
push ebp
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4fa072
push ebp
call fcn.005827d0
mov edi, eax
add esp, 4
test edi, edi
je 0x4fa072
mov eax, dword [edi + 0x95c]
test eax, eax
je 0x4fa072
mov eax, dword [edi + 0x754]
test eax, eax
je 0x4fa067
push edi
call fcn.00481550
add esp, 4
jmp 0x4fa072
push 0
push ebp
call fcn.0041e9f0
add esp, 8
mov eax, dword [0x60f444]
test eax, eax
je 0x4fa0a7
mov ecx, dword [eax + 0x95c]
test ecx, ecx
je 0x4fa0a7
mov ecx, dword [eax]
push 1
push ecx
call fcn.0041e9f0
add esp, 8
test edi, edi
jne 0x4fa0a7
mov edx, dword [0x60f444]
mov eax, dword [edx]
push eax
call fcn.0041e870
add esp, 4
mov ecx, dword [0x645328]
push ecx
call esi
mov edx, dword [0x645324]
push 1
push 0
push edx
call ebx
mov eax, dword [0x645324]
push eax
call esi
mov ecx, dword [0x645328]
push 1
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
push eax
call fcn.004eb750
add esp, 8
pop edi
pop esi
pop ebx
mov dword [0x63bec4], 0
pop ebp
add esp, 0x7c
ret
pop edi
pop esi
mov dword [0x63bec4], ebp
pop ebx
pop ebp
add esp, 0x7c
ret